summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolai Hähnle <nicolai.haehnle@amd.com>2017-07-05 17:33:49 +0200
committerNicolai Hähnle <nicolai.haehnle@amd.com>2017-07-13 13:27:47 +0200
commit556ece4be47c44c0971ebfd24421d19560bb9c32 (patch)
tree2719c4f6e5203f8d34dbe033960fbfa159d692fc
parent7c71d6dc86fa6e8b502511c2e7d6f6075dbd79dd (diff)
tmp linker TODO marker
-rw-r--r--src/compiler/glsl/linker.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/compiler/glsl/linker.cpp b/src/compiler/glsl/linker.cpp
index e9130287f7..e47e6e0958 100644
--- a/src/compiler/glsl/linker.cpp
+++ b/src/compiler/glsl/linker.cpp
@@ -5048,7 +5048,9 @@ link_shaders(struct gl_context *ctx, struct gl_shader_program *prog)
lower_tess_level(prog->_LinkedShaders[i]);
}
- if (!spirv) {
+ if (spirv) {
+ fprintf(stderr, "todo: nir_remove_dead_variables\n"); /* see opt_dead_code.cpp */
+ } else {
/* Call opts before lowering const arrays to uniforms so we can const
* propagate any elements accessed directly.
*/