mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-02 08:50:24 +01: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>
(cherry picked from commit b0c8f31600)
This commit is contained in:
parent
6f9e010794
commit
d3285fe971
2 changed files with 2 additions and 2 deletions
|
|
@ -464,7 +464,7 @@
|
|||
"description": "aco: set opsel_hi to 1 for WMMA",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -7959,7 +7959,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