mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
ir3: Fix incorrect use of predicated ifs on getlast.
The getlast lowering will generate new branches, violating the assumptions of prede_sched(). Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38666>
This commit is contained in:
parent
435db6fabe
commit
a35f26a983
1 changed files with 1 additions and 0 deletions
|
|
@ -4487,6 +4487,7 @@ instr_can_be_predicated(nir_instr *instr)
|
|||
case nir_intrinsic_ballot:
|
||||
case nir_intrinsic_elect:
|
||||
case nir_intrinsic_elect_any_ir3:
|
||||
case nir_intrinsic_read_getlast_ir3:
|
||||
case nir_intrinsic_read_invocation_cond_ir3:
|
||||
case nir_intrinsic_demote:
|
||||
case nir_intrinsic_demote_if:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue