mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02: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") (cherry picked from commit5e4a7d01fe) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40359>
This commit is contained in:
parent
d78e309e4d
commit
1f89a0fb96
2 changed files with 3 additions and 1 deletions
|
|
@ -144,7 +144,7 @@
|
|||
"description": "ir3: don't predicate vote_all/vote_any",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "39088571f08ae0b8dee1cf51bf590df5c23962bf",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -4511,6 +4511,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