summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2019-10-23 14:23:31 +1100
committerTimothy Arceri <[email protected]>2019-10-24 13:24:49 +1100
commit1961653c89953793c26bfb0346efa197cfe9bb5d (patch)
treec5d0ca426fc36b3fe61e8ce32038f45b52332b06
parent922801b77d14bb7ebf762aa1f208997a072c9a1c (diff)
glsl: remove propagate_invariance() call from the linker
This was added in 586f4a42e78f and became redundant with 34ab9b0947cd Reviewed-by: Marek Olšák <[email protected]>
-rw-r--r--src/compiler/glsl/linker.cpp2
1 files changed, 0 insertions, 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