Home
last modified time | relevance | path

Searched refs:SpvCapability (Results 1 – 25 of 54) sorted by relevance

123

/external/swiftshader/third_party/SPIRV-Tools/test/
Denum_set_test.cpp185 EXPECT_FALSE(s.Contains(static_cast<SpvCapability>(1000))); in TEST()
189 CapabilitySet s(static_cast<SpvCapability>(63)); in TEST()
192 EXPECT_TRUE(s.Contains(static_cast<SpvCapability>(63))); in TEST()
193 EXPECT_FALSE(s.Contains(static_cast<SpvCapability>(64))); in TEST()
194 EXPECT_FALSE(s.Contains(static_cast<SpvCapability>(1000))); in TEST()
199 CapabilitySet s(static_cast<SpvCapability>(64)); in TEST()
202 EXPECT_FALSE(s.Contains(static_cast<SpvCapability>(63))); in TEST()
203 EXPECT_TRUE(s.Contains(static_cast<SpvCapability>(64))); in TEST()
204 EXPECT_FALSE(s.Contains(static_cast<SpvCapability>(1000))); in TEST()
209 CapabilitySet s(static_cast<SpvCapability>(0x7fffffffu)); in TEST()
[all …]
Denum_string_mapping_test.cpp35 ::testing::TestWithParam<std::pair<SpvCapability, std::string>>;
60 const std::pair<SpvCapability, std::string>& param = GetParam(); in TEST_P()
61 const SpvCapability capability = param.first; in TEST_P()
100 ValuesIn(std::vector<std::pair<SpvCapability, std::string>>(
Doperand_capabilities_test.cpp70 SpvCapability##CAP \
76 SpvCapability##CAP1, SpvCapability##CAP2 \
82 SpvCapability##CAP1, SpvCapability##CAP2, SpvCapability##CAP3 \
88 SpvCapability##CAP1, SpvCapability##CAP2, SpvCapability##CAP3, \
89 SpvCapability##CAP4, SpvCapability##CAP5 \
Dunit_spirv.h226 inline std::vector<SpvCapability> ElementsIn( in ElementsIn()
228 std::vector<SpvCapability> result; in ElementsIn()
229 capabilities.ForEach([&result](SpvCapability c) { result.push_back(c); }); in ElementsIn()
Dtext_to_binary.mode_setting_test.cpp217 spvtest::TextToBinaryTestBase<TestWithParam<EnumCase<SpvCapability>>>;
226 #define CASE(NAME) { SpvCapability##NAME, #NAME }
228 ValuesIn(std::vector<EnumCase<SpvCapability>>{
/external/deqp-deps/SPIRV-Tools/test/
Denum_set_test.cpp185 EXPECT_FALSE(s.Contains(static_cast<SpvCapability>(1000))); in TEST()
189 CapabilitySet s(static_cast<SpvCapability>(63)); in TEST()
192 EXPECT_TRUE(s.Contains(static_cast<SpvCapability>(63))); in TEST()
193 EXPECT_FALSE(s.Contains(static_cast<SpvCapability>(64))); in TEST()
194 EXPECT_FALSE(s.Contains(static_cast<SpvCapability>(1000))); in TEST()
199 CapabilitySet s(static_cast<SpvCapability>(64)); in TEST()
202 EXPECT_FALSE(s.Contains(static_cast<SpvCapability>(63))); in TEST()
203 EXPECT_TRUE(s.Contains(static_cast<SpvCapability>(64))); in TEST()
204 EXPECT_FALSE(s.Contains(static_cast<SpvCapability>(1000))); in TEST()
209 CapabilitySet s(static_cast<SpvCapability>(0x7fffffffu)); in TEST()
[all …]
Denum_string_mapping_test.cpp35 ::testing::TestWithParam<std::pair<SpvCapability, std::string>>;
60 const std::pair<SpvCapability, std::string>& param = GetParam(); in TEST_P()
61 const SpvCapability capability = param.first; in TEST_P()
100 ValuesIn(std::vector<std::pair<SpvCapability, std::string>>(
Doperand_capabilities_test.cpp70 SpvCapability##CAP \
76 SpvCapability##CAP1, SpvCapability##CAP2 \
82 SpvCapability##CAP1, SpvCapability##CAP2, SpvCapability##CAP3 \
88 SpvCapability##CAP1, SpvCapability##CAP2, SpvCapability##CAP3, \
89 SpvCapability##CAP4, SpvCapability##CAP5 \
Dunit_spirv.h226 inline std::vector<SpvCapability> ElementsIn( in ElementsIn()
228 std::vector<SpvCapability> result; in ElementsIn()
229 capabilities.ForEach([&result](SpvCapability c) { result.push_back(c); }); in ElementsIn()
Dtext_to_binary.mode_setting_test.cpp217 spvtest::TextToBinaryTestBase<TestWithParam<EnumCase<SpvCapability>>>;
226 #define CASE(NAME) { SpvCapability##NAME, #NAME }
228 ValuesIn(std::vector<EnumCase<SpvCapability>>{
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dfeature_manager.cpp43 void FeatureManager::AddCapability(SpvCapability cap) { in AddCapability()
52 .ForEach([this](SpvCapability c) { AddCapability(c); }); in AddCapability()
58 AddCapability(static_cast<SpvCapability>(inst.GetSingleWordInOperand(0))); in AddCapabilities()
Dfeature_manager.h34 bool HasCapability(SpvCapability cap) const { in HasCapability()
54 void AddCapability(SpvCapability capability);
/external/deqp-deps/SPIRV-Tools/source/opt/
Dfeature_manager.cpp43 void FeatureManager::AddCapability(SpvCapability cap) { in AddCapability()
52 .ForEach([this](SpvCapability c) { AddCapability(c); }); in AddCapability()
58 AddCapability(static_cast<SpvCapability>(inst.GetSingleWordInOperand(0))); in AddCapabilities()
Dfeature_manager.h34 bool HasCapability(SpvCapability cap) const { in HasCapability()
54 void AddCapability(SpvCapability capability);
/external/swiftshader/third_party/SPIRV-Tools/source/
Dtable.h27 const SpvCapability* capabilities;
51 const SpvCapability* capabilities;
75 const SpvCapability* capabilities;
Denum_string_mapping.h32 const char* CapabilityToString(SpvCapability capability);
Dassembly_grammar.h44 CapabilitySet filterCapsAgainstTargetEnv(const SpvCapability* cap_array,
Denum_set.h169 using CapabilitySet = EnumSet<SpvCapability>;
/external/deqp-deps/SPIRV-Tools/source/
Dtable.h27 const SpvCapability* capabilities;
51 const SpvCapability* capabilities;
75 const SpvCapability* capabilities;
Denum_string_mapping.h32 const char* CapabilityToString(SpvCapability capability);
Dassembly_grammar.h44 CapabilitySet filterCapsAgainstTargetEnv(const SpvCapability* cap_array,
Denum_set.h169 using CapabilitySet = EnumSet<SpvCapability>;
/external/mesa3d/src/compiler/spirv/
Dspirv_info.h29 const char *spirv_capability_to_string(SpvCapability cap);
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidation_state.h298 void RegisterCapability(SpvCapability cap);
313 bool HasCapability(SpvCapability cap) const { in HasCapability()
Dvalidate_instruction.cpp47 capabilities.ForEach([&grammar, &ss](SpvCapability cap) { in ToString()
451 _.RegisterCapability(inst->GetOperandAs<SpvCapability>(0)); in InstructionPass()

123