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:
Georg Lehmann 2025-01-02 12:27:11 +01:00 committed by Marge Bot
parent 1fc82ee558
commit 272ff275fa

View file

@ -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) {