aco: use lm for carry out in vsub32

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26163>
This commit is contained in:
Georg Lehmann 2023-11-10 15:21:29 +01:00 committed by Marge Bot
parent 9acd9c0100
commit 18f6c2328f

View file

@ -497,7 +497,7 @@ public:
aco_opcode op;
Temp carry;
if (carry_out) {
carry = tmp(s2);
carry = tmp(lm);
if (borrow.op.isUndefined())
op = reverse ? aco_opcode::v_subrev_co_u32 : aco_opcode::v_sub_co_u32;
else