Mesa (master): glsl: remove propagate_invariance() call from the linker

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Oct 24 02:52:46 UTC 2019


Module: Mesa
Branch: master
Commit: 1961653c89953793c26bfb0346efa197cfe9bb5d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1961653c89953793c26bfb0346efa197cfe9bb5d

Author: Timothy Arceri <tarceri at itsqueeze.com>
Date:   Wed Oct 23 14:23:31 2019 +1100

glsl: remove propagate_invariance() call from the linker

This was added in 586f4a42e78f and became redundant with 34ab9b0947cd

Reviewed-by: Marek Olšák <marek.olsak at amd.com>

---

 src/compiler/glsl/linker.cpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/compiler/glsl/linker.cpp b/src/compiler/glsl/linker.cpp
index c52c665a4c2..e2fe39d13e7 100644
--- a/src/compiler/glsl/linker.cpp
+++ b/src/compiler/glsl/linker.cpp
@@ -5214,8 +5214,6 @@ link_shaders(struct gl_context *ctx, struct gl_shader_program *prog)
       if (ctx->Const.GLSLLowerConstArrays &&
           lower_const_arrays_to_uniforms(prog->_LinkedShaders[i]->ir, i))
          linker_optimisation_loop(ctx, prog->_LinkedShaders[i]->ir, i);
-
-      propagate_invariance(prog->_LinkedShaders[i]->ir);
    }
 
    /* Validation for special cases where we allow sampler array indexing




More information about the mesa-commit mailing list