summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-12-12 15:01:00 -0700
committerBrian Paul <[email protected]>2008-12-12 15:01:00 -0700
commitc20d00f04bdbdc0d3abdae8984ff5c874c4f0a10 (patch)
treec430842a93dbf94f4cecce1b61e0a362ad6b9316 /src/mesa
parent9016331d0fd0783d1e46c9d4b651797d6af4a60f (diff)
mesa: copy array_len in slang_fully_specified_type_copy()
Diffstat (limited to 'src/mesa')
-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;