[Mesa-dev] [PATCH v4 071/129] mesa/st: temporarily disable lower_io_to_elements()
Jason Ekstrand
jason at jlekstrand.net
Fri Jun 1 05:04:01 UTC 2018
From: Rob Clark <robdclark at gmail.com>
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 <robdclark at gmail.com>
---
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 8e9691f..e2f37f5 100644
--- a/src/mesa/state_tracker/st_glsl_to_nir.cpp
+++ b/src/mesa/state_tracker/st_glsl_to_nir.cpp
@@ -587,7 +587,7 @@ st_nir_get_mesa_program(struct gl_context *ctx,
static void
st_nir_link_shaders(nir_shader **producer, nir_shader **consumer)
{
- 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.5.0.400.gff86faf
More information about the mesa-dev
mailing list