summaryrefslogtreecommitdiffstats
path: root/src/glsl/linker.cpp
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2015-09-03 00:55:40 -0700
committerKenneth Graunke <kenneth@whitecape.org>2015-09-03 00:56:18 -0700
commit30e84530a097278c7cf01c0491dba5866510c4c5 (patch)
tree00522d1c97b8ae5ec2dcc58826258a4561915cc7 /src/glsl/linker.cpp
parentc3294ca5a13cf3f0eb3d9907a46ff8ce4bc2963b (diff)
downloadexternal_mesa3d-30e84530a097278c7cf01c0491dba5866510c4c5.zip
external_mesa3d-30e84530a097278c7cf01c0491dba5866510c4c5.tar.gz
external_mesa3d-30e84530a097278c7cf01c0491dba5866510c4c5.tar.bz2
glsl: Remove unused total_attribs_size variable.
Accidentally left behind by my previous patch. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/glsl/linker.cpp')
-rw-r--r--src/glsl/linker.cpp1
1 files changed, 0 insertions, 1 deletions
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();