From: Timothy Arceri Date: Wed, 23 Oct 2019 03:23:31 +0000 (+1100) Subject: glsl: remove propagate_invariance() call from the linker X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1961653c89953793c26bfb0346efa197cfe9bb5d;p=mesa.git glsl: remove propagate_invariance() call from the linker This was added in 586f4a42e78f and became redundant with 34ab9b0947cd Reviewed-by: Marek Olšák --- 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