mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 11:10:10 +01:00
Before generating HIR for user code, generate constructors for built-in types
This commit is contained in:
parent
9546997736
commit
a4e92c4b26
1 changed files with 1 additions and 0 deletions
|
|
@ -62,6 +62,7 @@ _mesa_ast_to_hir(exec_list *instructions, struct _mesa_glsl_parse_state *state)
|
||||||
struct simple_node *ptr;
|
struct simple_node *ptr;
|
||||||
|
|
||||||
_mesa_glsl_initialize_variables(instructions, state);
|
_mesa_glsl_initialize_variables(instructions, state);
|
||||||
|
_mesa_glsl_initialize_constructors(instructions, state);
|
||||||
|
|
||||||
state->current_function = NULL;
|
state->current_function = NULL;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue