nir: add compact_arrays to nir_shader_compiler_options

this is used to inform passes about semantics for compact array builtins

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28554>
This commit is contained in:
Mike Blumenkrantz
2024-04-03 13:46:38 -04:00
committed by Marge Bot
parent 6e2c3a70d3
commit 843614f45a

View File

@@ -4106,6 +4106,9 @@ typedef struct nir_shader_compiler_options {
/** Lower VARYING_SLOT_LAYER in FS to SYSTEM_VALUE_LAYER_ID. */
bool lower_layer_fs_input_to_sysval;
/** clip/cull distance and tess level arrays use compact semantics */
bool compact_arrays;
/** Options determining lowering and behavior of inputs and outputs. */
nir_io_options io_options;