mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
aco: consider s_cbranch_exec* instructions in needs_exec_mask()
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32477>
This commit is contained in:
parent
de1e38e214
commit
eecdb45d61
1 changed files with 2 additions and 1 deletions
|
|
@ -854,7 +854,8 @@ needs_exec_mask(const Instruction* instr)
|
|||
return true;
|
||||
|
||||
if (instr->isSALU() || instr->isBranch() || instr->isSMEM() || instr->isBarrier())
|
||||
return instr->reads_exec();
|
||||
return instr->opcode == aco_opcode::s_cbranch_execz ||
|
||||
instr->opcode == aco_opcode::s_cbranch_execnz || instr->reads_exec();
|
||||
|
||||
if (instr->isPseudo()) {
|
||||
switch (instr->opcode) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue