summaryrefslogtreecommitdiffstats
path: root/src/compiler
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/compiler
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/compiler')
-rw-r--r--src/compiler/nir/nir.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h
index 90b91390a64..960184b7f3c 100644
--- a/src/compiler/nir/nir.h
+++ b/src/compiler/nir/nir.h
@@ -2736,6 +2736,7 @@ typedef struct nir_shader_compiler_options {
* for IO purposes and would prefer loads/stores be vectorized.
*/
bool vectorize_io;
+ bool lower_to_scalar;
/**
* Should nir_lower_io() create load_interpolated_input intrinsics?