mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-19 04:08:25 +02:00
aco/assembler: fix MTBUF opcode encoding on GFX11
We have accidentally set the tfe bit for some opcodes.
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29692>
(cherry picked from commit 14f4906e53)
This commit is contained in:
parent
65ba289754
commit
8a2842291d
2 changed files with 2 additions and 2 deletions
|
|
@ -3174,7 +3174,7 @@
|
|||
"description": "aco/assembler: fix MTBUF opcode encoding on GFX11",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -611,7 +611,7 @@ emit_mtbuf_instruction(asm_context& ctx, std::vector<uint32_t>& out, Instruction
|
|||
encoding |= reg(ctx, instr->definitions[0], 8) << 8;
|
||||
encoding |= reg(ctx, instr->operands[1], 8);
|
||||
|
||||
if (ctx.gfx_level >= GFX10) {
|
||||
if (ctx.gfx_level >= GFX10 && ctx.gfx_level < GFX11) {
|
||||
encoding |= (((opcode & 0x08) >> 3) << 21); /* MSB of 4-bit OPCODE */
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue