From: Alan Hourihane Date: Wed, 25 Mar 2009 14:04:18 +0000 (+0000) Subject: slang: ensure structure elements have their array length set X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7c8639e007c2daeb0a192c30bb56a9716b65da20;p=mesa.git slang: ensure structure elements have their array length set --- 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;