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:

committed by
Marge Bot

parent
6e2c3a70d3
commit
843614f45a
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user