Home
last modified time | relevance | path

Searched refs:old_var (Results 1 – 10 of 10) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
Dnir_split_64bit_vec3_and_vec4.c133 get_var_pair(nir_builder *b, nir_variable *old_var, in get_var_pair() argument
138 glsl_without_array_or_matrix(old_var->type)); in get_var_pair()
142 struct hash_entry *entry = _mesa_hash_table_search(split_vars, old_var); in get_var_pair()
145 new_var->xy = nir_variable_clone(old_var, b->shader); in get_var_pair()
146 new_var->zw = nir_variable_clone(old_var, b->shader); in get_var_pair()
150 if (glsl_type_is_array(old_var->type)) { in get_var_pair()
151 unsigned array_size = glsl_get_aoa_size(old_var->type); in get_var_pair()
161 _mesa_hash_table_insert(split_vars, old_var, new_var); in get_var_pair()
171 nir_variable *old_var = nir_intrinsic_get_var(intr, 0); in split_load_deref() local
173 glsl_without_array_or_matrix(old_var->type)); in split_load_deref()
[all …]
Dnir_lower_io_to_vector.c472 nir_variable *old_var = nir_deref_instr_get_variable(old_deref); in nir_lower_io_to_vector_impl() local
474 const unsigned loc = get_slot(old_var); in nir_lower_io_to_vector_impl()
475 const unsigned old_frac = old_var->data.location_frac; in nir_lower_io_to_vector_impl()
476 nir_variable *new_var = old_var->data.mode == nir_var_shader_in ? in nir_lower_io_to_vector_impl()
479 bool flat = old_var->data.mode == nir_var_shader_in ? in nir_lower_io_to_vector_impl()
527 nir_variable *old_var = nir_deref_instr_get_variable(old_deref); in nir_lower_io_to_vector_impl() local
529 const unsigned loc = get_slot(old_var); in nir_lower_io_to_vector_impl()
530 const unsigned old_frac = old_var->data.location_frac; in nir_lower_io_to_vector_impl()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir_lower_64bit.cpp69 VarSplit get_var_pair(nir_variable *old_var);
413 auto old_var = nir_intrinsic_get_var(intr, 0); in split_load_deref_array() local
414 unsigned old_components = old_var->type->without_array()->components(); in split_load_deref_array()
418 auto vars = get_var_pair(old_var); in split_load_deref_array()
435 auto old_var = nir_intrinsic_get_var(intr, 0); in split_store_deref_array() local
436 unsigned old_components = old_var->type->without_array()->components(); in split_store_deref_array()
442 auto vars = get_var_pair(old_var); in split_store_deref_array()
463 auto old_var = nir_intrinsic_get_var(intr, 0); in split_store_deref_var() local
464 unsigned old_components = old_var->type->without_array()->components(); in split_store_deref_var()
470 auto vars = get_var_pair(old_var); in split_store_deref_var()
[all …]
/third_party/mesa3d/src/compiler/glsl/
Dlower_distance.cpp140 ir_variable **old_var; in visit() local
150 old_var = &old_distance_out_var; in visit()
155 old_var = &old_distance_in_var; in visit()
163 *old_var = ir; in visit()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_nir.c1532 nir_variable *old_var = old_tail->var; in redirect_sampler_derefs() local
1533 if (glsl_type_is_bare_sampler(glsl_without_array(old_var->type)) && in redirect_sampler_derefs()
1534 glsl_sampler_type_is_shadow(glsl_without_array(old_var->type)) == in redirect_sampler_derefs()
1540 uint64_t var_key = ((uint64_t)old_var->data.descriptor_set << 32) | in redirect_sampler_derefs()
1541 old_var->data.binding; in redirect_sampler_derefs()
1544 new_var = nir_variable_clone(old_var, b->shader); in redirect_sampler_derefs()
1547 get_bare_samplers_for_type(old_var->type, tex->is_shadow); in redirect_sampler_derefs()
1613 nir_variable *old_var = old_tail->var; in redirect_texture_derefs() local
1614 if (glsl_type_is_texture(glsl_without_array(old_var->type)) || in redirect_texture_derefs()
1615 glsl_type_is_image(glsl_without_array(old_var->type))) { in redirect_texture_derefs()
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Ddesc_sroa.h99 void CopyDecorationsForNewVariable(Instruction* old_var, uint32_t index,
Ddesc_sroa.cpp169 Instruction* old_var, uint32_t index, uint32_t new_var_id, in CopyDecorationsForNewVariable() argument
174 get_decoration_mgr()->GetDecorationsFor(old_var->result_id(), true)) { in CopyDecorationsForNewVariable()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Ddesc_sroa.h99 void CopyDecorationsForNewVariable(Instruction* old_var, uint32_t index,
Ddesc_sroa.cpp169 Instruction* old_var, uint32_t index, uint32_t new_var_id, in CopyDecorationsForNewVariable() argument
174 get_decoration_mgr()->GetDecorationsFor(old_var->result_id(), true)) { in CopyDecorationsForNewVariable()
/third_party/python/Lib/distutils/tests/
Dtest_build_ext.py125 old_var = _config_vars.get('Py_ENABLE_SHARED')
131 if old_var is None:
134 _config_vars['Py_ENABLE_SHARED'] = old_var