Mesa (master): glsl: Remove unused total_attribs_size variable.
Kenneth Graunke
kwg at kemper.freedesktop.org
Thu Sep 3 07:56:44 UTC 2015
Module: Mesa
Branch: master
Commit: 30e84530a097278c7cf01c0491dba5866510c4c5
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=30e84530a097278c7cf01c0491dba5866510c4c5
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Thu Sep 3 00:55:40 2015 -0700
glsl: Remove unused total_attribs_size variable.
Accidentally left behind by my previous patch.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
---
src/glsl/linker.cpp | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/glsl/linker.cpp b/src/glsl/linker.cpp
index 01554bc..59e3e9c 100644
--- a/src/glsl/linker.cpp
+++ b/src/glsl/linker.cpp
@@ -2390,7 +2390,6 @@ assign_attribute_or_color_locations(gl_shader_program *prog,
} to_assign[16];
unsigned num_attr = 0;
- unsigned total_attribs_size = 0;
foreach_in_list(ir_instruction, node, sh->ir) {
ir_variable *const var = node->as_variable();
More information about the mesa-commit
mailing list