Set the var_type for arrays to error_type until it's implemented.
"Fixes" segfaults in array tests.
This commit is contained in:

committed by
Ian Romanick

parent
76ea56c007
commit
8518e75d28
@@ -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 {
|
||||
|
Reference in New Issue
Block a user