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>
This commit is contained in:
@@ -723,6 +723,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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user