diff options
Diffstat (limited to 'src/compiler/glsl/linker.cpp')
-rw-r--r-- | src/compiler/glsl/linker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/linker.cpp b/src/compiler/glsl/linker.cpp index e47e6e0958..d1462a2b42 100644 --- a/src/compiler/glsl/linker.cpp +++ b/src/compiler/glsl/linker.cpp @@ -5049,7 +5049,7 @@ link_shaders(struct gl_context *ctx, struct gl_shader_program *prog) } if (spirv) { - fprintf(stderr, "todo: nir_remove_dead_variables\n"); /* see opt_dead_code.cpp */ + nir_linker_remove_dead_variables(prog, prog->_LinkedShaders[i]); } else { /* Call opts before lowering const arrays to uniforms so we can const * propagate any elements accessed directly. |