Home
last modified time | relevance | path

Searched refs:HasCapability (Results 1 – 25 of 64) sorted by relevance

123

/external/deqp-deps/SPIRV-Tools/test/opt/
Dfeature_manager_test.cpp103 EXPECT_TRUE(context->get_feature_mgr()->HasCapability(SpvCapabilityShader)); in TEST_F()
104 EXPECT_FALSE(context->get_feature_mgr()->HasCapability(SpvCapabilityKernel)); in TEST_F()
117 EXPECT_FALSE(context->get_feature_mgr()->HasCapability(SpvCapabilityShader)); in TEST_F()
118 EXPECT_TRUE(context->get_feature_mgr()->HasCapability(SpvCapabilityKernel)); in TEST_F()
134 context->get_feature_mgr()->HasCapability(SpvCapabilityTessellation)); in TEST_F()
135 EXPECT_TRUE(context->get_feature_mgr()->HasCapability(SpvCapabilityShader)); in TEST_F()
136 EXPECT_TRUE(context->get_feature_mgr()->HasCapability(SpvCapabilityMatrix)); in TEST_F()
137 EXPECT_FALSE(context->get_feature_mgr()->HasCapability(SpvCapabilityKernel)); in TEST_F()
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dfeature_manager_test.cpp103 EXPECT_TRUE(context->get_feature_mgr()->HasCapability(SpvCapabilityShader)); in TEST_F()
104 EXPECT_FALSE(context->get_feature_mgr()->HasCapability(SpvCapabilityKernel)); in TEST_F()
117 EXPECT_FALSE(context->get_feature_mgr()->HasCapability(SpvCapabilityShader)); in TEST_F()
118 EXPECT_TRUE(context->get_feature_mgr()->HasCapability(SpvCapabilityKernel)); in TEST_F()
134 context->get_feature_mgr()->HasCapability(SpvCapabilityTessellation)); in TEST_F()
135 EXPECT_TRUE(context->get_feature_mgr()->HasCapability(SpvCapabilityShader)); in TEST_F()
136 EXPECT_TRUE(context->get_feature_mgr()->HasCapability(SpvCapabilityMatrix)); in TEST_F()
137 EXPECT_FALSE(context->get_feature_mgr()->HasCapability(SpvCapabilityKernel)); in TEST_F()
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidate_scopes.cpp39 if (_.HasCapability(SpvCapabilityShader)) { in ValidateExecutionScope()
133 if (_.HasCapability(SpvCapabilityShader)) { in ValidateMemoryScope()
142 if (_.HasCapability(SpvCapabilityVulkanMemoryModelKHR)) { in ValidateMemoryScope()
153 _.HasCapability(SpvCapabilityVulkanMemoryModelKHR) && in ValidateMemoryScope()
154 !_.HasCapability(SpvCapabilityVulkanMemoryModelDeviceScopeKHR)) { in ValidateMemoryScope()
Dvalidate_memory_semantics.cpp42 if (_.HasCapability(SpvCapabilityShader)) { in ValidateMemorySemantics()
92 !_.HasCapability(SpvCapabilityVulkanMemoryModelKHR)) { in ValidateMemorySemantics()
100 !_.HasCapability(SpvCapabilityVulkanMemoryModelKHR)) { in ValidateMemorySemantics()
108 !_.HasCapability(SpvCapabilityVulkanMemoryModelKHR)) { in ValidateMemorySemantics()
116 !_.HasCapability(SpvCapabilityShader)) { in ValidateMemorySemantics()
Dvalidate_mode_setting.cpp59 if (_.HasCapability(SpvCapabilityShader)) { in ValidateEntryPoint()
264 return _.HasCapability(SpvCapabilityMeshShadingNV); in ValidateExecutionMode()
269 if (_.HasCapability(SpvCapabilityMeshShadingNV)) { in ValidateExecutionMode()
326 return _.HasCapability(SpvCapabilityMeshShadingNV); in ValidateExecutionMode()
331 if (_.HasCapability(SpvCapabilityMeshShadingNV)) { in ValidateExecutionMode()
381 return _.HasCapability(SpvCapabilityMeshShadingNV); in ValidateExecutionMode()
386 if (_.HasCapability(SpvCapabilityMeshShadingNV)) { in ValidateExecutionMode()
Dvalidate_datarules.cpp44 if (_.HasCapability(SpvCapabilityVector16)) { in ValidateVecNumComponents()
78 if (_.HasCapability(SpvCapabilityFloat64)) { in ValidateFloatSize()
116 if (_.HasCapability(SpvCapabilityInt64)) { in ValidateIntSize()
Dvalidate_atomics.cpp55 if (_.HasCapability(SpvCapabilityKernel) && in AtomicsPass()
94 !_.HasCapability(SpvCapabilityInt64Atomics)) in AtomicsPass()
Dvalidate_capability.cpp194 if (_.HasCapability(SpvCapabilityImageBasic)) { in IsEnabledByCapabilityOpenCL_1_2()
210 if (_.HasCapability(SpvCapabilityImageBasic)) { in IsEnabledByCapabilityOpenCL_2_0()
Dvalidate_image.cpp573 if (info.dim == SpvDim1D && !_.HasCapability(SpvCapabilityImage1D)) { in ValidateImageCommon()
577 !_.HasCapability(SpvCapabilityImageRect)) { in ValidateImageCommon()
581 !_.HasCapability(SpvCapabilityImageBuffer)) { in ValidateImageCommon()
585 !_.HasCapability(SpvCapabilityImageCubeArray)) { in ValidateImageCommon()
592 !_.HasCapability(SpvCapabilityImageMSArray)) { in ValidateImageCommon()
990 _.HasCapability(SpvCapabilityKernel)) { in ValidateImageLod()
1332 !_.HasCapability(SpvCapabilityStorageImageReadWithoutFormat)) { in ValidateImageRead()
1409 !_.HasCapability(SpvCapabilityStorageImageWriteWithoutFormat)) { in ValidateImageWrite()
1614 if (_.HasCapability(SpvCapabilityKernel)) { in ValidateImageQueryLod()
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_scopes.cpp39 if (_.HasCapability(SpvCapabilityShader)) { in ValidateExecutionScope()
133 if (_.HasCapability(SpvCapabilityShader)) { in ValidateMemoryScope()
142 if (_.HasCapability(SpvCapabilityVulkanMemoryModelKHR)) { in ValidateMemoryScope()
153 _.HasCapability(SpvCapabilityVulkanMemoryModelKHR) && in ValidateMemoryScope()
154 !_.HasCapability(SpvCapabilityVulkanMemoryModelDeviceScopeKHR)) { in ValidateMemoryScope()
Dvalidate_memory_semantics.cpp42 if (_.HasCapability(SpvCapabilityShader)) { in ValidateMemorySemantics()
92 !_.HasCapability(SpvCapabilityVulkanMemoryModelKHR)) { in ValidateMemorySemantics()
100 !_.HasCapability(SpvCapabilityVulkanMemoryModelKHR)) { in ValidateMemorySemantics()
108 !_.HasCapability(SpvCapabilityVulkanMemoryModelKHR)) { in ValidateMemorySemantics()
116 !_.HasCapability(SpvCapabilityShader)) { in ValidateMemorySemantics()
Dvalidate_mode_setting.cpp59 if (_.HasCapability(SpvCapabilityShader)) { in ValidateEntryPoint()
264 return _.HasCapability(SpvCapabilityMeshShadingNV); in ValidateExecutionMode()
269 if (_.HasCapability(SpvCapabilityMeshShadingNV)) { in ValidateExecutionMode()
326 return _.HasCapability(SpvCapabilityMeshShadingNV); in ValidateExecutionMode()
331 if (_.HasCapability(SpvCapabilityMeshShadingNV)) { in ValidateExecutionMode()
381 return _.HasCapability(SpvCapabilityMeshShadingNV); in ValidateExecutionMode()
386 if (_.HasCapability(SpvCapabilityMeshShadingNV)) { in ValidateExecutionMode()
Dvalidate_datarules.cpp44 if (_.HasCapability(SpvCapabilityVector16)) { in ValidateVecNumComponents()
78 if (_.HasCapability(SpvCapabilityFloat64)) { in ValidateFloatSize()
116 if (_.HasCapability(SpvCapabilityInt64)) { in ValidateIntSize()
Dvalidate_atomics.cpp55 if (_.HasCapability(SpvCapabilityKernel) && in AtomicsPass()
94 !_.HasCapability(SpvCapabilityInt64Atomics)) in AtomicsPass()
Dvalidate_capability.cpp194 if (_.HasCapability(SpvCapabilityImageBasic)) { in IsEnabledByCapabilityOpenCL_1_2()
210 if (_.HasCapability(SpvCapabilityImageBasic)) { in IsEnabledByCapabilityOpenCL_2_0()
Dvalidate_constants.cpp325 if (!_.HasCapability(SpvCapabilityShader)) { in ValidateSpecConstantOp()
334 !_.HasCapability(SpvCapabilityKernel)) { in ValidateSpecConstantOp()
361 if (!_.HasCapability(SpvCapabilityKernel)) { in ValidateSpecConstantOp()
Dvalidate_image.cpp573 if (info.dim == SpvDim1D && !_.HasCapability(SpvCapabilityImage1D)) { in ValidateImageCommon()
577 !_.HasCapability(SpvCapabilityImageRect)) { in ValidateImageCommon()
581 !_.HasCapability(SpvCapabilityImageBuffer)) { in ValidateImageCommon()
585 !_.HasCapability(SpvCapabilityImageCubeArray)) { in ValidateImageCommon()
592 !_.HasCapability(SpvCapabilityImageMSArray)) { in ValidateImageCommon()
990 _.HasCapability(SpvCapabilityKernel)) { in ValidateImageLod()
1332 !_.HasCapability(SpvCapabilityStorageImageReadWithoutFormat)) { in ValidateImageRead()
1409 !_.HasCapability(SpvCapabilityStorageImageWriteWithoutFormat)) { in ValidateImageWrite()
1614 if (_.HasCapability(SpvCapabilityKernel)) { in ValidateImageQueryLod()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dinstruction.cpp207 if (context()->get_feature_mgr()->HasCapability(SpvCapabilityShader)) in IsReadOnlyVariable()
426 if (feature_mgr->HasCapability(SpvCapabilityAddresses)) { in IsValidBasePointer()
439 if ((feature_mgr->HasCapability(SpvCapabilityVariablePointersStorageBuffer) && in IsValidBasePointer()
441 (feature_mgr->HasCapability(SpvCapabilityVariablePointers) && in IsValidBasePointer()
510 if (!context_->get_feature_mgr()->HasCapability(SpvCapabilityShader)) { in IsFloatingPointFoldingAllowed()
Dfeature_manager.h34 bool HasCapability(SpvCapability cap) const { in HasCapability() function
Dlocal_ssa_elim_pass.cpp40 if (context()->get_feature_mgr()->HasCapability(SpvCapabilityAddresses)) in ProcessImpl()
Dstruct_cfg_analysis.cpp30 if (!context_->get_feature_mgr()->HasCapability(SpvCapabilityShader)) { in StructuredCFGAnalysis()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dinstruction.cpp207 if (context()->get_feature_mgr()->HasCapability(SpvCapabilityShader)) in IsReadOnlyVariable()
426 if (feature_mgr->HasCapability(SpvCapabilityAddresses)) { in IsValidBasePointer()
439 if ((feature_mgr->HasCapability(SpvCapabilityVariablePointersStorageBuffer) && in IsValidBasePointer()
441 (feature_mgr->HasCapability(SpvCapabilityVariablePointers) && in IsValidBasePointer()
510 if (!context_->get_feature_mgr()->HasCapability(SpvCapabilityShader)) { in IsFloatingPointFoldingAllowed()
Dfeature_manager.h34 bool HasCapability(SpvCapability cap) const { in HasCapability() function
Dlocal_ssa_elim_pass.cpp40 if (context()->get_feature_mgr()->HasCapability(SpvCapabilityAddresses)) in ProcessImpl()
Dstruct_cfg_analysis.cpp30 if (!context_->get_feature_mgr()->HasCapability(SpvCapabilityShader)) { in StructuredCFGAnalysis()

123