aco: Remove useless sub-expr.
../src/amd/compiler/aco_instruction_selection.cpp:11915:83: error: expression result unused [-Werror,-Wunused-value] bld.vop2(aco_opcode::v_lshrrev_b32, fetch_index_def, div_info, instance_id).instr; Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13164>
This commit is contained in:
parent
bbd091d1fa
commit
5db098c98b
|
@ -11912,7 +11912,7 @@ calc_nontrivial_instance_id(Builder& bld, const struct radv_shader_args* args, u
|
|||
div_info = Operand(tmp_vgpr1, v1);
|
||||
}
|
||||
|
||||
bld.vop2(aco_opcode::v_lshrrev_b32, fetch_index_def, div_info, instance_id).instr;
|
||||
bld.vop2(aco_opcode::v_lshrrev_b32, fetch_index_def, div_info, instance_id);
|
||||
|
||||
Instruction* instr;
|
||||
if (bld.program->chip_class >= GFX9)
|
||||
|
|
Loading…
Reference in New Issue