/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/ |
D | validate_decorations.cpp | 73 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 …]
|
D | validate_interfaces.cpp | 243 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()
|
D | validate_function.cpp | 166 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()
|
D | validate_annotation.cpp | 545 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()
|
D | decoration.h | 68 SpvDecoration dec_type() const { return dec_type_; } in dec_type() function
|
D | validate_memory.cpp | 134 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()
|
D | validation_state.h | 425 [dec](const Decoration& d) { return dec == d.dec_type(); }); in HasDecoration()
|
D | validate_type.cpp | 408 if (decoration.dec_type() == SpvDecorationBuiltIn && in ValidateTypeStruct()
|
/third_party/skia/third_party/externals/spirv-tools/source/val/ |
D | validate_decorations.cpp | 73 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 …]
|
D | validate_interfaces.cpp | 243 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()
|
D | validate_function.cpp | 166 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()
|
D | validate_annotation.cpp | 545 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()
|
D | decoration.h | 68 SpvDecoration dec_type() const { return dec_type_; } in dec_type() function
|
D | validate_memory.cpp | 134 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()
|
D | validation_state.h | 425 [dec](const Decoration& d) { return dec == d.dec_type(); }); in HasDecoration()
|
D | validate_type.cpp | 408 if (decoration.dec_type() == SpvDecorationBuiltIn && in ValidateTypeStruct()
|
D | validate_builtins.cpp | 4213 if (decoration.dec_type() != SpvDecorationBuiltIn) { in ValidateBuiltInsAtDefinition()
|
/third_party/spirv-tools/source/val/ |
D | validate_decorations.cpp | 75 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 …]
|
D | validate_interfaces.cpp | 243 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()
|
D | validate_function.cpp | 166 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()
|
D | validate_annotation.cpp | 419 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()
|
D | decoration.h | 68 SpvDecoration dec_type() const { return dec_type_; } in dec_type() function
|
D | validate_memory.cpp | 132 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()
|
D | validation_state.h | 458 [dec](const Decoration& d) { return dec == d.dec_type(); }); in HasDecoration()
|
D | validate_type.cpp | 380 if (decoration.dec_type() == SpvDecorationBuiltIn && in ValidateTypeStruct()
|