Commit 526a9fee authored by Andrii Simiklit's avatar Andrii Simiklit

glsl: don't forget to update max_array_access field during ub array optimization

Signed-off-by: default avatarAndrii Simiklit <andrii.simiklit@globallogic.com>
parent 1e85cfb9
......@@ -440,6 +440,7 @@ link_uniform_blocks(void *mem_ctx,
GLSL_INTERFACE_PACKING_PACKED)) {
b->type = resize_block_array(b->type, b->array);
b->var->type = b->type;
b->var->data.max_array_access = b->type->length - 1;
}
block_size.num_active_uniforms = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment