Home
last modified time | relevance | path

Searched refs:SpvDecoration (Results 1 – 25 of 76) sorted by relevance

1234

/third_party/spirv-tools/source/val/
Dvalidate_annotation.cpp27 bool DecorationTakesIdParameters(SpvDecoration type) { in DecorationTakesIdParameters()
40 bool IsMemberDecorationOnly(SpvDecoration dec) { in IsMemberDecorationOnly()
55 bool IsNotMemberDecoration(SpvDecoration dec) { in IsNotMemberDecoration()
98 spv_result_t ValidateDecorationTarget(ValidationState_t& _, SpvDecoration dec, in ValidateDecorationTarget()
250 const auto decoration = inst->GetOperandAs<SpvDecoration>(1); in ValidateDecorate()
290 const auto decoration = inst->GetOperandAs<SpvDecoration>(1); in ValidateDecorateId()
326 const auto decoration = inst->GetOperandAs<SpvDecoration>(2); in ValidateMemberDecorate()
419 const SpvDecoration dec_type = static_cast<SpvDecoration>(inst->word(2)); in RegisterDecorations()
431 const SpvDecoration dec_type = static_cast<SpvDecoration>(inst->word(3)); in RegisterDecorations()
Ddecoration.h61 Decoration(SpvDecoration t,
68 SpvDecoration dec_type() const { return dec_type_; } in dec_type()
87 SpvDecoration dec_type_;
Dvalidate_decorations.cpp53 std::size_t operator()(SpvDecoration dec) const { in operator ()()
647 bool hasDecoration(uint32_t id, SpvDecoration decoration, in hasDecoration()
665 std::function<bool(SpvDecoration)> checker, in checkForRequiredDecoration()
1230 [](SpvDecoration d) { in CheckDecorationsOfBuffers()
1240 [](SpvDecoration d) { in CheckDecorationsOfBuffers()
1250 [](SpvDecoration d) { in CheckDecorationsOfBuffers()
1281 bool AtMostOncePerId(SpvDecoration decoration) { in AtMostOncePerId()
1287 bool AtMostOncePerMember(SpvDecoration decoration) { in AtMostOncePerMember()
1300 using PerIDKey = std::tuple<SpvDecoration, uint32_t>; in CheckDecorationsCompatibility()
1301 using PerMemberKey = std::tuple<SpvDecoration, uint32_t, uint32_t>; in CheckDecorationsCompatibility()
[all …]
/third_party/flutter/skia/third_party/externals/spirv-tools/source/val/
Ddecoration.h57 Decoration(SpvDecoration t,
65 SpvDecoration dec_type() { return dec_type_; } in dec_type()
66 SpvDecoration dec_type() const { return dec_type_; } in dec_type()
76 SpvDecoration dec_type_;
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_annotation.cpp159 bool DecorationTakesIdParameters(SpvDecoration type) { in DecorationTakesIdParameters()
172 bool IsMemberDecorationOnly(SpvDecoration dec) { in IsMemberDecorationOnly()
187 bool IsNotMemberDecoration(SpvDecoration dec) { in IsNotMemberDecoration()
230 spv_result_t ValidateDecorationTarget(ValidationState_t& _, SpvDecoration dec, in ValidateDecorationTarget()
374 const auto decoration = inst->GetOperandAs<SpvDecoration>(1); in ValidateDecorate()
414 const auto decoration = inst->GetOperandAs<SpvDecoration>(1); in ValidateDecorateId()
450 const auto decoration = inst->GetOperandAs<SpvDecoration>(2); in ValidateMemberDecorate()
545 const SpvDecoration dec_type = static_cast<SpvDecoration>(inst->word(2)); in RegisterDecorations()
557 const SpvDecoration dec_type = static_cast<SpvDecoration>(inst->word(3)); in RegisterDecorations()
Ddecoration.h61 Decoration(SpvDecoration t,
68 SpvDecoration dec_type() const { return dec_type_; } in dec_type()
78 SpvDecoration dec_type_;
Dvalidate_decorations.cpp51 std::size_t operator()(SpvDecoration dec) const { in operator ()()
609 bool hasDecoration(uint32_t id, SpvDecoration decoration, in hasDecoration()
626 bool checkForRequiredDecoration(uint32_t struct_id, SpvDecoration decoration, in checkForRequiredDecoration()
1161 bool AtMostOncePerId(SpvDecoration decoration) { in AtMostOncePerId()
1167 bool AtMostOncePerMember(SpvDecoration decoration) { in AtMostOncePerMember()
1180 const char* GetDecorationName(SpvDecoration decoration) { in GetDecorationName()
1206 using PerIDKey = std::tuple<SpvDecoration, uint32_t>; in CheckDecorationsCompatibility()
1207 using PerMemberKey = std::tuple<SpvDecoration, uint32_t, uint32_t>; in CheckDecorationsCompatibility()
1211 static const SpvDecoration mutually_exclusive_per_id[][2] = { in CheckDecorationsCompatibility()
1215 sizeof(mutually_exclusive_per_id) / (2 * sizeof(SpvDecoration)); in CheckDecorationsCompatibility()
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_annotation.cpp159 bool DecorationTakesIdParameters(SpvDecoration type) { in DecorationTakesIdParameters()
172 bool IsMemberDecorationOnly(SpvDecoration dec) { in IsMemberDecorationOnly()
187 bool IsNotMemberDecoration(SpvDecoration dec) { in IsNotMemberDecoration()
230 spv_result_t ValidateDecorationTarget(ValidationState_t& _, SpvDecoration dec, in ValidateDecorationTarget()
374 const auto decoration = inst->GetOperandAs<SpvDecoration>(1); in ValidateDecorate()
414 const auto decoration = inst->GetOperandAs<SpvDecoration>(1); in ValidateDecorateId()
450 const auto decoration = inst->GetOperandAs<SpvDecoration>(2); in ValidateMemberDecorate()
545 const SpvDecoration dec_type = static_cast<SpvDecoration>(inst->word(2)); in RegisterDecorations()
557 const SpvDecoration dec_type = static_cast<SpvDecoration>(inst->word(3)); in RegisterDecorations()
Ddecoration.h61 Decoration(SpvDecoration t,
68 SpvDecoration dec_type() const { return dec_type_; } in dec_type()
78 SpvDecoration dec_type_;
Dvalidate_decorations.cpp51 std::size_t operator()(SpvDecoration dec) const { in operator ()()
609 bool hasDecoration(uint32_t id, SpvDecoration decoration, in hasDecoration()
626 bool checkForRequiredDecoration(uint32_t struct_id, SpvDecoration decoration, in checkForRequiredDecoration()
1161 bool AtMostOncePerId(SpvDecoration decoration) { in AtMostOncePerId()
1167 bool AtMostOncePerMember(SpvDecoration decoration) { in AtMostOncePerMember()
1180 const char* GetDecorationName(SpvDecoration decoration) { in GetDecorationName()
1206 using PerIDKey = std::tuple<SpvDecoration, uint32_t>; in CheckDecorationsCompatibility()
1207 using PerMemberKey = std::tuple<SpvDecoration, uint32_t, uint32_t>; in CheckDecorationsCompatibility()
1211 static const SpvDecoration mutually_exclusive_per_id[][2] = { in CheckDecorationsCompatibility()
1215 sizeof(mutually_exclusive_per_id) / (2 * sizeof(SpvDecoration)); in CheckDecorationsCompatibility()
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/
Dtext_to_binary.annotation_test.cpp44 std::tuple<spv_target_env, EnumCase<SpvDecoration>>>>;
67 std::tuple<spv_target_env, EnumCase<SpvDecoration>>>>;
87 #define CASE(NAME) SpvDecoration##NAME, #NAME
91 ValuesIn(std::vector<EnumCase<SpvDecoration>>{
137 Values(EnumCase<SpvDecoration>{
142 ValuesIn(std::vector<EnumCase<SpvDecoration>>{
149 ValuesIn(std::vector<EnumCase<SpvDecoration>>{
443 std::tuple<spv_target_env, EnumCase<SpvDecoration>>>>;
464 #define CASE(NAME) SpvDecoration##NAME, #NAME
468 ValuesIn(std::vector<EnumCase<SpvDecoration>>{
[all …]
/third_party/spirv-tools/test/
Dtext_to_binary.annotation_test.cpp44 std::tuple<spv_target_env, EnumCase<SpvDecoration>>>>;
67 std::tuple<spv_target_env, EnumCase<SpvDecoration>>>>;
87 #define CASE(NAME) SpvDecoration##NAME, #NAME
91 ValuesIn(std::vector<EnumCase<SpvDecoration>>{
137 Values(EnumCase<SpvDecoration>{
142 ValuesIn(std::vector<EnumCase<SpvDecoration>>{
149 ValuesIn(std::vector<EnumCase<SpvDecoration>>{
446 std::tuple<spv_target_env, EnumCase<SpvDecoration>>>>;
467 #define CASE(NAME) SpvDecoration##NAME, #NAME
471 ValuesIn(std::vector<EnumCase<SpvDecoration>>{
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/
Dtext_to_binary.annotation_test.cpp44 std::tuple<spv_target_env, EnumCase<SpvDecoration>>>>;
67 std::tuple<spv_target_env, EnumCase<SpvDecoration>>>>;
87 #define CASE(NAME) SpvDecoration##NAME, #NAME
91 ValuesIn(std::vector<EnumCase<SpvDecoration>>{
137 Values(EnumCase<SpvDecoration>{
142 ValuesIn(std::vector<EnumCase<SpvDecoration>>{
149 ValuesIn(std::vector<EnumCase<SpvDecoration>>{
443 std::tuple<spv_target_env, EnumCase<SpvDecoration>>>>;
464 #define CASE(NAME) SpvDecoration##NAME, #NAME
468 ValuesIn(std::vector<EnumCase<SpvDecoration>>{
[all …]
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_cross_c.h838 SPVC_PUBLIC_API void spvc_compiler_set_decoration(spvc_compiler compiler, SpvId id, SpvDecoration d…
840 …oid spvc_compiler_set_decoration_string(spvc_compiler compiler, SpvId id, SpvDecoration decoration,
844SpvDecoration decoration, unsigned argument);
846 … unsigned member_index, SpvDecoration decoration,
850 SPVC_PUBLIC_API void spvc_compiler_unset_decoration(spvc_compiler compiler, SpvId id, SpvDecoration
852 … unsigned member_index, SpvDecoration decoration);
854 …spvc_bool spvc_compiler_has_decoration(spvc_compiler compiler, SpvId id, SpvDecoration decoration);
856 … unsigned member_index, SpvDecoration decoration);
858 … unsigned spvc_compiler_get_decoration(spvc_compiler compiler, SpvId id, SpvDecoration decoration);
860 SpvDecoration decoration);
[all …]
Dspirv_cross_c.cpp1841 void spvc_compiler_set_decoration(spvc_compiler compiler, SpvId id, SpvDecoration decoration, unsig… in spvc_compiler_set_decoration()
1846 void spvc_compiler_set_decoration_string(spvc_compiler compiler, SpvId id, SpvDecoration decoration, in spvc_compiler_set_decoration_string()
1858 SpvDecoration decoration, unsigned argument) in spvc_compiler_set_member_decoration()
1864 SpvDecoration decoration, const char *argument) in spvc_compiler_set_member_decoration_string()
1875 void spvc_compiler_unset_decoration(spvc_compiler compiler, SpvId id, SpvDecoration decoration) in spvc_compiler_unset_decoration()
1881 SpvDecoration decoration) in spvc_compiler_unset_member_decoration()
1886 spvc_bool spvc_compiler_has_decoration(spvc_compiler compiler, SpvId id, SpvDecoration decoration) in spvc_compiler_has_decoration()
1892 SpvDecoration decoration) in spvc_compiler_has_member_decoration()
1904 unsigned spvc_compiler_get_decoration(spvc_compiler compiler, SpvId id, SpvDecoration decoration) in spvc_compiler_get_decoration()
1909 const char *spvc_compiler_get_decoration_string(spvc_compiler compiler, SpvId id, SpvDecoration dec… in spvc_compiler_get_decoration_string()
[all …]
/third_party/flutter/skia/third_party/externals/spirv-tools/test/
Dtext_to_binary.annotation_test.cpp42 ::testing::TestWithParam<tuple<spv_target_env, EnumCase<SpvDecoration>>>>;
61 #define CASE(NAME) SpvDecoration##NAME, #NAME
65 ValuesIn(std::vector<EnumCase<SpvDecoration>>{
111 Values(EnumCase<SpvDecoration>{
401 ::testing::TestWithParam<tuple<spv_target_env, EnumCase<SpvDecoration>>>>;
420 #define CASE(NAME) SpvDecoration##NAME, #NAME
424 ValuesIn(std::vector<EnumCase<SpvDecoration>>{
471 Values(EnumCase<SpvDecoration>{CASE(MaxByteOffset), {128}})), );
/third_party/flutter/skia/third_party/externals/spirv-tools/source/
Dvalidate_instruction.cpp316 const SpvDecoration dec_type = static_cast<SpvDecoration>(inst->words[2]); in RegisterDecorations()
328 const SpvDecoration dec_type = static_cast<SpvDecoration>(inst->words[3]); in RegisterDecorations()
/third_party/mesa3d/src/compiler/spirv/
Dspirv_info.h32 const char *spirv_decoration_to_string(SpvDecoration dec);
/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/
Dfreeze_spec_constant_value_pass.cpp38 SpvDecoration::SpvDecorationSpecId) { in Process()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dfreeze_spec_constant_value_pass.cpp40 SpvDecoration::SpvDecorationSpecId) { in Process()
Dupgrade_memory_model.h87 SpvDecoration decoration);
/third_party/spirv-tools/source/opt/
Dfreeze_spec_constant_value_pass.cpp40 SpvDecoration::SpvDecorationSpecId) { in Process()
Dupgrade_memory_model.h87 SpvDecoration decoration);
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dfreeze_spec_constant_value_pass.cpp40 SpvDecoration::SpvDecorationSpecId) { in Process()
Dupgrade_memory_model.h87 SpvDecoration decoration);

1234