From a4e92c4b26578614d76ce71b53194ea5c0f58d6c Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Thu, 25 Mar 2010 17:02:22 -0700 Subject: [PATCH] Before generating HIR for user code, generate constructors for built-in types --- ast_to_hir.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ast_to_hir.cpp b/ast_to_hir.cpp index 740adb9f43c..513a948a3ce 100644 --- a/ast_to_hir.cpp +++ b/ast_to_hir.cpp @@ -62,6 +62,7 @@ _mesa_ast_to_hir(exec_list *instructions, struct _mesa_glsl_parse_state *state) struct simple_node *ptr; _mesa_glsl_initialize_variables(instructions, state); + _mesa_glsl_initialize_constructors(instructions, state); state->current_function = NULL; -- 2.30.2