summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang/slang_compile_operation.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-12-11 18:49:28 -0700
committerBrian Paul <brian.paul@tungstengraphics.com>2008-12-11 18:49:28 -0700
commit929eb00b32dfea9b1ac58923c88d5573872adea1 (patch)
tree69678c188111e2c6cf3f118ba58bdedf0f30951b /src/mesa/shader/slang/slang_compile_operation.c
parent2dc3de016cd0306bf5b492ed781e824864788f11 (diff)
mesa: glsl clean-ups
Diffstat (limited to 'src/mesa/shader/slang/slang_compile_operation.c')
-rw-r--r--src/mesa/shader/slang/slang_compile_operation.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_compile_operation.c b/src/mesa/shader/slang/slang_compile_operation.c
index 53cf6faff9..ecec2d8b7d 100644
--- a/src/mesa/shader/slang/slang_compile_operation.c
+++ b/src/mesa/shader/slang/slang_compile_operation.c
@@ -44,6 +44,7 @@ slang_operation_construct(slang_operation * oper)
oper->num_children = 0;
oper->literal[0] = 0.0;
oper->literal_size = 1;
+ oper->array_constructor = GL_FALSE;
oper->a_id = SLANG_ATOM_NULL;
oper->locals = _slang_variable_scope_new(NULL);
if (oper->locals == NULL)