agx: Fix 32-bit bitwise shifts
Fixes dEQP-GLES2.functional.shaders.functions.qualifiers.const_int_fragment
Fixes: e50bae00f4
("agx: Add 32-bit bitwise shifts")
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11718>
This commit is contained in:

committed by
Marge Bot

parent
8ea262f508
commit
c99dfe6a0c
@@ -536,7 +536,7 @@ agx_emit_alu(agx_builder *b, nir_alu_instr *instr)
|
||||
case nir_op_ineg: return agx_iadd_to(b, dst, agx_zero(), agx_neg(s0), 0);
|
||||
case nir_op_imul: return agx_imad_to(b, dst, s0, s1, agx_zero(), 0);
|
||||
|
||||
case nir_op_ishl: return agx_bfi_to(b, dst, s0, agx_zero(), s1, 0);
|
||||
case nir_op_ishl: return agx_bfi_to(b, dst, agx_zero(), s0, s1, 0);
|
||||
case nir_op_ushr: return agx_bfeil_to(b, dst, agx_zero(), s0, s1, 0);
|
||||
case nir_op_ishr: return agx_asr_to(b, dst, s0, s1);
|
||||
|
||||
|
Reference in New Issue
Block a user