summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4
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/gallium/drivers/vc4
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/gallium/drivers/vc4')
-rw-r--r--src/gallium/drivers/vc4/vc4_program.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_program.c b/src/gallium/drivers/vc4/vc4_program.c
index 7d88444c673..79edc6b1c2f 100644
--- a/src/gallium/drivers/vc4/vc4_program.c
+++ b/src/gallium/drivers/vc4/vc4_program.c
@@ -2191,6 +2191,7 @@ static const nir_shader_compiler_options nir_options = {
.lower_ldexp = true,
.lower_negate = true,
.lower_rotate = true,
+ .lower_to_scalar = true,
.max_unroll_iterations = 32,
};