Home
last modified time | relevance | path

Searched refs:linked_block (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/compiler/glsl/
Dlink_uniform_blocks.cpp546 struct gl_uniform_block *linked_block = &(*linked_blocks)[linked_block_index]; in link_cross_validate_uniform_block() local
548 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()