| /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/ |
| H A D | lower_named_interface_blocks.cpp | 166 ir_variable *new_var; local in function:flatten_named_interface_blocks_declarations::run 170 new_var = 177 new_var = 182 new_var->data.location = iface_t->fields.structure[i].location; 183 new_var->data.location_frac = 186 new_var->data.explicit_location = (new_var->data.location >= 0); 187 new_var->data.explicit_component = 189 new_var->data.offset = iface_t->fields.structure[i].offset; 190 new_var [all...] |
| H A D | lower_distance.cpp | 141 ir_variable **new_var; local in function:lower_distance_visitor::visit 151 new_var = &new_distance_out_var; 156 new_var = &new_distance_in_var; 165 if (!(*new_var)) { 169 *new_var = ir->clone(ralloc_parent(ir), NULL); 170 (*new_var)->name = ralloc_strdup(*new_var, GLSL_CLIP_VAR_NAME); 171 (*new_var)->data.location = VARYING_SLOT_CLIP_DIST0; 185 (*new_var)->data.max_array_access = new_size - 1; 188 (*new_var) 338 ir_variable **new_var = NULL; local in function:lower_distance_visitor::lower_distance_vec8 [all...] |
| H A D | opt_array_splitting.cpp | 475 ir_variable *new_var = local in function:optimize_split_arrays 477 new_var->data.invariant = entry->var->data.invariant; 478 new_var->data.precise = entry->var->data.precise; 483 new_var->data.memory_read_only = entry->var->data.memory_read_only; 484 new_var->data.memory_write_only = entry->var->data.memory_write_only; 485 new_var->data.memory_coherent = entry->var->data.memory_coherent; 486 new_var->data.memory_volatile = entry->var->data.memory_volatile; 487 new_var->data.memory_restrict = entry->var->data.memory_restrict; 488 new_var->data.image_format = entry->var->data.image_format; 490 entry->components[i] = new_var; [all...] |
| H A D | opt_structure_splitting.cpp | 341 ir_variable *new_var = local in function:do_structure_splitting 350 new_var->data.memory_read_only = 352 new_var->data.memory_write_only = 354 new_var->data.memory_coherent = 356 new_var->data.memory_volatile = 358 new_var->data.memory_restrict = 360 new_var->data.image_format = 364 entry->components[i] = new_var;
|
| H A D | lower_precision.cpp | 1209 ir_variable *new_var = local in function:__anon9ef6f1ac0110::lower_variables_visitor::visit_enter 1211 base_ir->insert_before(new_var); 1217 convert_split_assignment(new(mem_ctx) ir_dereference_variable(new_var), 1219 ir->value = new(mem_ctx) ir_dereference_variable(new_var); 1268 ir_variable *new_var = local in function:__anon9ef6f1ac0110::lower_variables_visitor::handle_rvalue 1270 base_ir->insert_before(new_var); 1276 convert_split_assignment(new(mem_ctx) ir_dereference_variable(new_var), 1278 *rvalue = new(mem_ctx) ir_dereference_variable(new_var); 1307 ir_variable *new_var = local in function:__anon9ef6f1ac0110::lower_variables_visitor::visit_enter 1309 base_ir->insert_before(new_var); 1338 ir_variable *new_var = local in function:__anon9ef6f1ac0110::lower_variables_visitor::visit_enter [all...] |
| H A D | opt_dead_builtin_varyings.cpp | 355 ir_variable **new_var, 370 new_var[i] = 376 new_var[i] = 379 new_var[i]->data.location = start_location + i; 380 new_var[i]->data.explicit_location = true; 381 new_var[i]->data.explicit_index = 0; 384 ir->get_head_raw()->insert_before(new_var[i]); 354 prepare_array(exec_list * ir,ir_variable ** new_var,int max_elements,unsigned start_location,const char * var_name,const char * mode_str,unsigned usage,unsigned external_usage) argument
|
| H A D | lower_tess_level.cpp | 201 ir_variable **new_var = NULL; local in function:lower_tess_level_visitor::lower_tess_level_array 205 new_var = &this->new_tess_level_outer_var; 209 new_var = &this->new_tess_level_inner_var; 212 if (new_var == NULL) 216 return new(ralloc_parent(ir)) ir_dereference_variable(*new_var);
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/ |
| H A D | lower_named_interface_blocks.cpp | 166 ir_variable *new_var; local in function:flatten_named_interface_blocks_declarations::run 170 new_var = 177 new_var = 182 new_var->data.location = iface_t->fields.structure[i].location; 183 new_var->data.explicit_location = (new_var->data.location >= 0); 184 new_var->data.offset = iface_t->fields.structure[i].offset; 185 new_var->data.explicit_xfb_offset = 187 new_var->data.xfb_buffer = 189 new_var [all...] |
| H A D | lower_distance.cpp | 141 ir_variable **new_var; local in function:lower_distance_visitor::visit 151 new_var = &new_distance_out_var; 156 new_var = &new_distance_in_var; 165 if (!(*new_var)) { 169 *new_var = ir->clone(ralloc_parent(ir), NULL); 170 (*new_var)->name = ralloc_strdup(*new_var, GLSL_CLIP_VAR_NAME); 171 (*new_var)->data.location = VARYING_SLOT_CLIP_DIST0; 185 (*new_var)->data.max_array_access = new_size - 1; 188 (*new_var) 338 ir_variable **new_var = NULL; local in function:lower_distance_visitor::lower_distance_vec8 [all...] |
| H A D | opt_array_splitting.cpp | 475 ir_variable *new_var = local in function:optimize_split_arrays 481 new_var->data.memory_read_only = entry->var->data.memory_read_only; 482 new_var->data.memory_write_only = entry->var->data.memory_write_only; 483 new_var->data.memory_coherent = entry->var->data.memory_coherent; 484 new_var->data.memory_volatile = entry->var->data.memory_volatile; 485 new_var->data.memory_restrict = entry->var->data.memory_restrict; 486 new_var->data.image_format = entry->var->data.image_format; 488 entry->components[i] = new_var;
|
| H A D | opt_structure_splitting.cpp | 341 ir_variable *new_var = local in function:do_structure_splitting 350 new_var->data.memory_read_only = 352 new_var->data.memory_write_only = 354 new_var->data.memory_coherent = 356 new_var->data.memory_volatile = 358 new_var->data.memory_restrict = 360 new_var->data.image_format = 364 entry->components[i] = new_var;
|
| H A D | opt_dead_builtin_varyings.cpp | 355 ir_variable **new_var, 370 new_var[i] = 376 new_var[i] = 379 new_var[i]->data.location = start_location + i; 380 new_var[i]->data.explicit_location = true; 381 new_var[i]->data.explicit_index = 0; 384 ir->get_head_raw()->insert_before(new_var[i]); 354 prepare_array(exec_list * ir,ir_variable ** new_var,int max_elements,unsigned start_location,const char * var_name,const char * mode_str,unsigned usage,unsigned external_usage) argument
|
| H A D | lower_tess_level.cpp | 201 ir_variable **new_var = NULL; local in function:lower_tess_level_visitor::lower_tess_level_array 205 new_var = &this->new_tess_level_outer_var; 209 new_var = &this->new_tess_level_inner_var; 212 if (new_var == NULL) 216 return new(ralloc_parent(ir)) ir_dereference_variable(*new_var);
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/ |
| H A D | nir_lower_io_to_vector.c | 177 build_array_deref_of_new_var(nir_builder *b, nir_variable *new_var, argument 181 return nir_build_deref_var(b, new_var); 184 build_array_deref_of_new_var(b, new_var, nir_deref_instr_parent(leader)); 267 nir_variable *new_var = old_deref->mode == nir_var_shader_in ? local in function:nir_lower_io_to_vector_impl 270 if (!new_var) 273 assert(new_var->data.location == VARYING_SLOT_VAR0 + loc); 274 const unsigned new_frac = new_var->data.location_frac; 285 build_array_deref_of_new_var(&b, new_var, old_deref); 317 nir_variable *new_var = new_outputs[loc][old_frac]; local in function:nir_lower_io_to_vector_impl 318 if (!new_var) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| H A D | nir_lower_io_to_vector.c | 320 build_array_deref_of_new_var(nir_builder *b, nir_variable *new_var, argument 324 return nir_build_deref_var(b, new_var); 327 build_array_deref_of_new_var(b, new_var, nir_deref_instr_parent(leader)); 358 nir_builder *b, nir_variable *new_var, 361 nir_deref_instr *deref = nir_build_deref_var(b, new_var); 363 bool per_vertex = nir_is_arrayed_io(new_var, shader->info.stage); 380 new_var->data.mode == nir_var_shader_in; 475 nir_variable *new_var = old_var->data.mode == nir_var_shader_in ? local in function:nir_lower_io_to_vector_impl 480 if (!new_var) 483 const unsigned new_frac = new_var 357 build_array_deref_of_new_var_flat(nir_shader * shader,nir_builder * b,nir_variable * new_var,nir_deref_instr * leader,unsigned base) argument 530 nir_variable *new_var = new_outputs[loc][old_frac]; local in function:nir_lower_io_to_vector_impl [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/lima/standalone/ |
| H A D | lima_compiler_cmdline.c | 49 insert_sorted(struct exec_list *var_list, nir_variable *new_var) argument 52 if (var->data.location > new_var->data.location && 53 new_var->data.location >= 0) { 54 exec_node_insert_node_before(&var->node, &new_var->node); 58 exec_list_push_tail(var_list, &new_var->node);
|
| /xsrc/external/mit/MesaLib/dist/src/asahi/compiler/ |
| H A D | cmdline.c | 48 insert_sorted(struct exec_list *var_list, nir_variable *new_var) argument 51 if (var->data.location > new_var->data.location) { 52 exec_node_insert_node_before(&var->node, &new_var->node); 56 exec_list_push_tail(var_list, &new_var->node);
|
| /xsrc/external/mit/MesaLib/dist/src/panfrost/bifrost/ |
| H A D | cmdline.c | 80 insert_sorted(struct exec_list *var_list, nir_variable *new_var) argument 83 if (var->data.location > new_var->data.location) { 84 exec_node_insert_node_before(&var->node, &new_var->node); 88 exec_list_push_tail(var_list, &new_var->node);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/compiler/ |
| H A D | radeon_variable.c | 319 struct rc_variable * new_var; local in function:get_variable_pair_helper 343 new_var = rc_variable(c, file, sub_inst->DestIndex, writemask, 345 get_variable_helper(variable_list, new_var); 364 struct rc_variable * new_var; local in function:rc_get_variables 372 new_var = rc_variable(c, inst->U.I.DstReg.File, 375 get_variable_helper(&variable_list, new_var);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/compiler/ |
| H A D | radeon_variable.c | 319 struct rc_variable * new_var; local in function:get_variable_pair_helper 343 new_var = rc_variable(c, file, sub_inst->DestIndex, writemask, 345 get_variable_helper(variable_list, new_var); 364 struct rc_variable * new_var; local in function:rc_get_variables 372 new_var = rc_variable(c, inst->U.I.DstReg.File, 375 get_variable_helper(&variable_list, new_var);
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/ |
| H A D | st_nir_lower_builtin.c | 199 nir_variable *new_var = get_variable(state, &path, element); local in function:lower_builtin_block 204 nir_ssa_def *def = nir_load_var(b, new_var);
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/ |
| H A D | st_nir_lower_builtin.c | 214 nir_variable *new_var = get_variable(state, &path, element); local in function:lower_builtin_block 219 nir_ssa_def *def = nir_load_var(b, new_var);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/ir3/ |
| H A D | ir3_cmdline.c | 69 insert_sorted(struct exec_list *var_list, nir_variable *new_var) argument 72 if (var->data.location > new_var->data.location) { 73 exec_node_insert_node_before(&var->node, &new_var->node); 77 exec_list_push_tail(var_list, &new_var->node);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/sfn/ |
| H A D | sfn_nir.cpp | 387 insert_uniform_sorted(struct exec_list *var_list, nir_variable *new_var) argument 390 if (var->data.binding > new_var->data.binding || 391 (var->data.binding == new_var->data.binding && 392 var->data.offset > new_var->data.offset)) { 393 exec_node_insert_node_before(&var->node, &new_var->node); 397 exec_list_push_tail(var_list, &new_var->node); 413 insert_fsoutput_sorted(struct exec_list *var_list, nir_variable *new_var) argument 417 if (var->data.location > new_var->data.location || 418 (var->data.location == new_var->data.location && 419 var->data.index > new_var [all...] |
| /xsrc/external/mit/MesaLib/dist/src/microsoft/compiler/ |
| H A D | dxil_nir.c | 1136 nir_variable *new_var; member in struct:dxil_nir_split_clip_cull_distance_params 1154 nir_variable *new_var = params->new_var; local in function:dxil_nir_split_clip_cull_distance_instr 1182 if (!new_var) { 1192 new_var = nir_variable_clone(var, params->shader); 1193 nir_shader_add_variable(params->shader, new_var); 1196 new_var->type = glsl_array_type(glsl_float_type(), new_length, 0); 1197 new_var->data.location++; 1198 new_var->data.location_frac = 0; 1199 params->new_var 1431 nir_variable *new_var = _mesa_hash_table_u64_search(data, old_var->data.binding); local in function:redirect_sampler_derefs [all...] |