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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user