Home
last modified time | relevance | path

Searched refs:CapabilitySet (Results 1 – 25 of 26) sorted by relevance

12

/external/swiftshader/third_party/SPIRV-Tools/test/
Dopcode_require_capabilities_test.cpp27 CapabilitySet capabilities;
42 ElementsIn(CapabilitySet(entry->numCapabilities, entry->capabilities))); in TEST_P()
51 CapabilitySet{SpvCapabilityKernel, SpvCapabilityImageQuery}},
54 CapabilitySet{SpvCapabilityKernel, SpvCapabilityImageQuery}},
57 CapabilitySet{SpvCapabilityKernel, SpvCapabilityImageQuery}},
60 CapabilitySet{SpvCapabilityKernel, SpvCapabilityImageQuery}},
62 CapabilitySet{SpvCapabilitySparseResidency}},
64 CapabilitySet{SpvCapabilityAddresses}},
66 CapabilitySet{SpvCapabilityShader}},
67 ExpectedOpCodeCapabilities{SpvOpFunction, CapabilitySet()},
[all …]
Denum_set_test.cpp181 TEST(CapabilitySet, ConstructSingleMemberMatrix) { in TEST() argument
182 CapabilitySet s(SpvCapabilityMatrix); in TEST()
188 TEST(CapabilitySet, ConstructSingleMemberMaxInMask) { in TEST() argument
189 CapabilitySet s(static_cast<SpvCapability>(63)); in TEST()
197 TEST(CapabilitySet, ConstructSingleMemberMinOverflow) { in TEST() argument
199 CapabilitySet s(static_cast<SpvCapability>(64)); in TEST()
207 TEST(CapabilitySet, ConstructSingleMemberMaxOverflow) { in TEST() argument
209 CapabilitySet s(static_cast<SpvCapability>(0x7fffffffu)); in TEST()
216 TEST(CapabilitySet, AddEnum) { in TEST() argument
217 CapabilitySet s(SpvCapabilityShader); in TEST()
[all …]
Doperand_capabilities_test.cpp38 CapabilitySet expected_capabilities;
69 SPV_OPERAND_TYPE_##TYPE, uint32_t(Spv##VALUE), CapabilitySet { \
75 SPV_OPERAND_TYPE_##TYPE, uint32_t(Spv##VALUE), CapabilitySet { \
81 SPV_OPERAND_TYPE_##TYPE, uint32_t(Spv##VALUE), CapabilitySet { \
87 SPV_OPERAND_TYPE_##TYPE, uint32_t(Spv##VALUE), CapabilitySet { \
Dunit_spirv.h227 const spvtools::CapabilitySet& capabilities) { in ElementsIn()
/external/deqp-deps/SPIRV-Tools/test/
Dopcode_require_capabilities_test.cpp27 CapabilitySet capabilities;
42 ElementsIn(CapabilitySet(entry->numCapabilities, entry->capabilities))); in TEST_P()
51 CapabilitySet{SpvCapabilityKernel, SpvCapabilityImageQuery}},
54 CapabilitySet{SpvCapabilityKernel, SpvCapabilityImageQuery}},
57 CapabilitySet{SpvCapabilityKernel, SpvCapabilityImageQuery}},
60 CapabilitySet{SpvCapabilityKernel, SpvCapabilityImageQuery}},
62 CapabilitySet{SpvCapabilitySparseResidency}},
64 CapabilitySet{SpvCapabilityAddresses}},
66 CapabilitySet{SpvCapabilityShader}},
67 ExpectedOpCodeCapabilities{SpvOpFunction, CapabilitySet()},
[all …]
Denum_set_test.cpp181 TEST(CapabilitySet, ConstructSingleMemberMatrix) { in TEST() argument
182 CapabilitySet s(SpvCapabilityMatrix); in TEST()
188 TEST(CapabilitySet, ConstructSingleMemberMaxInMask) { in TEST() argument
189 CapabilitySet s(static_cast<SpvCapability>(63)); in TEST()
197 TEST(CapabilitySet, ConstructSingleMemberMinOverflow) { in TEST() argument
199 CapabilitySet s(static_cast<SpvCapability>(64)); in TEST()
207 TEST(CapabilitySet, ConstructSingleMemberMaxOverflow) { in TEST() argument
209 CapabilitySet s(static_cast<SpvCapability>(0x7fffffffu)); in TEST()
216 TEST(CapabilitySet, AddEnum) { in TEST() argument
217 CapabilitySet s(SpvCapabilityShader); in TEST()
[all …]
Doperand_capabilities_test.cpp38 CapabilitySet expected_capabilities;
69 SPV_OPERAND_TYPE_##TYPE, uint32_t(Spv##VALUE), CapabilitySet { \
75 SPV_OPERAND_TYPE_##TYPE, uint32_t(Spv##VALUE), CapabilitySet { \
81 SPV_OPERAND_TYPE_##TYPE, uint32_t(Spv##VALUE), CapabilitySet { \
87 SPV_OPERAND_TYPE_##TYPE, uint32_t(Spv##VALUE), CapabilitySet { \
Dunit_spirv.h227 const spvtools::CapabilitySet& capabilities) { in ElementsIn()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dfeature_manager.h41 CapabilitySet* GetCapabilities() { return &capabilities_; } in GetCapabilities()
42 const CapabilitySet* GetCapabilities() const { return &capabilities_; } in GetCapabilities()
69 CapabilitySet capabilities_;
Dfeature_manager.cpp51 CapabilitySet(desc->numCapabilities, desc->capabilities) in AddCapability()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dfeature_manager.h41 CapabilitySet* GetCapabilities() { return &capabilities_; } in GetCapabilities()
42 const CapabilitySet* GetCapabilities() const { return &capabilities_; } in GetCapabilities()
69 CapabilitySet capabilities_;
Dfeature_manager.cpp51 CapabilitySet(desc->numCapabilities, desc->capabilities) in AddCapability()
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_instruction.cpp44 std::string ToString(const CapabilitySet& capabilities, in ToString()
62 CapabilitySet EnablingCapabilitiesForOp(const ValidationState_t& state, in EnablingCapabilitiesForOp()
75 if (state.HasExtension(kSPV_AMD_shader_ballot)) return CapabilitySet(); in EnablingCapabilitiesForOp()
86 return CapabilitySet(); in EnablingCapabilitiesForOp()
123 CapabilitySet enabling_capabilities; in CheckRequiredCapabilities()
220 CapabilitySet opcode_caps = EnablingCapabilitiesForOp(_, opcode); in CapabilityCheck()
Dvalidation_state.h329 bool HasAnyOfCapabilities(const CapabilitySet& capabilities) const;
622 CapabilitySet module_capabilities_;
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidate_instruction.cpp44 std::string ToString(const CapabilitySet& capabilities, in ToString()
62 CapabilitySet EnablingCapabilitiesForOp(const ValidationState_t& state, in EnablingCapabilitiesForOp()
75 if (state.HasExtension(kSPV_AMD_shader_ballot)) return CapabilitySet(); in EnablingCapabilitiesForOp()
86 return CapabilitySet(); in EnablingCapabilitiesForOp()
123 CapabilitySet enabling_capabilities; in CheckRequiredCapabilities()
220 CapabilitySet opcode_caps = EnablingCapabilitiesForOp(_, opcode); in CapabilityCheck()
Dvalidation_state.h324 bool HasAnyOfCapabilities(const CapabilitySet& capabilities) const;
606 CapabilitySet module_capabilities_;
Dvalidation_state.cpp358 CapabilitySet(desc->numCapabilities, desc->capabilities) in RegisterCapability()
427 const CapabilitySet& capabilities) const { in HasAnyOfCapabilities()
/external/deqp-deps/SPIRV-Tools/test/val/
Dval_state_test.cpp89 CapabilitySet{SpvCapabilitySampledRect, SpvCapabilityImageBuffer}; in TEST_F()
90 const auto set2 = CapabilitySet{SpvCapabilityStorageImageWriteWithoutFormat, in TEST_F()
/external/swiftshader/third_party/SPIRV-Tools/test/val/
Dval_state_test.cpp89 CapabilitySet{SpvCapabilitySampledRect, SpvCapabilityImageBuffer}; in TEST_F()
90 const auto set2 = CapabilitySet{SpvCapabilityStorageImageWriteWithoutFormat, in TEST_F()
/external/swiftshader/third_party/SPIRV-Tools/source/
Dassembly_grammar.cpp174 CapabilitySet AssemblyGrammar::filterCapsAgainstTargetEnv( in filterCapsAgainstTargetEnv()
176 CapabilitySet cap_set; in filterCapsAgainstTargetEnv()
Dassembly_grammar.h44 CapabilitySet filterCapsAgainstTargetEnv(const SpvCapability* cap_array,
Denum_set.h169 using CapabilitySet = EnumSet<SpvCapability>; variable
/external/deqp-deps/SPIRV-Tools/source/
Dassembly_grammar.cpp174 CapabilitySet AssemblyGrammar::filterCapsAgainstTargetEnv( in filterCapsAgainstTargetEnv()
176 CapabilitySet cap_set; in filterCapsAgainstTargetEnv()
Dassembly_grammar.h44 CapabilitySet filterCapsAgainstTargetEnv(const SpvCapability* cap_array,
Denum_set.h169 using CapabilitySet = EnumSet<SpvCapability>; variable

12