summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@vmware.com>2009-03-25 14:04:18 +0000
committerAlan Hourihane <alanh@vmware.com>2009-03-25 14:17:33 +0000
commit7c8639e007c2daeb0a192c30bb56a9716b65da20 (patch)
tree08c20aa0c065ce3a6cafe129807074a23d26b078
parentdef5660c9eed84f92838f9f7679deef94ab27c58 (diff)
downloadexternal_mesa3d-7c8639e007c2daeb0a192c30bb56a9716b65da20.zip
external_mesa3d-7c8639e007c2daeb0a192c30bb56a9716b65da20.tar.gz
external_mesa3d-7c8639e007c2daeb0a192c30bb56a9716b65da20.tar.bz2
slang: ensure structure elements have their array length set
-rw-r--r--src/mesa/shader/slang/slang_typeinfo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_typeinfo.c b/src/mesa/shader/slang/slang_typeinfo.c
index 1ef43f5..4a48bc8 100644
--- a/src/mesa/shader/slang/slang_typeinfo.c
+++ b/src/mesa/shader/slang/slang_typeinfo.c
@@ -790,6 +790,7 @@ _slang_typeof_operation(slang_operation * op,
return GL_FALSE;
}
ti->can_be_referenced = _ti.can_be_referenced;
+ ti->array_len = field->array_len;
}
else {
GLuint rows;