/external/deqp-deps/SPIRV-Tools/test/opt/ |
D | feature_manager_test.cpp | 103 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/ |
D | feature_manager_test.cpp | 103 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/ |
D | validate_scopes.cpp | 39 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()
|
D | validate_memory_semantics.cpp | 42 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()
|
D | validate_mode_setting.cpp | 59 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()
|
D | validate_datarules.cpp | 44 if (_.HasCapability(SpvCapabilityVector16)) { in ValidateVecNumComponents() 78 if (_.HasCapability(SpvCapabilityFloat64)) { in ValidateFloatSize() 116 if (_.HasCapability(SpvCapabilityInt64)) { in ValidateIntSize()
|
D | validate_atomics.cpp | 55 if (_.HasCapability(SpvCapabilityKernel) && in AtomicsPass() 94 !_.HasCapability(SpvCapabilityInt64Atomics)) in AtomicsPass()
|
D | validate_capability.cpp | 194 if (_.HasCapability(SpvCapabilityImageBasic)) { in IsEnabledByCapabilityOpenCL_1_2() 210 if (_.HasCapability(SpvCapabilityImageBasic)) { in IsEnabledByCapabilityOpenCL_2_0()
|
D | validate_image.cpp | 573 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/ |
D | validate_scopes.cpp | 39 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()
|
D | validate_memory_semantics.cpp | 42 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()
|
D | validate_mode_setting.cpp | 59 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()
|
D | validate_datarules.cpp | 44 if (_.HasCapability(SpvCapabilityVector16)) { in ValidateVecNumComponents() 78 if (_.HasCapability(SpvCapabilityFloat64)) { in ValidateFloatSize() 116 if (_.HasCapability(SpvCapabilityInt64)) { in ValidateIntSize()
|
D | validate_atomics.cpp | 55 if (_.HasCapability(SpvCapabilityKernel) && in AtomicsPass() 94 !_.HasCapability(SpvCapabilityInt64Atomics)) in AtomicsPass()
|
D | validate_capability.cpp | 194 if (_.HasCapability(SpvCapabilityImageBasic)) { in IsEnabledByCapabilityOpenCL_1_2() 210 if (_.HasCapability(SpvCapabilityImageBasic)) { in IsEnabledByCapabilityOpenCL_2_0()
|
D | validate_constants.cpp | 325 if (!_.HasCapability(SpvCapabilityShader)) { in ValidateSpecConstantOp() 334 !_.HasCapability(SpvCapabilityKernel)) { in ValidateSpecConstantOp() 361 if (!_.HasCapability(SpvCapabilityKernel)) { in ValidateSpecConstantOp()
|
D | validate_image.cpp | 573 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/ |
D | instruction.cpp | 207 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()
|
D | feature_manager.h | 34 bool HasCapability(SpvCapability cap) const { in HasCapability() function
|
D | local_ssa_elim_pass.cpp | 40 if (context()->get_feature_mgr()->HasCapability(SpvCapabilityAddresses)) in ProcessImpl()
|
D | struct_cfg_analysis.cpp | 30 if (!context_->get_feature_mgr()->HasCapability(SpvCapabilityShader)) { in StructuredCFGAnalysis()
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | instruction.cpp | 207 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()
|
D | feature_manager.h | 34 bool HasCapability(SpvCapability cap) const { in HasCapability() function
|
D | local_ssa_elim_pass.cpp | 40 if (context()->get_feature_mgr()->HasCapability(SpvCapabilityAddresses)) in ProcessImpl()
|
D | struct_cfg_analysis.cpp | 30 if (!context_->get_feature_mgr()->HasCapability(SpvCapabilityShader)) { in StructuredCFGAnalysis()
|