glsl: remove propagate_invariance() call from the linker
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 23 Oct 2019 03:23:31 +0000 (14:23 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Thu, 24 Oct 2019 02:24:49 +0000 (13:24 +1100)
This was added in 586f4a42e78f and became redundant with 34ab9b0947cd

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/compiler/glsl/linker.cpp

index c52c665a4c234c9afb91e07eec74c489b5e03519..e2fe39d13e76ed625e85de5aa4c1f98b113cd2d8 100644 (file)
@@ -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