mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
aco: set opsel_hi to 1 for WMMA
This is ignored by the hardware but LLVM requires it to disassemble GFX12 WMMA. Cc: mesa-stable Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34396>
This commit is contained in:
parent
5f3a3740dc
commit
b0c8f31600
1 changed files with 1 additions and 1 deletions
|
|
@ -7991,7 +7991,7 @@ visit_cmat_muladd(isel_context* ctx, nir_intrinsic_instr* instr)
|
|||
Operand B(as_vgpr(ctx, get_ssa_temp(ctx, instr->src[1].ssa)));
|
||||
Operand C(as_vgpr(ctx, get_ssa_temp(ctx, instr->src[2].ssa)));
|
||||
|
||||
VALU_instruction& vop3p = bld.vop3p(opcode, Definition(dst), A, B, C, 0, 0)->valu();
|
||||
VALU_instruction& vop3p = bld.vop3p(opcode, Definition(dst), A, B, C, 0, 0x7)->valu();
|
||||
vop3p.neg_lo[0] = (signed_mask & 0x1) != 0;
|
||||
vop3p.neg_lo[1] = (signed_mask & 0x2) != 0;
|
||||
vop3p.clamp = clamp;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue