projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
261c3cd
)
glsl: Initialize member a_obj of struct slang_operation.
author
Vinson Lee
<vlee@vmware.com>
Thu, 24 Dec 2009 02:00:06 +0000
(18:00 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Thu, 24 Dec 2009 02:00:06 +0000
(18:00 -0800)
src/mesa/shader/slang/slang_compile_operation.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/slang/slang_compile_operation.c
b/src/mesa/shader/slang/slang_compile_operation.c
index be73094ca04ab52ae18acfbd227b6cc1cb5be7a2..3a15d9d3ab588591d9cd86549a3daeaa458baae2 100644
(file)
--- a/
src/mesa/shader/slang/slang_compile_operation.c
+++ b/
src/mesa/shader/slang/slang_compile_operation.c
@@
-46,6
+46,7
@@
slang_operation_construct(slang_operation * oper)
oper->literal_size = 1;
oper->array_constructor = GL_FALSE;
oper->a_id = SLANG_ATOM_NULL;
+ oper->a_obj = SLANG_ATOM_NULL;
oper->locals = _slang_variable_scope_new(NULL);
if (oper->locals == NULL)
return GL_FALSE;