amd/compiler: Fixes warning [-Wunused-variable] in test_to_hw_instr.cpp
Warning message: ../src/amd/compiler/tests/test_to_hw_instr.cpp:793:12: warning: unused variable 'reg_s1' [-Wunused-variable] Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18205>
This commit is contained in:
@@ -790,7 +790,6 @@ BEGIN_TEST(to_hw_instr.copy_linear_vgpr_scc)
|
||||
return;
|
||||
|
||||
PhysReg reg_s0{0};
|
||||
PhysReg reg_s1{1};
|
||||
PhysReg v0_lo{256};
|
||||
PhysReg v0_b3{256};
|
||||
v0_b3.reg_b += 3;
|
||||
|
||||
Reference in New Issue
Block a user