diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-12-12 15:01:00 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-01-06 09:10:44 -0700 |
commit | ae701a12019a59cfd22ca72db9bcca9e1d87f93a (patch) | |
tree | 2d4afcfd95496ffbab6f9ec255c64028772b7705 /src | |
parent | 91535b8a617b78b1f5e3d2325ca8832d255857a2 (diff) |
mesa: copy array_len in slang_fully_specified_type_copy()
(cherry picked from commit c20d00f04bdbdc0d3abdae8984ff5c874c4f0a10)
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/shader/slang/slang_typeinfo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_typeinfo.c b/src/mesa/shader/slang/slang_typeinfo.c index bd135c1a11..a5bcde404f 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; |