From 1961653c89953793c26bfb0346efa197cfe9bb5d Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Wed, 23 Oct 2019 14:23:31 +1100 Subject: [PATCH] glsl: remove propagate_invariance() call from the linker MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This was added in 586f4a42e78f and became redundant with 34ab9b0947cd Reviewed-by: Marek Olšák --- 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 -- 2.30.2