Searched refs:num_variables (Results 1 – 5 of 5) sorted by relevance
/third_party/mesa3d/src/compiler/glsl/ |
D | gl_nir_link_uniform_blocks.c | 319 unsigned int *num_variables) in iterate_type_count_variables() argument 330 (*num_variables)++; in iterate_type_count_variables() 332 iterate_type_count_variables(field_type, num_variables); in iterate_type_count_variables() 418 unsigned *num_variables, in allocate_uniform_blocks() argument 421 *num_variables = 0; in allocate_uniform_blocks() 440 *num_variables += block_variables * buffer_count; in allocate_uniform_blocks() 444 assert(*num_variables == 0); in allocate_uniform_blocks() 448 assert(*num_variables != 0); in allocate_uniform_blocks() 454 rzalloc_array(blocks, struct gl_uniform_buffer_variable, *num_variables); in allocate_uniform_blocks() 552 unsigned num_variables = 0; in link_linked_shader_uniform_blocks() local [all …]
|
D | link_uniform_blocks.cpp | 38 unsigned num_variables, struct gl_shader_program *prog, in ubo_visitor() argument 41 num_variables(num_variables), mem_ctx(mem_ctx), in ubo_visitor() 61 unsigned num_variables; member in __anon3924798d0111::ubo_visitor 111 assert(this->index < this->num_variables); in visit_field() 341 struct hash_table *block_hash, unsigned num_variables, in create_buffer_blocks() argument 345 assert(num_variables == 0); in create_buffer_blocks() 349 assert(num_variables != 0); in create_buffer_blocks() 357 ralloc_array(blocks, gl_uniform_buffer_variable, num_variables); in create_buffer_blocks() 362 ubo_visitor parcel(blocks, variables, num_variables, prog, in create_buffer_blocks() 394 assert(parcel.index == num_variables); in create_buffer_blocks()
|
D | link_varyings.cpp | 2649 unsigned num_variables = 0; in canonicalize_shader_io() local 2660 if (num_variables == ARRAY_SIZE(var_table)) in canonicalize_shader_io() 2663 var_table[num_variables++] = var; in canonicalize_shader_io() 2666 if (num_variables == 0) in canonicalize_shader_io() 2673 qsort(var_table, num_variables, sizeof(var_table[0]), io_variable_cmp); in canonicalize_shader_io() 2678 for (unsigned i = 0; i < num_variables; i++) { in canonicalize_shader_io()
|
D | linker.cpp | 113 : num_variables(num_vars), num_found(0), variables(vars) in find_assignment_visitor() 152 for (unsigned i = 0; i < num_variables; ++i) { in check_variable_name() 157 assert(num_found < num_variables); in check_variable_name() 158 if (++num_found == num_variables) in check_variable_name() 169 unsigned num_variables; /**< Number of variables to find */ member in __anon28c7c8880111::find_assignment_visitor 181 unsigned num_variables = 0; in find_assignments() local 184 num_variables++; in find_assignments() 186 find_assignment_visitor visitor(num_variables, vars); in find_assignments()
|
D | ast_to_hir.cpp | 8145 unsigned int num_variables = in hir() local 8251 for (unsigned i = 0; i < num_variables; i++) { in hir() 8304 num_variables, in hir() 8370 for (unsigned i = 0; i < num_variables; i++) { in hir() 8472 for (unsigned i = 0; i < num_variables; i++) { in hir() 8508 for (unsigned i = 0; i < num_variables; i++) { in hir()
|