projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76ea56c
)
Set the var_type for arrays to error_type until it's implemented.
author
Eric Anholt
<eric@anholt.net>
Fri, 26 Mar 2010 23:37:22 +0000
(16:37 -0700)
committer
Ian Romanick
<ian.d.romanick@intel.com>
Sat, 27 Mar 2010 00:51:41 +0000
(17:51 -0700)
"Fixes" segfaults in array tests.
ast_to_hir.cpp
patch
|
blob
|
history
diff --git
a/ast_to_hir.cpp
b/ast_to_hir.cpp
index 67fed4cc8931600b411b51bdd8fbaee4eef8f952..d7bfb307a7f5ab0b0dc89a31d43e5bf9692590e5 100644
(file)
--- a/
ast_to_hir.cpp
+++ b/
ast_to_hir.cpp
@@
-947,6
+947,7
@@
ast_declarator_list::hir(exec_list *instructions,
/* FINISHME: Handle array declarations. Note that this requires
* FINISHME: complete handling of constant expressions.
*/
+ var_type = glsl_type::error_type;
/* FINISHME: Reject delcarations of multidimensional arrays. */
} else {