Searched refs:linked_block (Results 1 – 2 of 2) sorted by relevance
546 struct gl_uniform_block *linked_block = &(*linked_blocks)[linked_block_index]; in link_cross_validate_uniform_block() local548 memcpy(linked_block, new_block, sizeof(*new_block)); in link_cross_validate_uniform_block()549 linked_block->Uniforms = ralloc_array(*linked_blocks, in link_cross_validate_uniform_block()551 linked_block->NumUniforms); in link_cross_validate_uniform_block()553 memcpy(linked_block->Uniforms, in link_cross_validate_uniform_block()555 sizeof(*linked_block->Uniforms) * linked_block->NumUniforms); in link_cross_validate_uniform_block()557 linked_block->Name = ralloc_strdup(*linked_blocks, linked_block->Name); in link_cross_validate_uniform_block()559 for (unsigned int i = 0; i < linked_block->NumUniforms; i++) { in link_cross_validate_uniform_block()561 &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()