mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 17:30:20 +01:00
aco/insert_NOPs: allow WMMA with constant C matrix
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
c3964e87f8
commit
4fa3fb87c7
1 changed files with 2 additions and 1 deletions
|
|
@ -1688,7 +1688,8 @@ handle_instruction_gfx11(State& state, NOP_ctx_gfx11& ctx, aco_ptr<Instruction>&
|
|||
|
||||
/* WMMA Hazards */
|
||||
if (instr_info.classes[(int)instr->opcode] == instr_class::wmma) {
|
||||
assert(instr->operands.back().regClass() == instr->definitions[0].regClass());
|
||||
assert(instr->operands.back().isConstant() ||
|
||||
instr->operands.back().regClass() == instr->definitions[0].regClass());
|
||||
|
||||
bool is_swmma = instr->operands.size() == 4;
|
||||
if (test_vgpr_bitset(ctx.vgpr_written_by_wmma, instr->operands[0]) ||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue