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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user