diff options
Diffstat (limited to 'src/compiler/glsl')
-rw-r--r-- | src/compiler/glsl/opt_copy_propagation_elements.cpp | 1 | ||||
-rw-r--r-- | src/compiler/glsl/standalone.cpp | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/src/compiler/glsl/opt_copy_propagation_elements.cpp b/src/compiler/glsl/opt_copy_propagation_elements.cpp index cd55c54ec0e..78126ca3870 100644 --- a/src/compiler/glsl/opt_copy_propagation_elements.cpp +++ b/src/compiler/glsl/opt_copy_propagation_elements.cpp @@ -111,7 +111,6 @@ public: /* TODO: Check write mask, and possibly not clear everything. */ /* For any usage of our variable on the RHS, clear it out. */ - struct set_entry *set_entry; set_foreach(entry->dsts, set_entry) { ir_variable *dst_var = (ir_variable *)set_entry->key; acp_entry *dst_entry = pull_acp(dst_var); diff --git a/src/compiler/glsl/standalone.cpp b/src/compiler/glsl/standalone.cpp index c24a220a48d..96ea18f1303 100644 --- a/src/compiler/glsl/standalone.cpp +++ b/src/compiler/glsl/standalone.cpp @@ -87,8 +87,6 @@ public: void remove_dead_variables() { - struct set_entry *entry; - set_foreach(variables, entry) { ir_variable *ir = (ir_variable *) entry->key; |