summaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_compiler.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2019-10-07 22:46:00 -0400
committerMarek Olšák <[email protected]>2019-10-10 15:49:18 -0400
commitcebc38ff602c662851b601bc7a48a7fad2700aff (patch)
tree3cb57aee8911f8187b7c5190002cda5087eedf3f /src/intel/compiler/brw_compiler.c
parent7fc59197937cceb5670b36f5304d942c26be3f18 (diff)
nir: add nir_shader_compiler_options::lower_to_scalar
This will replace PIPE_SHADER_CAP_SCALAR_ISA. Reviewed-by: Timothy Arceri <[email protected]> Reviewed-by: Christian Gmeiner <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_compiler.c')
-rw-r--r--src/intel/compiler/brw_compiler.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_compiler.c b/src/intel/compiler/brw_compiler.c
index c04264cba32..20660d6fb28 100644
--- a/src/intel/compiler/brw_compiler.c
+++ b/src/intel/compiler/brw_compiler.c
@@ -50,6 +50,7 @@
.lower_base_vertex = true
#define COMMON_SCALAR_OPTIONS \
+ .lower_to_scalar = true, \
.lower_pack_half_2x16 = true, \
.lower_pack_snorm_2x16 = true, \
.lower_pack_snorm_4x8 = true, \