summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang/slang_compile.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.c
parent2dc3de016cd0306bf5b492ed781e824864788f11 (diff)
mesa: glsl clean-ups
Diffstat (limited to 'src/mesa/shader/slang/slang_compile.c')
-rw-r--r--src/mesa/shader/slang/slang_compile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_compile.c b/src/mesa/shader/slang/slang_compile.c
index 68eefd2cf1..c0f6dc4c93 100644
--- a/src/mesa/shader/slang/slang_compile.c
+++ b/src/mesa/shader/slang/slang_compile.c
@@ -1477,6 +1477,7 @@ parse_expression(slang_parse_ctx * C, slang_output_ctx * O,
RETURN0;
}
array_constructor_size = (int) array_size.literal[0];
+ op->array_constructor = GL_TRUE;
slang_operation_destruct(&array_size);
}
break;