From c20d00f04bdbdc0d3abdae8984ff5c874c4f0a10 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 12 Dec 2008 15:01:00 -0700 Subject: [PATCH] mesa: copy array_len in slang_fully_specified_type_copy() --- 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 bd135c1a117..a5bcde404f6 100644 --- a/src/mesa/shader/slang/slang_typeinfo.c +++ b/src/mesa/shader/slang/slang_typeinfo.c @@ -258,6 +258,7 @@ slang_fully_specified_type_copy(slang_fully_specified_type * x, z.precision = y->precision; z.variant = y->variant; z.centroid = y->centroid; + z.array_len = y->array_len; if (!slang_type_specifier_copy(&z.specifier, &y->specifier)) { slang_fully_specified_type_destruct(&z); return 0; -- 2.30.2