diff options
-rw-r--r-- | src/compiler/glsl/glsl_parser_extras.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/glsl/glsl_parser_extras.cpp b/src/compiler/glsl/glsl_parser_extras.cpp index fde8c193597..09f74772659 100644 --- a/src/compiler/glsl/glsl_parser_extras.cpp +++ b/src/compiler/glsl/glsl_parser_extras.cpp @@ -1603,6 +1603,7 @@ ast_struct_specifier::ast_struct_specifier(const char *identifier, name = identifier; this->declarations.push_degenerate_list_at_head(&declarator_list->link); is_declaration = true; + layout = NULL; } void ast_subroutine_list::print(void) const |