Searched refs:num_variables (Results 1 - 10 of 10) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dgl_nir_link_uniform_blocks.c319 unsigned int *num_variables)
330 (*num_variables)++;
332 iterate_type_count_variables(field_type, num_variables);
418 unsigned *num_variables,
421 *num_variables = 0;
440 *num_variables += block_variables * buffer_count;
444 assert(*num_variables == 0);
448 assert(*num_variables != 0);
454 rzalloc_array(blocks, struct gl_uniform_buffer_variable, *num_variables);
552 unsigned num_variables local in function:link_linked_shader_uniform_blocks
318 iterate_type_count_variables(const struct glsl_type * type,unsigned int * num_variables) argument
414 allocate_uniform_blocks(void * mem_ctx,struct gl_linked_shader * shader,struct gl_uniform_block ** out_blks,unsigned * num_blocks,struct gl_uniform_buffer_variable ** out_variables,unsigned * num_variables,enum block_type block_type) argument
[all...]
H A Dlink_uniform_blocks.cpp38 unsigned num_variables, struct gl_shader_program *prog,
41 num_variables(num_variables), mem_ctx(mem_ctx),
61 unsigned num_variables; member in class:__anonede619020110::ubo_visitor
111 assert(this->index < this->num_variables);
341 struct hash_table *block_hash, unsigned num_variables,
345 assert(num_variables == 0);
349 assert(num_variables != 0);
357 ralloc_array(blocks, gl_uniform_buffer_variable, num_variables);
362 ubo_visitor parcel(blocks, variables, num_variables, pro
37 ubo_visitor(void * mem_ctx,gl_uniform_buffer_variable * variables,unsigned num_variables,struct gl_shader_program * prog,bool use_std430_as_default) argument
338 create_buffer_blocks(void * mem_ctx,struct gl_context * ctx,struct gl_shader_program * prog,struct gl_uniform_block ** out_blks,unsigned num_blocks,struct hash_table * block_hash,unsigned num_variables,bool create_ubo_blocks) argument
[all...]
H A Dlink_varyings.cpp2649 unsigned num_variables = 0; local in function:canonicalize_shader_io
2660 if (num_variables == ARRAY_SIZE(var_table))
2663 var_table[num_variables++] = var;
2666 if (num_variables == 0)
2673 qsort(var_table, num_variables, sizeof(var_table[0]), io_variable_cmp);
2678 for (unsigned i = 0; i < num_variables; i++) {
H A Dlinker.cpp113 : num_variables(num_vars), num_found(0), variables(vars)
152 for (unsigned i = 0; i < num_variables; ++i) {
157 assert(num_found < num_variables);
158 if (++num_found == num_variables)
169 unsigned num_variables; /**< Number of variables to find */ member in class:__anon41e725dd0110::find_assignment_visitor
181 unsigned num_variables = 0; local in function:__anon41e725dd0110::find_assignments
184 num_variables++;
186 find_assignment_visitor visitor(num_variables, vars);
H A Dast_to_hir.cpp8145 unsigned int num_variables = local in function:ast_interface_block::hir
8251 for (unsigned i = 0; i < num_variables; i++) {
8304 num_variables,
8370 for (unsigned i = 0; i < num_variables; i++) {
8472 for (unsigned i = 0; i < num_variables; i++) {
8508 for (unsigned i = 0; i < num_variables; i++) {
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dlink_uniform_blocks.cpp38 unsigned num_variables, struct gl_shader_program *prog,
41 num_variables(num_variables), mem_ctx(mem_ctx),
61 unsigned num_variables; member in class:__anon48fd2ecf0110::ubo_visitor
111 assert(this->index < this->num_variables);
340 struct hash_table *block_hash, unsigned num_variables,
344 assert(num_variables == 0);
348 assert(num_variables != 0);
356 ralloc_array(blocks, gl_uniform_buffer_variable, num_variables);
361 ubo_visitor parcel(blocks, variables, num_variables, pro
37 ubo_visitor(void * mem_ctx,gl_uniform_buffer_variable * variables,unsigned num_variables,struct gl_shader_program * prog,bool use_std430_as_default) argument
337 create_buffer_blocks(void * mem_ctx,struct gl_context * ctx,struct gl_shader_program * prog,struct gl_uniform_block ** out_blks,unsigned num_blocks,struct hash_table * block_hash,unsigned num_variables,bool create_ubo_blocks) argument
[all...]
H A Dlink_varyings.cpp2436 unsigned num_variables = 0; local in function:canonicalize_shader_io
2447 if (num_variables == ARRAY_SIZE(var_table))
2450 var_table[num_variables++] = var;
2453 if (num_variables == 0)
2460 qsort(var_table, num_variables, sizeof(var_table[0]), io_variable_cmp);
2465 for (unsigned i = 0; i < num_variables; i++) {
H A Dlinker.cpp113 : num_variables(num_vars), num_found(0), variables(vars)
152 for (unsigned i = 0; i < num_variables; ++i) {
157 assert(num_found < num_variables);
158 if (++num_found == num_variables)
169 unsigned num_variables; /**< Number of variables to find */ member in class:__anone98cca8a0110::find_assignment_visitor
181 unsigned num_variables = 0; local in function:__anone98cca8a0110::find_assignments
184 num_variables++;
186 find_assignment_visitor visitor(num_variables, vars);
H A Dast_to_hir.cpp7885 unsigned int num_variables = local in function:ast_interface_block::hir
7991 for (unsigned i = 0; i < num_variables; i++) {
8044 num_variables,
8110 for (unsigned i = 0; i < num_variables; i++) {
8212 for (unsigned i = 0; i < num_variables; i++) {
8248 for (unsigned i = 0; i < num_variables; i++) {
/xsrc/external/mit/libXaw/dist/src/
H A DActions.c97 Cardinal num_variables; member in struct:_XawActionVarList
994 list->num_variables = 0;
1067 list->num_variables = 1;
1073 ++list->num_variables;
1076 list->num_variables);
1077 list->variables[list->num_variables - 1] = variable;
1078 qsort(list->variables, list->num_variables, sizeof(XawActionVar*),
1100 var = (XawActionVar **)bsearch(name, list->variables, list->num_variables,

Completed in 53 milliseconds