From: Ian Romanick Date: Fri, 26 Mar 2010 00:02:22 +0000 (-0700) Subject: Before generating HIR for user code, generate constructors for built-in types X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a4e92c4b26578614d76ce71b53194ea5c0f58d6c;p=mesa.git Before generating HIR for user code, generate constructors for built-in types --- 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;