mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 11:00:11 +01:00
nir/gce: pin call instructions
Signed-off-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16202>
This commit is contained in:
parent
ad34d81c48
commit
9ff04985b9
1 changed files with 4 additions and 0 deletions
|
|
@ -381,6 +381,10 @@ gcm_pin_instructions(nir_function_impl *impl, struct gcm_state *state)
|
|||
pin_intrinsic(nir_instr_as_intrinsic(instr));
|
||||
break;
|
||||
|
||||
case nir_instr_type_call:
|
||||
instr->pass_flags = GCM_INSTR_PINNED;
|
||||
break;
|
||||
|
||||
case nir_instr_type_jump:
|
||||
case nir_instr_type_ssa_undef:
|
||||
case nir_instr_type_phi:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue