Home
last modified time | relevance | path

Searched refs:glsl_get_struct_field (Results 1 – 23 of 23) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_split_per_member_structs.c58 return glsl_get_struct_field(type, index); in member_type()
98 glsl_get_struct_field(var->interface_type, i); in split_variable()
Dnir_gather_xfb_info.c96 const struct glsl_type *child_type = glsl_get_struct_field(type, i); in add_var_xfb_outputs()
249 const struct glsl_type *ftype = glsl_get_struct_field(itype, f); in nir_gather_xfb_info_with_varyings()
Dnir_deref.c285 size_align(glsl_get_struct_field(struct_type, i), &elem_size, &elem_align); in struct_type_get_field_offset()
807 child->type = glsl_get_struct_field(parent->type, in nir_deref_instr_fixup_child_types()
1025 if (cast->type != glsl_get_struct_field(parent->type, 0)) in opt_replace_struct_wrapper_cast()
Dnir_validate.c469 glsl_get_struct_field(parent->type, instr->strct.index)); in validate_deref_instr()
1363 const struct glsl_type *elem_type = glsl_get_struct_field(type, i); in validate_constant()
Dnir_lower_io.c225 field_offset += type_size(glsl_get_struct_field(parent->type, i), bts); in get_io_offset()
2365 const struct glsl_type *field_type = glsl_get_struct_field(type, i); in write_constant()
Dnir_print.c429 print_constant(c->elements[i], glsl_get_struct_field(type, i), state); in print_constant()
Dnir_split_vars.c138 glsl_get_struct_field(struct_type, i), in init_field_for_type()
Dnir_builder.h1201 deref->type = glsl_get_struct_field(parent->type, index); in nir_build_deref_struct()
Dnir_serialize.c1084 deref->type = glsl_get_struct_field(parent->type, deref->strct.index); in read_deref()
/external/mesa3d/src/compiler/
Dnir_types.cpp75 glsl_get_struct_field(const glsl_type *type, unsigned index) in glsl_get_struct_field() function
830 count += glsl_type_get_sampler_count(glsl_get_struct_field(type, i)); in glsl_type_get_sampler_count()
854 count += glsl_type_get_image_count(glsl_get_struct_field(type, i)); in glsl_type_get_image_count()
Dnir_types.h46 const struct glsl_type *glsl_get_struct_field(const struct glsl_type *type,
/external/mesa3d/src/compiler/glsl/
Dgl_nir_link_uniform_blocks.c325 field_type = glsl_get_struct_field(type, i); in iterate_type_count_variables()
383 field_type = glsl_get_struct_field(type, i); in iterate_type_fill_variables()
Dgl_nir_link_uniform_initializers.c195 const struct glsl_type *field_type = glsl_get_struct_field(type, i); in set_uniform_initializer()
Dgl_nir_link_uniforms.c64 size += uniform_storage_size(glsl_get_struct_field(type, i)); in uniform_storage_size()
894 field_type = glsl_get_struct_field(type, i); in find_and_update_named_uniform_storage()
1073 const struct glsl_type *field_type = glsl_get_struct_field(type, i); in build_type_tree_for_type()
1220 field_type = glsl_get_struct_field(type, i); in nir_link_uniform()
Dgl_nir_linker.c239 const struct glsl_type *field_type = glsl_get_struct_field(type, i); in add_shader_variable()
/external/mesa3d/src/amd/vulkan/
Dradv_shader_info.c330 mark_16bit_ps_input(info, glsl_get_struct_field(type, i), location); in mark_16bit_ps_input()
331 location += glsl_count_attribute_slots(glsl_get_struct_field(type, i), false); in mark_16bit_ps_input()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_nir_uniforms.cpp126 const struct glsl_type *field_type = glsl_get_struct_field(type, i); in count_uniform_storage_slots()
/external/mesa3d/src/compiler/spirv/
Dvtn_cfg.c48 const struct glsl_type *elem_type = glsl_get_struct_field(type, i); in glsl_type_count_function_params()
74 const struct glsl_type *elem_type = glsl_get_struct_field(type, i); in glsl_type_add_to_function_params()
Dspirv_to_nir.c186 const struct glsl_type *elem_type = glsl_get_struct_field(type, i); in vtn_undef_ssa_value()
230 const struct glsl_type *elem_type = glsl_get_struct_field(type, i); in vtn_const_ssa_value()
2457 const struct glsl_type *elem_type = glsl_get_struct_field(type, i); in vtn_create_ssa_value()
Dvtn_variables.c1716 glsl_get_struct_field(glsl_without_array(var->type->type), i); in assign_missing_member_locations()
/external/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi_info.c92 const struct glsl_type *ft = glsl_get_struct_field(parent_type, i); in gather_usage_helper()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_nir.c1043 const struct glsl_type *ft = glsl_get_struct_field(parent_type, i); in get_deref_offset()
/external/mesa3d/src/amd/llvm/
Dac_nir_to_llvm.c4525 member_types[i] = glsl_to_llvm_type(ac, glsl_get_struct_field(type, i)); in glsl_to_llvm_type()