mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 15:50:17 +01:00
intel: set compact_arrays in compiler options
Acked-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28601>
This commit is contained in:
parent
d694c1b094
commit
39b66f9c84
2 changed files with 2 additions and 0 deletions
|
|
@ -31,6 +31,7 @@
|
|||
|
||||
const struct nir_shader_compiler_options brw_scalar_nir_options = {
|
||||
.avoid_ternary_with_two_constants = true,
|
||||
.compact_arrays = true,
|
||||
.divergence_analysis_options =
|
||||
(nir_divergence_single_patch_per_tcs_subgroup |
|
||||
nir_divergence_single_patch_per_tes_subgroup |
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
#include "elk_nir_options.h"
|
||||
|
||||
#define COMMON_OPTIONS \
|
||||
.compact_arrays = true, \
|
||||
.has_uclz = true, \
|
||||
.lower_fdiv = true, \
|
||||
.lower_scmp = true, \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue