mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 17:20:10 +01:00
glsl2: When setting the size of an unsized array, set its deref's size too.
This commit is contained in:
parent
c3081e6273
commit
9703ed05e6
1 changed files with 1 additions and 0 deletions
|
|
@ -531,6 +531,7 @@ do_assignment(exec_list *instructions, struct _mesa_glsl_parse_state *state,
|
|||
|
||||
var->type = glsl_type::get_array_instance(lhs->type->element_type(),
|
||||
rhs->type->array_size());
|
||||
d->type = var->type;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue