Home
last modified time | relevance | path

Searched refs:member_types (Results 1 – 25 of 29) sorted by relevance

12

/third_party/skia/third_party/externals/tint/src/inspector/
Dtest_inspector_builder.cc93 std::vector<const ast::Type*> member_types, in MakeStructType() argument
96 for (auto* type : member_types) { in MakeStructType()
122 std::vector<const ast::Type*> member_types) { in MakeUniformBufferType() argument
123 return MakeStructType(name, member_types, true); in MakeUniformBufferType()
128 std::vector<const ast::Type*> member_types) { in MakeStorageBufferTypes() argument
129 MakeStructType(name, member_types, true); in MakeStorageBufferTypes()
Dtest_inspector_builder.h165 std::vector<const ast::Type*> member_types,
192 std::vector<const ast::Type*> member_types);
200 std::vector<const ast::Type*> member_types);
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_parser.cpp133 target.member_types = source.member_types; in parse()
681 type.member_types.push_back(ops[i]); in parse()
1169 if (a.member_types.size() != b.member_types.size()) in types_are_logically_equivalent()
1172 size_t member_types = a.member_types.size(); in types_are_logically_equivalent() local
1173 for (size_t i = 0; i < member_types; i++) in types_are_logically_equivalent()
1175 …if (!types_are_logically_equivalent(get<SPIRType>(a.member_types[i]), get<SPIRType>(b.member_types in types_are_logically_equivalent()
Dspirv_cross_parsed_ir.cpp543 if (type.member_types.empty()) in get_buffer_block_type_flags()
547 for (uint32_t i = 1; i < uint32_t(type.member_types.size()); i++) in get_buffer_block_type_flags()
565 if (type.member_types.empty()) in get_buffer_block_flags()
1040 else if (!constant_type.member_types.empty()) in make_constant_null()
1042 uint32_t member_ids = increase_bound_by(uint32_t(constant_type.member_types.size())); in make_constant_null()
1043 SmallVector<uint32_t> elements(constant_type.member_types.size()); in make_constant_null()
1044 for (uint32_t i = 0; i < constant_type.member_types.size(); i++) in make_constant_null()
1046 make_constant_null(member_ids + i, constant_type.member_types[i], add_to_typed_id_set); in make_constant_null()
Dspirv_msl.cpp898 auto mbr_cnt = var_type.member_types.size(); in build_implicit_builtins()
1805 for (uint32_t mbr_idx = 0; mbr_idx < uint32_t(p_type->member_types.size()); mbr_idx++) in extract_global_variables_from_function()
1850 for (auto &mbr_type_id : p_type->member_types) in extract_global_variables_from_function()
1924 uint32_t mbr_cnt = uint32_t(type.member_types.size()); in mark_as_packable()
1927 uint32_t mbr_type_id = type.member_types[mbr_idx]; in mark_as_packable()
2113 uint32_t ib_mbr_idx = uint32_t(ib_type.member_types.size()); in add_plain_variable_to_interface_block()
2150 ib_type.member_types.push_back(build_msl_interpolant_type(type_id, is_noperspective)); in add_plain_variable_to_interface_block()
2152 ib_type.member_types.push_back(type_id); in add_plain_variable_to_interface_block()
2236 ib_type.member_types[ib_mbr_idx] = build_msl_interpolant_type(type_id, is_noperspective); in add_plain_variable_to_interface_block()
2238 ib_type.member_types[ib_mbr_idx] = type_id; in add_plain_variable_to_interface_block()
[all …]
Dspirv_cross.cpp872 for (uint32_t i = 0; i < uint32_t(type.member_types.size()); i++) in get_shader_resources()
874 resource.value_type_id = type.member_types[i]; in get_shader_resources()
1003 for (uint32_t i = 0; i < uint32_t(type.member_types.size()); i++) in type_is_block_like()
1695 auto *type_meta = ir.find_meta(type.member_types[index]); in type_struct_member_array_stride()
1729 if (type.member_types.empty()) in get_declared_struct_size()
1732 uint32_t last = uint32_t(type.member_types.size() - 1); in get_declared_struct_size()
1740 if (type.member_types.empty()) in get_declared_struct_size_runtime_array()
1744 auto &last_type = get<SPIRType>(type.member_types.back()); in get_declared_struct_size_runtime_array()
1746 …size += array_size * type_struct_member_array_stride(type, uint32_t(type.member_types.size() - 1)); in get_declared_struct_size_runtime_array()
1908 if (struct_type.member_types.empty()) in get_declared_struct_member_size()
[all …]
Dspirv_reflect.cpp369 auto size = type.member_types.size(); in emit_type()
382 auto &membertype = get<SPIRType>(type.member_types[index]); in emit_type_member()
426 auto &membertype = get<SPIRType>(type.member_types[index]); in emit_type_member_qualifiers()
438 if (has_decoration(type.member_types[index], DecorationArrayStride)) in emit_type_member_qualifiers()
440 … get_decoration(type.member_types[index], DecorationArrayStride)); in emit_type_member_qualifiers()
Dspirv_cross_util.cpp51 for (uint32_t i = 0; i < uint32_t(type.member_types.size()); i++) in rename_interface_variable()
Dspirv_glsl.cpp1093 return type.basetype == SPIRType::Struct && type.member_types.empty(); in type_is_empty()
1117 for (auto &member : type.member_types) in emit_struct()
1409 for (uint32_t i = 0; i < type.member_types.size(); i++) in type_to_packed_alignment()
1413 …max(alignment, type_to_packed_alignment(get<SPIRType>(type.member_types[i]), member_flags, packing… in type_to_packed_alignment()
1528 for (uint32_t i = 0; i < type.member_types.size(); i++) in type_to_packed_size()
1531 auto &member_type = get<SPIRType>(type.member_types[i]); in type_to_packed_size()
1613 for (uint32_t i = 0; i < type.member_types.size(); i++) in buffer_is_packing_standard()
1615 auto &memb_type = get<SPIRType>(type.member_types[i]); in buffer_is_packing_standard()
1633 is_top_level_block && size_t(i + 1) == type.member_types.size() && !memb_type.array.empty(); in buffer_is_packing_standard()
1699 if (!memb_type.pointer && !memb_type.member_types.empty() && in buffer_is_packing_standard()
[all …]
Dspirv_hlsl.cpp786 for (uint32_t i = 0; i < uint32_t(type.member_types.size()); i++) in type_to_consumed_locations()
787 elements += type_to_consumed_locations(get<SPIRType>(type.member_types[i])); in type_to_consumed_locations()
863 auto &mbr_type = get<SPIRType>(type.member_types[member_index]); in emit_interface_block_member_in_struct()
1012 uint32_t member_count = uint32_t(type.member_types.size()); in emit_builtin_variables()
1413 for (uint32_t i = 0; i < uint32_t(type.member_types.size()); i++) in emit_resources()
2158 for (auto &member : type.member_types) in emit_buffer_block()
2241 const auto &member = type.member_types[i]; in emit_push_constant_block()
2595 for (uint32_t mbr_idx = 0; mbr_idx < uint32_t(type.member_types.size()); mbr_idx++) in emit_hlsl_entry_point()
2680 for (uint32_t mbr_idx = 0; mbr_idx < uint32_t(type.member_types.size()); mbr_idx++) in emit_hlsl_entry_point()
3766 uint32_t member_count = uint32_t(type.member_types.size()); in read_access_chain_struct()
[all …]
Dspirv_common.hpp571 SmallVector<TypeID> member_types; member
/third_party/libabigail/src/
Dabg-writer.cc3688 canonical_type_sptr_set_type member_types; in write_class_decl() local
3715 if (member_types.find(m) != member_types.end()) in write_class_decl()
3716 member_types.insert(m); in write_class_decl()
3720 if (!member_types.empty()) in write_class_decl()
3728 member_types.empty()); in write_class_decl()
3731 sort_types(member_types, sorted_types); in write_class_decl()
3739 if (!member_types.empty()) in write_class_decl()
3785 for (class_decl::member_types::const_iterator ti = in write_class_decl()
3966 for (class_decl::member_types::const_iterator ti = in write_union_decl()
Dabg-ir.cc21095 member_types& mem_types, in class_or_union()
21108 for (member_types::iterator i = mem_types.begin(); in class_or_union()
21222 for (member_types::const_iterator i = get_member_types().begin(); in traverse()
21399 for (member_types::const_iterator it = get_member_types().begin(); in get_num_anonymous_member_classes()
21417 for (member_types::const_iterator it = get_member_types().begin(); in get_num_anonymous_member_unions()
21435 for (member_types::const_iterator it = get_member_types().begin(); in get_num_anonymous_member_enums()
22366 member_types& mbr_types, in class_decl()
22417 member_types& mbr_types, data_members& data_mbrs, in class_decl()
23899 for (member_types::const_iterator i = get_member_types().begin(); in traverse()
24328 visibility vis, member_types& mbr_types, in union_decl()
[all …]
/third_party/spirv-tools/source/opt/
Dtype_manager.cpp959 auto& member_types = type->AsStruct()->element_types(); in ReplaceForwardPointers() local
960 for (auto& member_type : member_types) { in ReplaceForwardPointers()
1017 auto& member_types = type->AsStruct()->element_types(); in ReplaceType() local
1018 for (auto& member_type : member_types) { in ReplaceType()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dtype_manager.cpp960 auto& member_types = type->AsStruct()->element_types(); in ReplaceForwardPointers() local
961 for (auto& member_type : member_types) { in ReplaceForwardPointers()
1018 auto& member_types = type->AsStruct()->element_types(); in ReplaceType() local
1019 for (auto& member_type : member_types) { in ReplaceType()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dtype_manager.cpp960 auto& member_types = type->AsStruct()->element_types(); in ReplaceForwardPointers() local
961 for (auto& member_type : member_types) { in ReplaceForwardPointers()
1018 auto& member_types = type->AsStruct()->element_types(); in ReplaceType() local
1019 for (auto& member_type : member_types) { in ReplaceType()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidation_state.cpp920 uint32_t struct_type_id, std::vector<uint32_t>* member_types) const { in GetStructMemberTypes()
921 member_types->clear(); in GetStructMemberTypes()
928 *member_types = in GetStructMemberTypes()
931 if (member_types->empty()) return false; in GetStructMemberTypes()
Dvalidation_state.h557 std::vector<uint32_t>* member_types) const;
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidation_state.cpp920 uint32_t struct_type_id, std::vector<uint32_t>* member_types) const { in GetStructMemberTypes()
921 member_types->clear(); in GetStructMemberTypes()
928 *member_types = in GetStructMemberTypes()
931 if (member_types->empty()) return false; in GetStructMemberTypes()
Dvalidation_state.h557 std::vector<uint32_t>* member_types) const;
/third_party/libabigail/include/
Dabg-ir.h3916 typedef vector<type_base_sptr> member_types; typedef
3927 member_types& mbrs, data_members& data_mbrs,
4134 member_types& mbrs, data_members& data_mbrs,
4141 member_types& mbrs, data_members& data_mbrs,
4349 visibility vis, member_types& mbrs,
4354 visibility vis, member_types& mbrs,
/third_party/spirv-tools/source/val/
Dvalidation_state.cpp1080 uint32_t struct_type_id, std::vector<uint32_t>* member_types) const { in GetStructMemberTypes()
1081 member_types->clear(); in GetStructMemberTypes()
1088 *member_types = in GetStructMemberTypes()
1091 if (member_types->empty()) return false; in GetStructMemberTypes()
Dvalidation_state.h590 std::vector<uint32_t>* member_types) const;
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dspirv_builder.h408 spirv_builder_type_struct(struct spirv_builder *b, const SpvId member_types[],
Dspirv_builder.c1361 spirv_builder_type_struct(struct spirv_builder *b, const SpvId member_types[], in spirv_builder_type_struct() argument
1370 spirv_buffer_emit_word(&b->types_const_defs, member_types[i]); in spirv_builder_type_struct()

12