Searched refs:num_ubo_blocks (Results 1 – 4 of 4) sorted by relevance
/third_party/mesa3d/src/compiler/glsl/ |
D | gl_nir_link_uniform_blocks.c | 594 unsigned num_ubo_blocks = 0; in gl_nir_link_uniform_blocks() local 602 &ubo_blocks, &num_ubo_blocks, in gl_nir_link_uniform_blocks() 617 ralloc_array(linked, struct gl_uniform_block *, num_ubo_blocks); in gl_nir_link_uniform_blocks() 619 linked->Program->sh.NumUniformBlocks = num_ubo_blocks; in gl_nir_link_uniform_blocks() 620 for (unsigned i = 0; i < num_ubo_blocks; i++) { in gl_nir_link_uniform_blocks() 628 linked->Program->nir->info.num_ubos = num_ubo_blocks; in gl_nir_link_uniform_blocks() 629 linked->Program->info.num_ubos = num_ubo_blocks; in gl_nir_link_uniform_blocks()
|
D | link_uniform_blocks.cpp | 403 unsigned *num_ubo_blocks, in link_uniform_blocks() argument 456 *num_ubo_blocks += aoa_size; in link_uniform_blocks() 464 (*num_ubo_blocks)++; in link_uniform_blocks() 471 create_buffer_blocks(mem_ctx, ctx, prog, ubo_blocks, *num_ubo_blocks, in link_uniform_blocks()
|
D | linker.h | 61 unsigned *num_ubo_blocks,
|
D | linker.cpp | 2418 unsigned num_ubo_blocks = 0; in link_intrastage_shaders() local 2584 &num_ubo_blocks, &ssbo_blocks, &num_ssbo_blocks); in link_intrastage_shaders() 2588 if (num_ubo_blocks > max_uniform_blocks) { in link_intrastage_shaders() 2591 num_ubo_blocks, max_uniform_blocks); in link_intrastage_shaders() 2609 ralloc_array(linked, gl_uniform_block *, num_ubo_blocks); in link_intrastage_shaders() 2611 for (unsigned i = 0; i < num_ubo_blocks; i++) { in link_intrastage_shaders() 2614 linked->Program->sh.NumUniformBlocks = num_ubo_blocks; in link_intrastage_shaders() 2615 linked->Program->info.num_ubos = num_ubo_blocks; in link_intrastage_shaders()
|