Searched refs:linked_block (Results 1 – 2 of 2) sorted by relevance
550 struct gl_uniform_block *linked_block = &(*linked_blocks)[linked_block_index]; in link_cross_validate_uniform_block() local552 memcpy(linked_block, new_block, sizeof(*new_block)); in link_cross_validate_uniform_block()553 linked_block->Uniforms = ralloc_array(*linked_blocks, in link_cross_validate_uniform_block()555 linked_block->NumUniforms); in link_cross_validate_uniform_block()557 memcpy(linked_block->Uniforms, in link_cross_validate_uniform_block()559 sizeof(*linked_block->Uniforms) * linked_block->NumUniforms); in link_cross_validate_uniform_block()561 linked_block->name.string = ralloc_strdup(*linked_blocks, linked_block->name.string); in link_cross_validate_uniform_block()562 resource_name_updated(&linked_block->name); in link_cross_validate_uniform_block()564 for (unsigned int i = 0; i < linked_block->NumUniforms; i++) { in link_cross_validate_uniform_block()566 &linked_block->Uniforms[i]; in link_cross_validate_uniform_block()
194 struct gl_uniform_block *linked_block = &(*linked_blocks)[linked_block_index]; in link_cross_validate_uniform_block() local196 memcpy(linked_block, new_block, sizeof(*new_block)); in link_cross_validate_uniform_block()197 linked_block->Uniforms = ralloc_array(*linked_blocks, in link_cross_validate_uniform_block()199 linked_block->NumUniforms); in link_cross_validate_uniform_block()201 memcpy(linked_block->Uniforms, in link_cross_validate_uniform_block()203 sizeof(*linked_block->Uniforms) * linked_block->NumUniforms); in link_cross_validate_uniform_block()