mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
nir/opt_preamble: Consider load_preamble as movable
It's kosher to get load_preamble intrinsics ahead of time if the driver is pushing sysvals. Handle them like load_uniform. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Acked-by-(with-sparkles): Asahi Lina <lina@asahilina.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20562>
This commit is contained in:
parent
05d3238692
commit
b0b5a71c74
1 changed files with 1 additions and 0 deletions
|
|
@ -180,6 +180,7 @@ can_move_intrinsic(nir_intrinsic_instr *instr, opt_preamble_ctx *ctx)
|
|||
case nir_intrinsic_load_deref:
|
||||
case nir_intrinsic_load_global_constant:
|
||||
case nir_intrinsic_load_uniform:
|
||||
case nir_intrinsic_load_preamble:
|
||||
case nir_intrinsic_load_constant:
|
||||
case nir_intrinsic_load_sample_pos_from_id:
|
||||
case nir_intrinsic_load_kernel_input:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue