mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 22:50:08 +01:00
Set the var_type for arrays to error_type until it's implemented.
"Fixes" segfaults in array tests.
This commit is contained in:
parent
76ea56c007
commit
8518e75d28
1 changed files with 1 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue