projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91535b8
)
mesa: copy array_len in slang_fully_specified_type_copy()
author
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 12 Dec 2008 22:01:00 +0000
(15:01 -0700)
committer
Brian Paul
<brianp@vmware.com>
Tue, 6 Jan 2009 16:10:44 +0000
(09:10 -0700)
(cherry picked from commit
c20d00f04bdbdc0d3abdae8984ff5c874c4f0a10
)
src/mesa/shader/slang/slang_typeinfo.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/slang/slang_typeinfo.c
b/src/mesa/shader/slang/slang_typeinfo.c
index bd135c1a11756859c5d34c524d78465a0c9301ef..a5bcde404f65b54349011d2be3c885c5cb480d36 100644
(file)
--- 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;