summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_compute.c
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2018-03-05 12:06:01 +1100
committerTimothy Arceri <[email protected]>2018-03-05 14:09:23 +1100
commit70190a656766019107d82aa5404ffa1cad9fb6e4 (patch)
tree6c9e7ef65dafe313b4c8d207fda52c74d126a546 /src/gallium/drivers/radeonsi/si_compute.c
parent561503e3bd9fb800765b694092fecb97de92e192 (diff)
radeonsi/nir: call ac_lower_indirect_derefs()
Fixes piglit tests: tests/spec/glsl-1.50/execution/variable-indexing/gs-input-array-vec3-index-rd.shader_test tests/spec/glsl-1.50/execution/geometry/max-input-components.shader_test Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_compute.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_compute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_compute.c b/src/gallium/drivers/radeonsi/si_compute.c
index e9b61271151..d135a09add0 100644
--- a/src/gallium/drivers/radeonsi/si_compute.c
+++ b/src/gallium/drivers/radeonsi/si_compute.c
@@ -107,7 +107,7 @@ static void si_create_compute_state_async(void *job, int thread_index)
sel.nir = program->ir.nir;
si_nir_scan_shader(sel.nir, &sel.info);
- si_lower_nir(&sel);
+ si_lower_nir(&sel, program->compiler_ctx_state.chip_class);
}