From 0bc15340beaa06149875aa62bd8a5d5b82696d56 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Thu, 17 May 2018 14:38:24 -0400 Subject: [PATCH] mesa/st: re-enable lower_io_to_elements() Signed-off-by: Rob Clark Acked-by: Rob Clark Acked-by: Bas Nieuwenhuizen Acked-by: Dave Airlie Reviewed-by: Kenneth Graunke --- src/mesa/state_tracker/st_glsl_to_nir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2