projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3294ca
)
glsl: Remove unused total_attribs_size variable.
author
Kenneth Graunke
<kenneth@whitecape.org>
Thu, 3 Sep 2015 07:55:40 +0000
(
00:55
-0700)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Thu, 3 Sep 2015 07:56:18 +0000
(
00:56
-0700)
Accidentally left behind by my previous patch.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/linker.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/linker.cpp
b/src/glsl/linker.cpp
index 01554bc2ad775ad90dd501f0b5c48a944fbb1b0d..59e3e9c38a67ac5b58f95b3039acdd5ace57bf50 100644
(file)
--- 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();