mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
aco: fix inserting expcnt for MIMG on GFX6
MIMG VDATA has moved to its own operand.
Fixes: 962c917cea ("aco: move MIMG VDATA to its own operand")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8435>
This commit is contained in:
parent
06ea5f49fa
commit
c24d6916e6
1 changed files with 2 additions and 2 deletions
|
|
@ -831,10 +831,10 @@ void gen(Instruction* instr, wait_ctx& ctx)
|
|||
insert_wait_entry(ctx, instr->operands[3], event_vmem_gpr_lock);
|
||||
} else if (ctx.chip_class == GFX6 &&
|
||||
instr->format == Format::MIMG &&
|
||||
instr->operands[1].regClass().type() == RegType::vgpr) {
|
||||
instr->operands.size() >= 4) {
|
||||
ctx.exp_cnt++;
|
||||
update_counters(ctx, event_vmem_gpr_lock);
|
||||
insert_wait_entry(ctx, instr->operands[1], event_vmem_gpr_lock);
|
||||
insert_wait_entry(ctx, instr->operands[3], event_vmem_gpr_lock);
|
||||
}
|
||||
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue