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:
Bas Nieuwenhuizen 2021-10-25 23:46:12 +02:00 committed by Marge Bot
parent bbd091d1fa
commit 5db098c98b
1 changed files with 1 additions and 1 deletions

View File

@ -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)