aco/ir: fix copy paste bug in convert_to_SDWA

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Fixes: 60cd3ba39f ("aco: copy abs/neg with assignment")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22154>
This commit is contained in:
Georg Lehmann
2023-03-27 23:32:54 +02:00
committed by Marge Bot
parent 1979e551a8
commit ed03696ed9
+1 -1
View File
@@ -305,7 +305,7 @@ convert_to_SDWA(amd_gfx_level gfx_level, aco_ptr<Instruction>& instr)
if (tmp->isVOP3()) {
VALU_instruction& vop3 = tmp->valu();
sdwa.neg = vop3.neg;
sdwa.abs = vop3.neg;
sdwa.abs = vop3.abs;
sdwa.omod = vop3.omod;
sdwa.clamp = vop3.clamp;
}