summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/glsl/linker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/linker.cpp b/src/glsl/linker.cpp
index 06f2a8231a..e7bc700029 100644
--- a/src/glsl/linker.cpp
+++ b/src/glsl/linker.cpp
@@ -1262,7 +1262,7 @@ link_shaders(struct gl_shader_program *prog)
progress = do_if_simplification(ir) || progress;
progress = do_copy_propagation(ir) || progress;
progress = do_dead_code_local(ir) || progress;
- progress = do_dead_code_unlinked(ir) || progress;
+ progress = do_dead_code(ir) || progress;
progress = do_constant_variable_unlinked(ir) || progress;
progress = do_constant_folding(ir) || progress;
progress = do_if_return(ir) || progress;