/third_party/skia/third_party/externals/spirv-tools/source/val/ |
H A D | validate_composites.cpp | 37 uint32_t* member_type) { in GetExtractInsertValueType() 58 *member_type = _.GetTypeId(inst->word(composite_id_index)); in GetExtractInsertValueType() 59 if (*member_type == 0) { in GetExtractInsertValueType() 66 const Instruction* const type_inst = _.FindDef(*member_type); in GetExtractInsertValueType() 70 *member_type = type_inst->word(2); in GetExtractInsertValueType() 80 *member_type = type_inst->word(2); in GetExtractInsertValueType() 92 *member_type = type_inst->word(2); in GetExtractInsertValueType() 109 *member_type = type_inst->word(2); in GetExtractInsertValueType() 123 *member_type = type_inst->word(component_index + 2); in GetExtractInsertValueType() 127 *member_type in GetExtractInsertValueType() 35 GetExtractInsertValueType(ValidationState_t& _, const Instruction* inst, uint32_t* member_type) GetExtractInsertValueType() argument 329 const uint32_t member_type = struct_inst->word(operand_index); ValidateCompositeConstruct() local 375 uint32_t member_type = 0; ValidateCompositeExtract() local 410 uint32_t member_type = 0; ValidateCompositeInsert() local [all...] |
H A D | validate_type.cpp | 328 auto member_type = _.FindDef(member_type_id); in ContainsOpaqueType() local 329 if (ContainsOpaqueType(_, member_type)) return true; in ContainsOpaqueType() 348 auto member_type = _.FindDef(member_type_id); in ValidateTypeStruct() local 349 if (!member_type || !spvOpcodeGeneratesType(member_type->opcode())) { in ValidateTypeStruct() 354 if (member_type->opcode() == SpvOpTypeVoid) { in ValidateTypeStruct() 358 if (SpvOpTypeStruct == member_type->opcode() && in ValidateTypeStruct() 371 member_type->opcode() == SpvOpTypeRuntimeArray) { in ValidateTypeStruct()
|
H A D | validate_constants.cpp | 237 const auto member_type = _.FindDef(member_type_id); in ValidateConstantComposite() local 238 if (!member_type || member_type->id() != constituent_type->id()) { in ValidateConstantComposite()
|
H A D | validate_memory.cpp | 192 auto member_type = _.FindDef(member_type_id); in ContainsInvalidBool() local 193 if (ContainsInvalidBool(_, member_type, skip_builtin)) return true; in ContainsInvalidBool() 221 auto member_type = _.FindDef(member_type_id); in ContainsCooperativeMatrix() local 222 if (ContainsCooperativeMatrix(_, member_type)) return true; in ContainsCooperativeMatrix() 307 const auto member_type = _.FindDef(member_id); in DoesStructContainRTA() local 308 if (member_type->opcode() == SpvOpTypeRuntimeArray) return true; in DoesStructContainRTA()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/ |
H A D | validate_composites.cpp | 37 uint32_t* member_type) { in GetExtractInsertValueType() 58 *member_type = _.GetTypeId(inst->word(composite_id_index)); in GetExtractInsertValueType() 59 if (*member_type == 0) { in GetExtractInsertValueType() 66 const Instruction* const type_inst = _.FindDef(*member_type); in GetExtractInsertValueType() 70 *member_type = type_inst->word(2); in GetExtractInsertValueType() 80 *member_type = type_inst->word(2); in GetExtractInsertValueType() 92 *member_type = type_inst->word(2); in GetExtractInsertValueType() 109 *member_type = type_inst->word(2); in GetExtractInsertValueType() 123 *member_type = type_inst->word(component_index + 2); in GetExtractInsertValueType() 127 *member_type in GetExtractInsertValueType() 35 GetExtractInsertValueType(ValidationState_t& _, const Instruction* inst, uint32_t* member_type) GetExtractInsertValueType() argument 329 const uint32_t member_type = struct_inst->word(operand_index); ValidateCompositeConstruct() local 375 uint32_t member_type = 0; ValidateCompositeExtract() local 410 uint32_t member_type = 0; ValidateCompositeInsert() local [all...] |
H A D | validate_type.cpp | 328 auto member_type = _.FindDef(member_type_id); in ContainsOpaqueType() local 329 if (ContainsOpaqueType(_, member_type)) return true; in ContainsOpaqueType() 348 auto member_type = _.FindDef(member_type_id); in ValidateTypeStruct() local 349 if (!member_type || !spvOpcodeGeneratesType(member_type->opcode())) { in ValidateTypeStruct() 354 if (member_type->opcode() == SpvOpTypeVoid) { in ValidateTypeStruct() 358 if (SpvOpTypeStruct == member_type->opcode() && in ValidateTypeStruct() 371 member_type->opcode() == SpvOpTypeRuntimeArray) { in ValidateTypeStruct()
|
H A D | validate_constants.cpp | 237 const auto member_type = _.FindDef(member_type_id); in ValidateConstantComposite() local 238 if (!member_type || member_type->id() != constituent_type->id()) { in ValidateConstantComposite()
|
/third_party/spirv-tools/source/val/ |
H A D | validate_composites.cpp | 35 uint32_t* member_type) { in GetExtractInsertValueType() 57 *member_type = _.GetTypeId(inst->word(composite_id_index)); in GetExtractInsertValueType() 58 if (*member_type == 0) { in GetExtractInsertValueType() 65 const Instruction* const type_inst = _.FindDef(*member_type); in GetExtractInsertValueType() 69 *member_type = type_inst->word(2); in GetExtractInsertValueType() 79 *member_type = type_inst->word(2); in GetExtractInsertValueType() 91 *member_type = type_inst->word(2); in GetExtractInsertValueType() 108 *member_type = type_inst->word(2); in GetExtractInsertValueType() 122 *member_type = type_inst->word(component_index + 2); in GetExtractInsertValueType() 127 *member_type in GetExtractInsertValueType() 33 GetExtractInsertValueType(ValidationState_t& _, const Instruction* inst, uint32_t* member_type) GetExtractInsertValueType() argument 329 const uint32_t member_type = struct_inst->word(operand_index); ValidateCompositeConstruct() local 394 uint32_t member_type = 0; ValidateCompositeExtract() local 429 uint32_t member_type = 0; ValidateCompositeInsert() local [all...] |
H A D | validate_type.cpp | 319 auto member_type = _.FindDef(member_type_id); in ValidateTypeStruct() local 320 if (!member_type || !spvOpcodeGeneratesType(member_type->opcode())) { in ValidateTypeStruct() 325 if (member_type->opcode() == spv::Op::OpTypeVoid) { in ValidateTypeStruct() 329 if (spv::Op::OpTypeStruct == member_type->opcode() && in ValidateTypeStruct() 342 member_type->opcode() == spv::Op::OpTypeRuntimeArray) { in ValidateTypeStruct()
|
H A D | validate_constants.cpp | 236 const auto member_type = _.FindDef(member_type_id); in ValidateConstantComposite() local 237 if (!member_type || member_type->id() != constituent_type->id()) { in ValidateConstantComposite()
|
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
H A D | transformation_add_type_struct.cpp | 40 for (auto member_type : message_.member_type_id()) { in IsApplicable() 41 auto type = ir_context->get_type_mgr()->GetType(member_type); in IsApplicable() 43 fuzzerutil::HasBlockOrBufferBlockDecoration(ir_context, member_type)) { in IsApplicable() 54 fuzzerutil::MembersHaveBuiltInDecoration(ir_context, member_type)) { in IsApplicable()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
H A D | transformation_add_type_struct.cpp | 40 for (auto member_type : message_.member_type_id()) { in IsApplicable() 41 auto type = ir_context->get_type_mgr()->GetType(member_type); in IsApplicable() 43 fuzzerutil::HasBlockOrBufferBlockDecoration(ir_context, member_type)) { in IsApplicable() 54 fuzzerutil::MembersHaveBuiltInDecoration(ir_context, member_type)) { in IsApplicable()
|
/third_party/spirv-tools/source/fuzz/ |
H A D | transformation_add_type_struct.cpp | 40 for (auto member_type : message_.member_type_id()) { in IsApplicable() 41 auto type = ir_context->get_type_mgr()->GetType(member_type); in IsApplicable() 43 fuzzerutil::HasBlockOrBufferBlockDecoration(ir_context, member_type)) { in IsApplicable() 54 fuzzerutil::MembersHaveBuiltInDecoration(ir_context, member_type)) { in IsApplicable()
|
/third_party/skia/third_party/externals/tint/src/inspector/ |
H A D | test_inspector_builder.cc | 168 const ast::Type* member_type; in MakeStructVariableReferenceBodyFunction() local 169 std::tie(member_idx, member_type) = member; in MakeStructVariableReferenceBodyFunction() 170 std::string member_name = StructMemberName(member_idx, member_type); in MakeStructVariableReferenceBodyFunction() 172 stmts.emplace_back(Decl(Var("local" + member_name, member_type))); in MakeStructVariableReferenceBodyFunction() 177 const ast::Type* member_type; in MakeStructVariableReferenceBodyFunction() local 178 std::tie(member_idx, member_type) = member; in MakeStructVariableReferenceBodyFunction() 179 std::string member_name = StructMemberName(member_idx, member_type); in MakeStructVariableReferenceBodyFunction()
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_split_per_member_structs.c | 48 member_type(const struct glsl_type *type, unsigned index) in member_type() function 52 member_type(glsl_get_array_element(type), index); in member_type() 95 member_type(var->type, i), member_name); in split_variable()
|
/third_party/skia/third_party/externals/tint/src/writer/glsl/ |
H A D | generator_impl_member_accessor_test.cc | 158 create_type_func_ptr member_type; member 163 auto* ty = c.member_type(b.ty); in operator <<() 182 Member("b", p.member_type(ty)), in TEST_P() 234 Member("b", p.member_type(ty)), in TEST_P() 238 Decl(Var("value", p.member_type(ty), ast::StorageClass::kNone, in TEST_P() 239 Construct(p.member_type(ty)))), in TEST_P()
|
/third_party/skia/third_party/externals/tint/src/writer/hlsl/ |
H A D | generator_impl_member_accessor_test.cc | 150 create_type_func_ptr member_type; member 155 auto* ty = c.member_type(b.ty); in operator <<() 174 Member("b", p.member_type(ty)), in TEST_P() 246 Member("b", p.member_type(ty)), in TEST_P() 250 Decl(Var("value", p.member_type(ty), ast::StorageClass::kNone, in TEST_P() 251 Construct(p.member_type(ty)))), in TEST_P()
|
/third_party/python/Lib/ |
H A D | enum.py | 489 member_type, first_enum = metacls._get_mixins_(cls, bases) 527 member_type, first_enum = metacls._get_mixins_(cls, bases) 529 classdict, member_type, first_enum, 544 classdict['_member_type_'] = member_type 577 if member_type is object: 583 enum_class.__format__ = member_type.__format__ 586 method = member_type.__str__ 588 # if member_type does not define __str__, object.__str__ will use 590 method = member_type.__repr__ 599 data_type_method = getattr(member_type, nam [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | type_manager.cpp | 961 for (auto& member_type : member_types) { in ReplaceForwardPointers() 962 if (member_type->AsForwardPointer()) { in ReplaceForwardPointers() 963 member_type = member_type->AsForwardPointer()->target_pointer(); in ReplaceForwardPointers() 964 assert(member_type); in ReplaceForwardPointers() 1019 for (auto& member_type : member_types) { in ReplaceType() 1020 if (member_type == original_type) { in ReplaceType() 1021 member_type = new_type; in ReplaceType()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | type_manager.cpp | 961 for (auto& member_type : member_types) { in ReplaceForwardPointers() 962 if (member_type->AsForwardPointer()) { in ReplaceForwardPointers() 963 member_type = member_type->AsForwardPointer()->target_pointer(); in ReplaceForwardPointers() 964 assert(member_type); in ReplaceForwardPointers() 1019 for (auto& member_type : member_types) { in ReplaceType() 1020 if (member_type == original_type) { in ReplaceType() 1021 member_type = new_type; in ReplaceType()
|
/third_party/spirv-tools/source/opt/ |
H A D | type_manager.cpp | 994 for (auto& member_type : member_types) { in ReplaceForwardPointers() 995 if (member_type->AsForwardPointer()) { in ReplaceForwardPointers() 996 member_type = member_type->AsForwardPointer()->target_pointer(); in ReplaceForwardPointers() 997 assert(member_type); in ReplaceForwardPointers() 1052 for (auto& member_type : member_types) { in ReplaceType() 1053 if (member_type == original_type) { in ReplaceType() 1054 member_type = new_type; in ReplaceType()
|
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/ |
H A D | generator.py | 1232 member_type = getElemType(member) 1234 if member_type in ('void', 'char') or self.paramIsArray(member) or self.paramIsPointer(member): 1237 if self.conventions.type_always_valid(member_type): 1240 member_category = self.getTypeCategory(member_type) 1246 if self.isStructAlwaysValid(member_type) is False:
|
H A D | scriptgenerator.py | 284 for member_type in memberTypes: 285 self.addMapping(typeName, member_type)
|
/third_party/vulkan-headers/registry/ |
H A D | generator.py | 1232 member_type = getElemType(member) 1234 if member_type in ('void', 'char') or self.paramIsArray(member) or self.paramIsPointer(member): 1237 if self.conventions.type_always_valid(member_type): 1240 member_category = self.getTypeCategory(member_type) 1246 if self.isStructAlwaysValid(member_type) is False:
|
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/spec_tools/ |
H A D | entity_db.py | 329 member_type = member.find('type').text 335 if member_type in ('void', 'char'): 355 and self.entityHasValidity(member_type):
|