[Mesa-dev] [PATCH 16/19] st/nir: Stop lowering deref instructions.

Bas Nieuwenhuizen bas at basnieuwenhuizen.nl
Sun May 13 00:20:10 UTC 2018


---
 src/mesa/state_tracker/st_glsl_to_nir.cpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/mesa/state_tracker/st_glsl_to_nir.cpp b/src/mesa/state_tracker/st_glsl_to_nir.cpp
index 3fdfebdc1fe..8d80c8cae22 100644
--- a/src/mesa/state_tracker/st_glsl_to_nir.cpp
+++ b/src/mesa/state_tracker/st_glsl_to_nir.cpp
@@ -580,8 +580,6 @@ st_nir_get_mesa_program(struct gl_context *ctx,
 
    nir_shader *nir = st_glsl_to_nir(st, prog, shader_program, shader->Stage);
 
-   nir_lower_deref_instrs(nir, (nir_lower_deref_flags)~0);
-
    set_st_program(prog, shader_program, nir);
    prog->nir = nir;
 }
-- 
2.17.0



More information about the mesa-dev mailing list