aco: Fix VOP2 instruction format in visit_tex.
authorTimur Kristóf <timur.kristof@gmail.com>
Wed, 13 Apr 2022 12:11:18 +0000 (14:11 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 13 Apr 2022 13:06:49 +0000 (13:06 +0000)
commitb874a2ed61b056fd69fc2aa4cbf2291d95177b23
tree407ddfcd7869d45a6b674f4835f1e6bb4376eaa6
parent581035b3a9db28cfcd2fac3e1ed1bae259c61fed
aco: Fix VOP2 instruction format in visit_tex.

There was a v_or_b32 that accidentally used SOP2.
It should use VOP2.

Issue found by looking at a gfxreconstruct trace posted by a user
in this bug: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5838

Cc: mesa-stable
Fixes: 93c8ebfa780ebd1495095e794731881aef29e7d3 "aco: Initial commit of independent AMD compiler"

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15923>
src/amd/compiler/aco_instruction_selection.cpp