summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2018-05-17 14:22:01 -0400
committerJason Ekstrand <[email protected]>2018-06-22 20:54:00 -0700
commit3859e0b4fe935c1bc399a7f5e8f2b5b5c73bcd60 (patch)
tree3d0ecc10b82718b3fb3ea81ac133b4070e153514 /src
parentc6009a1e8ea3b839ac1eef4456e9e0c0f05bf2b2 (diff)
mesa/st: temporarily disable lower_io_to_elements()
Not required for correctness, and makes the order of converting passes to deref instructions hard to get right for both prog_to_nir and glsl_to_nir cases. 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')
-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 55615728da7..56d53bd7db3 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);