mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 10:20:09 +01:00
nir/opt_preamble: Move load_texture_base_agx
nir_opt_preamble will be crucial to optimize out the lowering for array textures on AGX, which involves this AGX-specific sysval. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Acked-by: Connor Abbott <cwabbott0@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18813>
This commit is contained in:
parent
ba551d293f
commit
80de33cf6a
1 changed files with 1 additions and 0 deletions
|
|
@ -149,6 +149,7 @@ can_move_intrinsic(nir_intrinsic_instr *instr, opt_preamble_ctx *ctx)
|
|||
case nir_intrinsic_load_cull_small_primitives_enabled_amd:
|
||||
case nir_intrinsic_load_cull_any_enabled_amd:
|
||||
case nir_intrinsic_load_cull_small_prim_precision_amd:
|
||||
case nir_intrinsic_load_texture_base_agx:
|
||||
return true;
|
||||
|
||||
/* Intrinsics which can be moved depending on hardware */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue