summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2018-05-17 14:38:24 -0400
committerJason Ekstrand <[email protected]>2018-06-22 20:54:00 -0700
commit0bc15340beaa06149875aa62bd8a5d5b82696d56 (patch)
tree89a0e682d48443fad8e2ba1f5590106c279bac81 /src/mesa/state_tracker
parent245ce114c974c6fd78b4004fe830f0507c9afcbb (diff)
mesa/st: re-enable lower_io_to_elements()
Signed-off-by: Rob Clark <[email protected]> Acked-by: Rob Clark <[email protected]> Acked-by: Bas Nieuwenhuizen <[email protected]> Acked-by: Dave Airlie <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_glsl_to_nir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_glsl_to_nir.cpp b/src/mesa/state_tracker/st_glsl_to_nir.cpp
index 6444586ec86..9b6167f9aba 100644
--- a/src/mesa/state_tracker/st_glsl_to_nir.cpp
+++ b/src/mesa/state_tracker/st_glsl_to_nir.cpp
@@ -596,7 +596,7 @@ st_nir_get_mesa_program(struct gl_context *ctx,
static void
st_nir_link_shaders(nir_shader **producer, nir_shader **consumer, bool scalar)
{
- /* nir_lower_io_arrays_to_elements(*producer, *consumer); */
+ nir_lower_io_arrays_to_elements(*producer, *consumer);
NIR_PASS_V(*producer, nir_remove_dead_variables, nir_var_shader_out);
NIR_PASS_V(*consumer, nir_remove_dead_variables, nir_var_shader_in);