projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c1ce2d
)
glsl: remove stray/unneeded totalSize assignment
author
Brian Paul
<brianp@vmware.com>
Tue, 10 Mar 2009 23:09:52 +0000
(17:09 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 11 Mar 2009 00:25:38 +0000
(18:25 -0600)
src/mesa/shader/slang/slang_codegen.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/slang/slang_codegen.c
b/src/mesa/shader/slang/slang_codegen.c
index d8246ae75f8e5cb5670e0a888573f1c36e3b2798..8663054a9de2cbf8416f3e56f66001d582944107 100644
(file)
--- a/
src/mesa/shader/slang/slang_codegen.c
+++ b/
src/mesa/shader/slang/slang_codegen.c
@@
-3014,7
+3014,7
@@
_slang_gen_var_decl(slang_assemble_ctx *A, slang_variable *var,
file = PROGRAM_TEMPORARY;
}
-
totalSize =
size = _slang_sizeof_type_specifier(&var->type.specifier);
+ size = _slang_sizeof_type_specifier(&var->type.specifier);
if (size <= 0) {
slang_info_log_error(A->log, "invalid declaration for '%s'", varName);
return NULL;