Home
last modified time | relevance | path

Searched refs:linked_block (Results 1 – 2 of 2) 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()
Dgl_nir_link_uniform_blocks.c194 struct gl_uniform_block *linked_block = &(*linked_blocks)[linked_block_index]; in link_cross_validate_uniform_block() local
196 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()