From: Brian Paul Date: Fri, 12 Dec 2008 22:01:00 +0000 (-0700) Subject: mesa: copy array_len in slang_fully_specified_type_copy() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ae701a12019a59cfd22ca72db9bcca9e1d87f93a;p=mesa.git mesa: copy array_len in slang_fully_specified_type_copy() (cherry picked from commit c20d00f04bdbdc0d3abdae8984ff5c874c4f0a10) --- 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;