From 7c8639e007c2daeb0a192c30bb56a9716b65da20 Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Wed, 25 Mar 2009 14:04:18 +0000 Subject: [PATCH] slang: ensure structure elements have their array length set --- src/mesa/shader/slang/slang_typeinfo.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.30.2