diff options
author | Eric Anholt <[email protected]> | 2010-08-04 17:12:14 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-08-04 20:52:33 -0700 |
commit | e3a90b8e38b1d0de9f473caca96779e215071315 (patch) | |
tree | 8f8e219f04a206e8187da77b859af11d60851baf /src/glsl/linker.cpp | |
parent | 022f79e49648d465d2db0240554f58ac42754584 (diff) |
glsl2: Use linked ir_constant_variable after linking, instead of unlinked.
Diffstat (limited to 'src/glsl/linker.cpp')
-rw-r--r-- | src/glsl/linker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/linker.cpp b/src/glsl/linker.cpp index 10fd2d5ab93..b2953c67d11 100644 --- a/src/glsl/linker.cpp +++ b/src/glsl/linker.cpp @@ -1293,7 +1293,7 @@ link_shaders(struct gl_shader_program *prog) progress = do_dead_code_local(ir) || progress; progress = do_dead_code(ir) || progress; progress = do_tree_grafting(ir) || progress; - progress = do_constant_variable_unlinked(ir) || progress; + progress = do_constant_variable(ir) || progress; progress = do_constant_folding(ir) || progress; progress = do_algebraic(ir) || progress; progress = do_if_return(ir) || progress; |