mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 01:50:10 +01:00
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:
parent
6e2c3a70d3
commit
843614f45a
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue