Searched refs:ub_array (Results 1 – 2 of 2) sorted by relevance
110 struct uniform_block_array_elements *ub_array = *ub_array_ptr; in process_arrays() local119 for (i = 0; i < ub_array->num_array_elements; i++) { in process_arrays()120 if (ub_array->array_elements[i] == idx) in process_arrays()124 assert(i <= ub_array->num_array_elements); in process_arrays()126 if (i == ub_array->num_array_elements) { in process_arrays()127 ub_array->array_elements = reralloc(mem_ctx, in process_arrays()128 ub_array->array_elements, in process_arrays()130 ub_array->num_array_elements + 1); in process_arrays()132 ub_array->array_elements[ub_array->num_array_elements] = idx; in process_arrays()134 ub_array->num_array_elements++; in process_arrays()[all …]
236 process_block_array(struct uniform_block_array_elements *ub_array, char **name, in process_block_array() argument244 for (unsigned j = 0; j < ub_array->num_array_elements; j++) { in process_block_array()247 unsigned int element_idx = ub_array->array_elements[j]; in process_block_array()251 if (ub_array->array) { in process_block_array()253 ub_array->array->aoa_size); in process_block_array()254 process_block_array(ub_array->array, name, new_length, blocks, in process_block_array()319 struct uniform_block_array_elements *ub_array) in resize_block_array() argument323 type->fields.array->is_array() ? ub_array->array : NULL; in resize_block_array()329 ub_array->num_array_elements); in resize_block_array()330 ub_array->ir->array->type = new_type; in resize_block_array()