summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader
diff options
context:
space:
mode:
authorAlan Hourihane <[email protected]>2009-03-25 14:04:18 +0000
committerAlan Hourihane <[email protected]>2009-03-25 14:17:33 +0000
commit7c8639e007c2daeb0a192c30bb56a9716b65da20 (patch)
tree08c20aa0c065ce3a6cafe129807074a23d26b078 /src/mesa/shader
parentdef5660c9eed84f92838f9f7679deef94ab27c58 (diff)
slang: ensure structure elements have their array length set
Diffstat (limited to 'src/mesa/shader')
-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 1ef43f58c02..4a48bc8b8ee 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;