mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-13 21:50:31 +01:00
ir3: don't predicate vote_all/vote_any
These get lowered to control flow which isn't allowed inside predicated
blocks.
Signed-off-by: Job Noorman <jnoorman@igalia.com>
Fixes: 39088571f0 ("ir3: add support for predication")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40345>
This commit is contained in:
parent
f88e8b778d
commit
5e4a7d01fe
1 changed files with 2 additions and 0 deletions
|
|
@ -4658,6 +4658,8 @@ instr_can_be_predicated(nir_instr *instr)
|
|||
case nir_intrinsic_demote_if:
|
||||
case nir_intrinsic_terminate:
|
||||
case nir_intrinsic_terminate_if:
|
||||
case nir_intrinsic_vote_all:
|
||||
case nir_intrinsic_vote_any:
|
||||
return false;
|
||||
default:
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue