mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-16 14:08:07 +02:00
glsl: When assiging from a whole array, mark it as used.
Fixes piglit link-uniform-array-size.
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
(cherry picked from commit 407a1001ae)
This commit is contained in:
parent
878d701da4
commit
ca7560765c
1 changed files with 1 additions and 0 deletions
|
|
@ -719,6 +719,7 @@ do_assignment(exec_list *instructions, struct _mesa_glsl_parse_state *state,
|
|||
rhs->type->array_size());
|
||||
d->type = var->type;
|
||||
}
|
||||
mark_whole_array_access(rhs);
|
||||
mark_whole_array_access(lhs);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue