projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c35bb00
)
Use glsl_type::element_type to get the type of array elements
author
Ian Romanick
<ian.d.romanick@intel.com>
Fri, 2 Apr 2010 23:08:44 +0000
(16:08 -0700)
committer
Ian Romanick
<ian.d.romanick@intel.com>
Fri, 2 Apr 2010 23:08:44 +0000
(16:08 -0700)
ast_function.cpp
patch
|
blob
|
history
diff --git
a/ast_function.cpp
b/ast_function.cpp
index 28698375723f65d0af9da6bec9c74c79bc641144..cd57c32040bf1f96a9fb071f17d4454e32ef36db 100644
(file)
--- a/
ast_function.cpp
+++ b/
ast_function.cpp
@@
-264,7
+264,7
@@
process_array_constructor(exec_list *instructions,
if (constructor_type->length == 0) {
constructor_type =
- glsl_type::get_array_instance(constructor_type->
get_base
_type(),
+ glsl_type::get_array_instance(constructor_type->
element
_type(),
parameter_count);
assert(constructor_type != NULL);
assert(constructor_type->length == parameter_count);