/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/ |
D | validate_builtins.cpp | 61 const Decoration& decoration, in GetUnderlyingType() 64 if (decoration.struct_member_index() != Decoration::kInvalidMember) { in GetUnderlyingType() 259 spv_result_t ValidateSingleBuiltInAtDefinition(const Decoration& decoration, 268 const Decoration& decoration, const Instruction& inst); 269 spv_result_t ValidateFragCoordAtDefinition(const Decoration& decoration, 271 spv_result_t ValidateFragDepthAtDefinition(const Decoration& decoration, 273 spv_result_t ValidateFrontFacingAtDefinition(const Decoration& decoration, 276 const Decoration& decoration, const Instruction& inst); 277 spv_result_t ValidateInvocationIdAtDefinition(const Decoration& decoration, 279 spv_result_t ValidateInstanceIndexAtDefinition(const Decoration& decoration, [all …]
|
D | decoration.h | 58 class Decoration { 61 Decoration(SpvDecoration t, 72 inline bool operator==(const Decoration& rhs) const {
|
/third_party/skia/third_party/externals/spirv-tools/source/val/ |
D | validate_builtins.cpp | 61 const Decoration& decoration, in GetUnderlyingType() 64 if (decoration.struct_member_index() != Decoration::kInvalidMember) { in GetUnderlyingType() 259 spv_result_t ValidateSingleBuiltInAtDefinition(const Decoration& decoration, 268 const Decoration& decoration, const Instruction& inst); 269 spv_result_t ValidateFragCoordAtDefinition(const Decoration& decoration, 271 spv_result_t ValidateFragDepthAtDefinition(const Decoration& decoration, 273 spv_result_t ValidateFrontFacingAtDefinition(const Decoration& decoration, 276 const Decoration& decoration, const Instruction& inst); 277 spv_result_t ValidateInvocationIdAtDefinition(const Decoration& decoration, 279 spv_result_t ValidateInstanceIndexAtDefinition(const Decoration& decoration, [all …]
|
D | decoration.h | 58 class Decoration { 61 Decoration(SpvDecoration t, 72 inline bool operator==(const Decoration& rhs) const {
|
/third_party/spirv-tools/source/val/ |
D | validate_builtins.cpp | 61 const Decoration& decoration, in GetUnderlyingType() 64 if (decoration.struct_member_index() != Decoration::kInvalidMember) { in GetUnderlyingType() 263 spv_result_t ValidateSingleBuiltInAtDefinition(const Decoration& decoration, 272 const Decoration& decoration, const Instruction& inst); 273 spv_result_t ValidateFragCoordAtDefinition(const Decoration& decoration, 275 spv_result_t ValidateFragDepthAtDefinition(const Decoration& decoration, 277 spv_result_t ValidateFrontFacingAtDefinition(const Decoration& decoration, 280 const Decoration& decoration, const Instruction& inst); 281 spv_result_t ValidateInvocationIdAtDefinition(const Decoration& decoration, 283 spv_result_t ValidateInstanceIndexAtDefinition(const Decoration& decoration, [all …]
|
D | decoration.h | 58 class Decoration { 61 Decoration(SpvDecoration t, 72 inline bool operator<(const Decoration& rhs) const { 81 inline bool operator==(const Decoration& rhs) const {
|
D | validation_state.h | 391 void RegisterDecorationForId(uint32_t id, const Decoration& dec) { in RegisterDecorationForId() 399 std::set<Decoration>& cur_decs = id_decorations_[id]; in RegisterDecorationsForId() 409 std::set<Decoration>& cur_decs = id_decorations_[struct_id]; in RegisterDecorationsForStructMember() 411 Decoration dec = *iter; in RegisterDecorationsForStructMember() 420 std::set<Decoration>& id_decorations(uint32_t id) { in id_decorations() 426 std::set<Decoration>::const_iterator begin; 427 std::set<Decoration>::const_iterator end; 435 Decoration min_decoration((SpvDecoration)0, {}, member_index); in id_member_decorations() 436 Decoration max_decoration(SpvDecorationMax, {}, member_index); in id_member_decorations() 446 const std::map<uint32_t, std::set<Decoration>>& id_decorations() const { in id_decorations() [all …]
|
D | validate_decorations.cpp | 87 [](const Decoration& d) { return SpvDecorationBuiltIn == d.dec_type(); }); in isBuiltInVar() 95 decorations.begin(), decorations.end(), [](const Decoration& d) { in isBuiltInStruct() 97 Decoration::kInvalidMember != d.struct_member_index(); in isBuiltInStruct() 106 [](const Decoration& d) { return SpvDecorationBlock == d.dec_type(); }); in isBlock() 113 [](const Decoration& d) { in hasImportLinkageAttribute() 152 Decoration::kInvalidMember != decoration.struct_member_index()) { in isMissingOffsetInStruct() 1412 if (member != Decoration::kInvalidMember) { in CheckVulkanMemoryModelDeprecatedDecorations() 1428 const Decoration& decoration) { in CheckFPRoundingModeForShaders() 1502 const Decoration& decoration) { in CheckNonWritableDecoration() 1505 if (decoration.struct_member_index() == Decoration::kInvalidMember) { in CheckNonWritableDecoration() [all …]
|
/third_party/flutter/skia/third_party/externals/spirv-tools/test/val/ |
D | val_decoration_test.cpp | 28 using libspirv::Decoration; 48 Eq(vector<Decoration>{Decoration(SpvDecorationArrayStride, {4}), in TEST_F() 49 Decoration(SpvDecorationUniform)})); in TEST_F() 74 Eq(vector<Decoration>{Decoration(SpvDecorationArrayStride, {4})})); in TEST_F() 79 Eq(vector<Decoration>{Decoration(SpvDecorationNonReadable, {}, 2), in TEST_F() 80 Decoration(SpvDecorationOffset, {2}, 2), in TEST_F() 81 Decoration(SpvDecorationBufferBlock)})); in TEST_F() 111 auto expected_decorations = vector<Decoration>{ in TEST_F() 112 Decoration(SpvDecorationDescriptorSet, {0}), in TEST_F() 113 Decoration(SpvDecorationNonWritable), Decoration(SpvDecorationRestrict)}; in TEST_F() [all …]
|
/third_party/skia/third_party/externals/spirv-cross/ |
D | spirv_cross_parsed_ir.hpp | 126 void set_decoration(ID id, spv::Decoration decoration, uint32_t argument = 0); 127 void set_decoration_string(ID id, spv::Decoration decoration, const std::string &argument); 128 bool has_decoration(ID id, spv::Decoration decoration) const; 129 uint32_t get_decoration(ID id, spv::Decoration decoration) const; 130 const std::string &get_decoration_string(ID id, spv::Decoration decoration) const; 132 void unset_decoration(ID id, spv::Decoration decoration); 137 …void set_member_decoration(TypeID id, uint32_t index, spv::Decoration decoration, uint32_t argumen… 138 void set_member_decoration_string(TypeID id, uint32_t index, spv::Decoration decoration, 140 uint32_t get_member_decoration(TypeID id, uint32_t index, spv::Decoration decoration) const; 141 …const std::string &get_member_decoration_string(TypeID id, uint32_t index, spv::Decoration decorat… [all …]
|
D | spirv_cross.hpp | 179 void set_decoration(ID id, spv::Decoration decoration, uint32_t argument = 0); 180 void set_decoration_string(ID id, spv::Decoration decoration, const std::string &argument); 192 bool has_decoration(ID id, spv::Decoration decoration) const; 199 uint32_t get_decoration(ID id, spv::Decoration decoration) const; 200 const std::string &get_decoration_string(ID id, spv::Decoration decoration) const; 203 void unset_decoration(ID id, spv::Decoration decoration); 228 uint32_t get_member_decoration(TypeID id, uint32_t index, spv::Decoration decoration) const; 229 …const std::string &get_member_decoration_string(TypeID id, uint32_t index, spv::Decoration decorat… 242 bool has_member_decoration(TypeID id, uint32_t index, spv::Decoration decoration) const; 245 …void set_member_decoration(TypeID id, uint32_t index, spv::Decoration decoration, uint32_t argumen… [all …]
|
D | spirv_cross_parsed_ir.cpp | 355 void ParsedIR::set_decoration_string(ID id, Decoration decoration, const string &argument) in set_decoration_string() 371 void ParsedIR::set_decoration(ID id, Decoration decoration, uint32_t argument) in set_decoration() 449 void ParsedIR::set_member_decoration(TypeID id, uint32_t index, Decoration decoration, uint32_t arg… in set_member_decoration() 586 bool ParsedIR::has_decoration(ID id, Decoration decoration) const in has_decoration() 591 uint32_t ParsedIR::get_decoration(ID id, Decoration decoration) const in get_decoration() 638 const string &ParsedIR::get_decoration_string(ID id, Decoration decoration) const in get_decoration_string() 659 void ParsedIR::unset_decoration(ID id, Decoration decoration) in unset_decoration() 733 bool ParsedIR::has_member_decoration(TypeID id, uint32_t index, Decoration decoration) const in has_member_decoration() 738 uint32_t ParsedIR::get_member_decoration(TypeID id, uint32_t index, Decoration decoration) const in get_member_decoration() 790 void ParsedIR::set_member_decoration_string(TypeID id, uint32_t index, Decoration decoration, const… in set_member_decoration_string() [all …]
|
/third_party/skia/third_party/externals/tint/src/reader/spirv/ |
D | parser_impl_get_decorations_test.cc | 58 UnorderedElementsAre(Decoration{SpvDecorationBlock})); in TEST_F() 73 UnorderedElementsAre(Decoration{SpvDecorationRelaxedPrecision}, in TEST_F() 74 Decoration{SpvDecorationLocation, 7})); in TEST_F() 119 UnorderedElementsAre(Decoration{SpvDecorationRelaxedPrecision})); in TEST_F() 137 UnorderedElementsAre(Decoration{SpvDecorationArrayStride, 12})); in TEST_F() 163 UnorderedElementsAre(Decoration{SpvDecorationRelaxedPrecision})); in TEST_F() 165 UnorderedElementsAre(Decoration{SpvDecorationColMajor}, in TEST_F() 166 Decoration{SpvDecorationMatrixStride, 8}, in TEST_F() 167 Decoration{SpvDecorationArrayStride, 16})); in TEST_F()
|
/third_party/flutter/flutter/packages/flutter/lib/src/painting/ |
D | decoration.dart | 18 /// To actually paint a [Decoration], use the [createBoxPainter] 19 /// method to obtain a [BoxPainter]. [Decoration] objects can be 23 abstract class Decoration extends Diagnosticable { 26 const Decoration(); 64 /// Linearly interpolates from another [Decoration] (which may be of a 71 /// Supporting interpolating from null is recommended as the [Decoration.lerp] 88 /// Instead of calling this directly, use [Decoration.lerp]. 90 Decoration lerpFrom(Decoration a, double t) => null; 92 /// Linearly interpolates from `this` to another [Decoration] (which may be of 101 /// Supporting interpolating to null is recommended as the [Decoration.lerp] [all …]
|
/third_party/skia/third_party/externals/tint/src/ast/ |
D | decoration.h | 27 class Decoration : public Castable<Decoration, Node> { 29 ~Decoration() override; 38 Decoration(ProgramID pid, const Source& src) : Base(pid, src) {} in Decoration() function 42 using DecorationList = std::vector<const Decoration*>;
|
D | decoration.cc | 17 TINT_INSTANTIATE_TYPEINFO(tint::ast::Decoration); 22 Decoration::~Decoration() = default;
|
/third_party/glslang/SPIRV/ |
D | SpvBuilder.h | 388 void addDecoration(Id, Decoration, int num = -1); 389 void addDecoration(Id, Decoration, const char*); 390 void addDecoration(Id, Decoration, const std::vector<unsigned>& literals); 391 void addDecoration(Id, Decoration, const std::vector<const char*>& strings); 392 void addDecorationId(Id id, Decoration, Id idDecoration); 393 void addDecorationId(Id id, Decoration, const std::vector<Id>& operandIds); 394 void addMemberDecoration(Id, unsigned int member, Decoration, int num = -1); 395 void addMemberDecoration(Id, unsigned int member, Decoration, const char*); 396 …void addMemberDecoration(Id, unsigned int member, Decoration, const std::vector<unsigned>& literal… 397 …void addMemberDecoration(Id, unsigned int member, Decoration, const std::vector<const char*>& stri… [all …]
|
/third_party/flutter/flutter/packages/flutter/test/painting/ |
D | shape_decoration_test.dart | 49 const Decoration a = ShapeDecoration(shape: CircleBorder()); 50 const Decoration b = ShapeDecoration(shape: RoundedRectangleBorder()); 51 expect(Decoration.lerp(a, b, 0.0), a); 52 expect(Decoration.lerp(a, b, 1.0), b); 55 expect(Decoration.lerp(a, b, 0.1).hitTest(size, const Offset(20.0, 50.0)), isFalse); 56 expect(Decoration.lerp(a, b, 0.5).hitTest(size, const Offset(20.0, 50.0)), isFalse); 57 expect(Decoration.lerp(a, b, 0.9).hitTest(size, const Offset(20.0, 50.0)), isTrue);
|
D | flutter_logo_test.dart | 58 expect(Decoration.lerp(start, const BoxDecoration(), 0.0), start); 59 expect(Decoration.lerp(start, const BoxDecoration(), 1.0), const BoxDecoration()); 60 expect(Decoration.lerp(const BoxDecoration(), end, 0.0), const BoxDecoration()); 61 expect(Decoration.lerp(const BoxDecoration(), end, 1.0), end);
|
/third_party/flutter/skia/third_party/externals/spirv-tools/source/val/ |
D | decoration.h | 54 class Decoration { 57 Decoration(SpvDecoration t, 70 inline bool operator==(const Decoration& rhs) const {
|
/third_party/flutter/skia/third_party/externals/spirv-tools/source/ |
D | validate_decorations.cpp | 24 using libspirv::Decoration; 36 decorations.begin(), decorations.end(), [](const Decoration& d) { in isBuiltInStruct() 38 Decoration::kInvalidMember != d.struct_member_index(); in isBuiltInStruct() 46 [](const Decoration& d) { in hasImportLinkageAttribute()
|
/third_party/flutter/flutter/packages/flutter/lib/src/material/ |
D | tab_indicator.dart | 18 class UnderlineTabIndicator extends Decoration { 39 Decoration lerpFrom(Decoration a, double t) { 50 Decoration lerpTo(Decoration b, double t) {
|
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/ |
D | container.dart | 16 /// A widget that paints a [Decoration] either before or after its child paints. 89 /// see [Decoration.padding]. 93 /// * [Ink], which paints a [Decoration] on a [Material], allowing 97 /// * [Decoration], which you can extend to provide other effects with 101 /// Creates a widget that paints a [Decoration]. 117 final Decoration decoration; 156 properties.add(DiagnosticsProperty<Decoration>( 227 /// see [Decoration.padding]. 287 /// * [Ink], which paints a [Decoration] on a [Material], allowing 305 Decoration decoration, [all …]
|
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
D | parser_impl_variable_decoration_test.cc | 28 auto* var_deco = deco.value->As<ast::Decoration>(); in TEST_F() 98 auto* var_deco = deco.value->As<ast::Decoration>(); in TEST_P() 182 auto* var_deco = deco.value->As<ast::Decoration>(); in TEST_F() 198 auto* var_deco = deco.value->As<ast::Decoration>(); in TEST_F() 214 auto* var_deco = deco.value->As<ast::Decoration>(); in TEST_F() 230 auto* var_deco = deco.value->As<ast::Decoration>(); in TEST_F() 306 auto* var_deco = deco.value->As<ast::Decoration>(); in TEST_F() 363 auto* var_deco = deco.value->As<ast::Decoration>(); in TEST_F()
|
/third_party/flutter/skia/modules/skparagraph/include/ |
D | TextStyle.h | 48 struct Decoration { struct 54 bool operator==(const Decoration& other) const { argument 92 Decoration getDecoration() const { return fDecoration; } in getDecoration() 147 Decoration fDecoration;
|