summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-12-12 15:01:00 -0700
committerBrian Paul <[email protected]>2009-01-06 09:10:44 -0700
commitae701a12019a59cfd22ca72db9bcca9e1d87f93a (patch)
tree2d4afcfd95496ffbab6f9ec255c64028772b7705
parent91535b8a617b78b1f5e3d2325ca8832d255857a2 (diff)
mesa: copy array_len in slang_fully_specified_type_copy()
(cherry picked from commit c20d00f04bdbdc0d3abdae8984ff5c874c4f0a10)
-rw-r--r--src/mesa/shader/slang/slang_typeinfo.c1
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 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;