Home
last modified time | relevance | path

Searched refs:member_type (Results 1 - 25 of 40) sorted by relevance

12

/third_party/skia/third_party/externals/spirv-tools/source/val/
H A Dvalidate_composites.cpp37 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 Dvalidate_type.cpp328 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 Dvalidate_constants.cpp237 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 Dvalidate_memory.cpp192 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 Dvalidate_composites.cpp37 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 Dvalidate_type.cpp328 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 Dvalidate_constants.cpp237 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 Dvalidate_composites.cpp35 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 Dvalidate_type.cpp319 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 Dvalidate_constants.cpp236 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 Dtransformation_add_type_struct.cpp40 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 Dtransformation_add_type_struct.cpp40 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 Dtransformation_add_type_struct.cpp40 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 Dtest_inspector_builder.cc168 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 Dnir_split_per_member_structs.c48 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 Dgenerator_impl_member_accessor_test.cc158 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 Dgenerator_impl_member_accessor_test.cc150 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 Denum.py489 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 Dtype_manager.cpp961 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 Dtype_manager.cpp961 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 Dtype_manager.cpp994 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 Dgenerator.py1232 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 Dscriptgenerator.py284 for member_type in memberTypes:
285 self.addMapping(typeName, member_type)
/third_party/vulkan-headers/registry/
H A Dgenerator.py1232 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 Dentity_db.py329 member_type = member.find('type').text
335 if member_type in ('void', 'char'):
355 and self.entityHasValidity(member_type):

Completed in 42 milliseconds

12