slang: ensure structure elements have their array length set
authorAlan Hourihane <alanh@vmware.com>
Wed, 25 Mar 2009 14:04:18 +0000 (14:04 +0000)
committerAlan Hourihane <alanh@vmware.com>
Wed, 25 Mar 2009 14:17:33 +0000 (14:17 +0000)
src/mesa/shader/slang/slang_typeinfo.c

index 1ef43f58c02996f6948d2b39088c6210a5af1dc8..4a48bc8b8ee3aec83ecfaf98bb7abba0228fac47 100644 (file)
@@ -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;