mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 11:30:21 +01:00
aco/insert_exec: reset top exec for p_discard_if
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12363
Fixes: 31f62a6123 ("aco/insert_exec: don't always reset top exec")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32830>
This commit is contained in:
parent
1fc82ee558
commit
272ff275fa
1 changed files with 1 additions and 0 deletions
|
|
@ -469,6 +469,7 @@ process_instructions(exec_ctx& ctx, Block* block, std::vector<aco_ptr<Instructio
|
|||
instr->operands[0] = bld.scc(exit_cond);
|
||||
}
|
||||
|
||||
info.exec.back().op = Operand(exec, bld.lm);
|
||||
instr->opcode = aco_opcode::p_exit_early_if_not;
|
||||
assert(!ctx.handle_wqm || (info.exec[0].type & mask_type_wqm) == 0);
|
||||
} else if (instr->opcode == aco_opcode::p_is_helper) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue