summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nouveau/nv50/nv50_screen.c
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2019-10-07 22:46:00 -0400
committerMarek Olšák <marek.olsak@amd.com>2019-10-10 15:49:18 -0400
commitcebc38ff602c662851b601bc7a48a7fad2700aff (patch)
tree3cb57aee8911f8187b7c5190002cda5087eedf3f /src/gallium/drivers/nouveau/nv50/nv50_screen.c
parent7fc59197937cceb5670b36f5304d942c26be3f18 (diff)
nir: add nir_shader_compiler_options::lower_to_scalar
This will replace PIPE_SHADER_CAP_SCALAR_ISA. Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com> Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/gallium/drivers/nouveau/nv50/nv50_screen.c')
-rw-r--r--src/gallium/drivers/nouveau/nv50/nv50_screen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/nv50/nv50_screen.c b/src/gallium/drivers/nouveau/nv50/nv50_screen.c
index f0846867621..fe1f628a5ab 100644
--- a/src/gallium/drivers/nouveau/nv50/nv50_screen.c
+++ b/src/gallium/drivers/nouveau/nv50/nv50_screen.c
@@ -919,6 +919,7 @@ static const nir_shader_compiler_options nir_options = {
.lower_all_io_to_temps = false,
.lower_cs_local_index_from_id = true,
.lower_rotate = true,
+ .lower_to_scalar = true,
.use_interpolated_input_intrinsics = true,
.max_unroll_iterations = 32,
};