Home
last modified time | relevance | path

Searched refs:dec_type (Results 1 – 25 of 27) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_decorations.cpp73 if (SpvDecorationArrayStride == decoration.dec_type()) { in GetArrayStride()
85 [](const Decoration& d) { return SpvDecorationBuiltIn == d.dec_type(); }); in isBuiltInVar()
94 return SpvDecorationBuiltIn == d.dec_type() && in isBuiltInStruct()
104 return SpvDecorationLinkageAttributes == d.dec_type() && in hasImportLinkageAttribute()
141 if (SpvDecorationOffset == decoration.dec_type() && in isMissingOffsetInStruct()
340 if (SpvDecorationOffset == decoration.dec_type() && in getSize()
440 switch (decoration.dec_type()) { in checkLayout()
538 if (SpvDecorationArrayStride == decoration.dec_type()) { in checkLayout()
612 if (decoration == dec.dec_type()) return true; in hasDecoration()
634 if (decoration == dec.dec_type()) found = true; in checkForRequiredDecoration()
[all …]
Dvalidate_interfaces.cpp243 if (dec.dec_type() == SpvDecorationLocation) { in GetLocationsForVariable()
250 } else if (dec.dec_type() == SpvDecorationComponent) { in GetLocationsForVariable()
257 } else if (dec.dec_type() == SpvDecorationIndex) { in GetLocationsForVariable()
268 } else if (dec.dec_type() == SpvDecorationBuiltIn) { in GetLocationsForVariable()
271 } else if (dec.dec_type() == SpvDecorationPatch) { in GetLocationsForVariable()
273 } else if (dec.dec_type() == SpvDecorationPerTaskNV) { in GetLocationsForVariable()
275 } else if (dec.dec_type() == SpvDecorationPerVertexNV) { in GetLocationsForVariable()
389 if (dec.dec_type() == SpvDecorationLocation) { in GetLocationsForVariable()
398 } else if (dec.dec_type() == SpvDecorationComponent) { in GetLocationsForVariable()
Dvalidate_function.cpp166 return SpvDecorationAliased == d.dec_type(); in ValidateFunctionParameter()
171 return SpvDecorationRestrict == d.dec_type(); in ValidateFunctionParameter()
198 return SpvDecorationAliasedPointerEXT == d.dec_type(); in ValidateFunctionParameter()
203 return SpvDecorationRestrictPointerEXT == d.dec_type(); in ValidateFunctionParameter()
Dvalidate_annotation.cpp545 const SpvDecoration dec_type = static_cast<SpvDecoration>(inst->word(2)); in RegisterDecorations() local
551 _.RegisterDecorationForId(target_id, Decoration(dec_type, dec_params)); in RegisterDecorations()
557 const SpvDecoration dec_type = static_cast<SpvDecoration>(inst->word(3)); in RegisterDecorations() local
564 Decoration(dec_type, dec_params, index)); in RegisterDecorations()
Ddecoration.h68 SpvDecoration dec_type() const { return dec_type_; } in dec_type() function
Dvalidate_memory.cpp134 switch (decoration.dec_type()) { in HasConflictingMemberOffsets()
139 if (rhs.dec_type() != SpvDecorationOffset) return false; in HasConflictingMemberOffsets()
168 if (decoration.dec_type() == SpvDecorationBuiltIn) return false; in ContainsInvalidBool()
452 if (decoration.dec_type() == SpvDecorationBuiltIn) { in ValidateVariable()
Dvalidation_state.h425 [dec](const Decoration& d) { return dec == d.dec_type(); }); in HasDecoration()
Dvalidate_type.cpp408 if (decoration.dec_type() == SpvDecorationBuiltIn && in ValidateTypeStruct()
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_decorations.cpp73 if (SpvDecorationArrayStride == decoration.dec_type()) { in GetArrayStride()
85 [](const Decoration& d) { return SpvDecorationBuiltIn == d.dec_type(); }); in isBuiltInVar()
94 return SpvDecorationBuiltIn == d.dec_type() && in isBuiltInStruct()
104 return SpvDecorationLinkageAttributes == d.dec_type() && in hasImportLinkageAttribute()
141 if (SpvDecorationOffset == decoration.dec_type() && in isMissingOffsetInStruct()
340 if (SpvDecorationOffset == decoration.dec_type() && in getSize()
440 switch (decoration.dec_type()) { in checkLayout()
538 if (SpvDecorationArrayStride == decoration.dec_type()) { in checkLayout()
612 if (decoration == dec.dec_type()) return true; in hasDecoration()
634 if (decoration == dec.dec_type()) found = true; in checkForRequiredDecoration()
[all …]
Dvalidate_interfaces.cpp243 if (dec.dec_type() == SpvDecorationLocation) { in GetLocationsForVariable()
250 } else if (dec.dec_type() == SpvDecorationComponent) { in GetLocationsForVariable()
257 } else if (dec.dec_type() == SpvDecorationIndex) { in GetLocationsForVariable()
268 } else if (dec.dec_type() == SpvDecorationBuiltIn) { in GetLocationsForVariable()
271 } else if (dec.dec_type() == SpvDecorationPatch) { in GetLocationsForVariable()
273 } else if (dec.dec_type() == SpvDecorationPerTaskNV) { in GetLocationsForVariable()
275 } else if (dec.dec_type() == SpvDecorationPerVertexNV) { in GetLocationsForVariable()
389 if (dec.dec_type() == SpvDecorationLocation) { in GetLocationsForVariable()
398 } else if (dec.dec_type() == SpvDecorationComponent) { in GetLocationsForVariable()
Dvalidate_function.cpp166 return SpvDecorationAliased == d.dec_type(); in ValidateFunctionParameter()
171 return SpvDecorationRestrict == d.dec_type(); in ValidateFunctionParameter()
198 return SpvDecorationAliasedPointerEXT == d.dec_type(); in ValidateFunctionParameter()
203 return SpvDecorationRestrictPointerEXT == d.dec_type(); in ValidateFunctionParameter()
Dvalidate_annotation.cpp545 const SpvDecoration dec_type = static_cast<SpvDecoration>(inst->word(2)); in RegisterDecorations() local
551 _.RegisterDecorationForId(target_id, Decoration(dec_type, dec_params)); in RegisterDecorations()
557 const SpvDecoration dec_type = static_cast<SpvDecoration>(inst->word(3)); in RegisterDecorations() local
564 Decoration(dec_type, dec_params, index)); in RegisterDecorations()
Ddecoration.h68 SpvDecoration dec_type() const { return dec_type_; } in dec_type() function
Dvalidate_memory.cpp134 switch (decoration.dec_type()) { in HasConflictingMemberOffsets()
139 if (rhs.dec_type() != SpvDecorationOffset) return false; in HasConflictingMemberOffsets()
168 if (decoration.dec_type() == SpvDecorationBuiltIn) return false; in ContainsInvalidBool()
452 if (decoration.dec_type() == SpvDecorationBuiltIn) { in ValidateVariable()
Dvalidation_state.h425 [dec](const Decoration& d) { return dec == d.dec_type(); }); in HasDecoration()
Dvalidate_type.cpp408 if (decoration.dec_type() == SpvDecorationBuiltIn && in ValidateTypeStruct()
Dvalidate_builtins.cpp4213 if (decoration.dec_type() != SpvDecorationBuiltIn) { in ValidateBuiltInsAtDefinition()
/third_party/spirv-tools/source/val/
Dvalidate_decorations.cpp75 if (SpvDecorationArrayStride == decoration.dec_type()) { in GetArrayStride()
87 [](const Decoration& d) { return SpvDecorationBuiltIn == d.dec_type(); }); in isBuiltInVar()
96 return SpvDecorationBuiltIn == d.dec_type() && in isBuiltInStruct()
106 [](const Decoration& d) { return SpvDecorationBlock == d.dec_type(); }); in isBlock()
114 return SpvDecorationLinkageAttributes == d.dec_type() && in hasImportLinkageAttribute()
151 if (SpvDecorationOffset == decoration.dec_type() && in isMissingOffsetInStruct()
377 if (SpvDecorationOffset == decoration->dec_type()) { in getSize()
479 switch (decoration->dec_type()) { in checkLayout()
576 if (SpvDecorationArrayStride == decoration.dec_type()) { in checkLayout()
650 if (decoration == dec.dec_type()) return true; in hasDecoration()
[all …]
Dvalidate_interfaces.cpp243 if (dec.dec_type() == SpvDecorationLocation) { in GetLocationsForVariable()
250 } else if (dec.dec_type() == SpvDecorationComponent) { in GetLocationsForVariable()
257 } else if (dec.dec_type() == SpvDecorationIndex) { in GetLocationsForVariable()
268 } else if (dec.dec_type() == SpvDecorationBuiltIn) { in GetLocationsForVariable()
271 } else if (dec.dec_type() == SpvDecorationPatch) { in GetLocationsForVariable()
273 } else if (dec.dec_type() == SpvDecorationPerTaskNV) { in GetLocationsForVariable()
275 } else if (dec.dec_type() == SpvDecorationPerVertexKHR) { in GetLocationsForVariable()
402 if (dec.dec_type() == SpvDecorationLocation) { in GetLocationsForVariable()
411 } else if (dec.dec_type() == SpvDecorationComponent) { in GetLocationsForVariable()
Dvalidate_function.cpp166 return SpvDecorationAliased == d.dec_type(); in ValidateFunctionParameter()
171 return SpvDecorationRestrict == d.dec_type(); in ValidateFunctionParameter()
198 return SpvDecorationAliasedPointer == d.dec_type(); in ValidateFunctionParameter()
203 return SpvDecorationRestrictPointer == d.dec_type(); in ValidateFunctionParameter()
Dvalidate_annotation.cpp419 const SpvDecoration dec_type = static_cast<SpvDecoration>(inst->word(2)); in RegisterDecorations() local
425 _.RegisterDecorationForId(target_id, Decoration(dec_type, dec_params)); in RegisterDecorations()
431 const SpvDecoration dec_type = static_cast<SpvDecoration>(inst->word(3)); in RegisterDecorations() local
438 Decoration(dec_type, dec_params, index)); in RegisterDecorations()
Ddecoration.h68 SpvDecoration dec_type() const { return dec_type_; } in dec_type() function
Dvalidate_memory.cpp132 switch (decoration.dec_type()) { in HasConflictingMemberOffsets()
137 if (rhs.dec_type() != SpvDecorationOffset) return false; in HasConflictingMemberOffsets()
166 if (decoration.dec_type() == SpvDecorationBuiltIn) return false; in ContainsInvalidBool()
452 if (decoration.dec_type() == SpvDecorationBuiltIn) { in ValidateVariable()
Dvalidation_state.h458 [dec](const Decoration& d) { return dec == d.dec_type(); }); in HasDecoration()
Dvalidate_type.cpp380 if (decoration.dec_type() == SpvDecorationBuiltIn && in ValidateTypeStruct()

12