mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
aco: fix non constant 16bit bitnz/bitz
Fixes: 573e98f34a ("aco: implement nir_op_bitz/bitnz")
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24420>
This commit is contained in:
parent
12a4f2c132
commit
82920c99a5
1 changed files with 1 additions and 1 deletions
|
|
@ -3790,7 +3790,7 @@ visit_alu_instr(isel_context* ctx, nir_alu_instr* instr)
|
|||
else
|
||||
res = bld.vop3(aco_opcode::v_lshlrev_b16_e64, bld.def(v2b), src1, Operand::c32(1));
|
||||
|
||||
res = bld.vop2(aco_opcode::v_and_b32, bld.def(v2b), src0, src1);
|
||||
res = bld.vop2(aco_opcode::v_and_b32, bld.def(v2b), src0, res);
|
||||
} else if (instr->src[0].src.ssa->bit_size == 32) {
|
||||
res = bld.vop3(aco_opcode::v_bfe_u32, bld.def(v1), src0, src1, Operand::c32(1));
|
||||
} else if (instr->src[0].src.ssa->bit_size == 64) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue