summaryrefslogtreecommitdiffstats
path: root/src/broadcom
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/broadcom
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/broadcom')
-rw-r--r--src/broadcom/compiler/nir_to_vir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/broadcom/compiler/nir_to_vir.c b/src/broadcom/compiler/nir_to_vir.c
index b640dcc341b..a982778f8b1 100644
--- a/src/broadcom/compiler/nir_to_vir.c
+++ b/src/broadcom/compiler/nir_to_vir.c
@@ -2668,6 +2668,7 @@ const nir_shader_compiler_options v3d_nir_options = {
.lower_mul_high = true,
.lower_wpos_pntc = true,
.lower_rotate = true,
+ .lower_to_scalar = true,
};
/**