/third_party/skia/third_party/externals/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()
|
/third_party/skia/third_party/externals/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()
|
/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()
|
/third_party/skia/third_party/externals/spirv-tools/source/val/ |
D | validate_memory_semantics.cpp | 43 if (_.HasCapability(SpvCapabilityShader) && in ValidateMemorySemantics() 44 !_.HasCapability(SpvCapabilityCooperativeMatrixNV)) { in ValidateMemorySemantics() 50 if (_.HasCapability(SpvCapabilityShader) && in ValidateMemorySemantics() 51 _.HasCapability(SpvCapabilityCooperativeMatrixNV) && in ValidateMemorySemantics() 83 !_.HasCapability(SpvCapabilityVulkanMemoryModelKHR)) { in ValidateMemorySemantics() 91 !_.HasCapability(SpvCapabilityVulkanMemoryModelKHR)) { in ValidateMemorySemantics() 99 !_.HasCapability(SpvCapabilityVulkanMemoryModelKHR)) { in ValidateMemorySemantics() 107 if (!_.HasCapability(SpvCapabilityVulkanMemoryModelKHR)) { in ValidateMemorySemantics() 122 !_.HasCapability(SpvCapabilityShader)) { in ValidateMemorySemantics()
|
D | validate_atomics.cpp | 188 !_.HasCapability(SpvCapabilityInt64Atomics)) { in AtomicsPass() 202 if (_.HasCapability(SpvCapabilityShader)) { in AtomicsPass() 226 (!_.HasCapability(SpvCapabilityAtomicFloat16AddEXT))) { in AtomicsPass() 233 (!_.HasCapability(SpvCapabilityAtomicFloat32AddEXT))) { in AtomicsPass() 240 (!_.HasCapability(SpvCapabilityAtomicFloat64AddEXT))) { in AtomicsPass() 249 (!_.HasCapability(SpvCapabilityAtomicFloat16MinMaxEXT))) { in AtomicsPass() 256 (!_.HasCapability(SpvCapabilityAtomicFloat32MinMaxEXT))) { in AtomicsPass() 263 (!_.HasCapability(SpvCapabilityAtomicFloat64MinMaxEXT))) { in AtomicsPass()
|
D | validate_scopes.cpp | 56 if (_.HasCapability(SpvCapabilityShader) && in ValidateScope() 57 !_.HasCapability(SpvCapabilityCooperativeMatrixNV)) { in ValidateScope() 62 if (_.HasCapability(SpvCapabilityShader) && in ValidateScope() 63 _.HasCapability(SpvCapabilityCooperativeMatrixNV) && in ValidateScope() 203 if (_.HasCapability(SpvCapabilityVulkanMemoryModelKHR)) { in ValidateMemoryScope() 214 _.HasCapability(SpvCapabilityVulkanMemoryModelKHR) && in ValidateMemoryScope() 215 !_.HasCapability(SpvCapabilityVulkanMemoryModelDeviceScopeKHR)) { in ValidateMemoryScope()
|
D | validate_mode_setting.cpp | 60 if (_.HasCapability(SpvCapabilityShader)) { in ValidateEntryPoint() 323 return _.HasCapability(SpvCapabilityMeshShadingNV); in ValidateExecutionMode() 328 if (_.HasCapability(SpvCapabilityMeshShadingNV)) { in ValidateExecutionMode() 385 return _.HasCapability(SpvCapabilityMeshShadingNV); in ValidateExecutionMode() 390 if (_.HasCapability(SpvCapabilityMeshShadingNV)) { in ValidateExecutionMode() 451 return _.HasCapability(SpvCapabilityMeshShadingNV); in ValidateExecutionMode() 456 if (_.HasCapability(SpvCapabilityMeshShadingNV)) { in ValidateExecutionMode() 494 _.HasCapability(SpvCapabilityVulkanMemoryModelKHR)) { in ValidateMemoryModel()
|
D | validate_memory.cpp | 508 if (!_.HasCapability(SpvCapabilityVariablePointersStorageBuffer)) { in ValidateVariable() 668 if (!_.HasCapability(SpvCapabilityRuntimeDescriptorArrayEXT)) { in ValidateVariable() 730 if (_.HasCapability(SpvCapabilityShader)) { in ValidateVariable() 733 if ((!_.HasCapability(SpvCapabilityInt16) && in ValidateVariable() 735 (!_.HasCapability(SpvCapabilityFloat16) && in ValidateVariable() 749 if (!_.HasCapability(SpvCapabilityStorageBuffer16BitAccess)) { in ValidateVariable() 754 if (!_.HasCapability( in ValidateVariable() 761 if (!_.HasCapability(SpvCapabilityStorageBuffer16BitAccess) || in ValidateVariable() 769 if (!_.HasCapability(SpvCapabilityStoragePushConstant16)) { in ValidateVariable() 775 if (!_.HasCapability(SpvCapabilityStorageInputOutput16)) { in ValidateVariable() [all …]
|
D | validate_composites.cpp | 167 if (_.HasCapability(SpvCapabilityShader) && in ValidateVectorExtractDynamic() 203 if (_.HasCapability(SpvCapabilityShader) && in ValidateVectorInsertDyanmic() 365 if (_.HasCapability(SpvCapabilityShader) && in ValidateCompositeConstruct() 389 if (_.HasCapability(SpvCapabilityShader) && in ValidateCompositeExtract() 424 if (_.HasCapability(SpvCapabilityShader) && in ValidateCompositeInsert() 483 if (_.HasCapability(SpvCapabilityShader) && in ValidateTranspose() 551 if (_.HasCapability(SpvCapabilityShader) && in ValidateVectorShuffle() 575 if (_.HasCapability(SpvCapabilityShader) && in ValidateCopyLogical()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/ |
D | validate_memory_semantics.cpp | 43 if (_.HasCapability(SpvCapabilityShader) && in ValidateMemorySemantics() 44 !_.HasCapability(SpvCapabilityCooperativeMatrixNV)) { in ValidateMemorySemantics() 50 if (_.HasCapability(SpvCapabilityShader) && in ValidateMemorySemantics() 51 _.HasCapability(SpvCapabilityCooperativeMatrixNV) && in ValidateMemorySemantics() 83 !_.HasCapability(SpvCapabilityVulkanMemoryModelKHR)) { in ValidateMemorySemantics() 91 !_.HasCapability(SpvCapabilityVulkanMemoryModelKHR)) { in ValidateMemorySemantics() 99 !_.HasCapability(SpvCapabilityVulkanMemoryModelKHR)) { in ValidateMemorySemantics() 107 if (!_.HasCapability(SpvCapabilityVulkanMemoryModelKHR)) { in ValidateMemorySemantics() 122 !_.HasCapability(SpvCapabilityShader)) { in ValidateMemorySemantics()
|
D | validate_atomics.cpp | 188 !_.HasCapability(SpvCapabilityInt64Atomics)) { in AtomicsPass() 202 if (_.HasCapability(SpvCapabilityShader)) { in AtomicsPass() 226 (!_.HasCapability(SpvCapabilityAtomicFloat16AddEXT))) { in AtomicsPass() 233 (!_.HasCapability(SpvCapabilityAtomicFloat32AddEXT))) { in AtomicsPass() 240 (!_.HasCapability(SpvCapabilityAtomicFloat64AddEXT))) { in AtomicsPass() 249 (!_.HasCapability(SpvCapabilityAtomicFloat16MinMaxEXT))) { in AtomicsPass() 256 (!_.HasCapability(SpvCapabilityAtomicFloat32MinMaxEXT))) { in AtomicsPass() 263 (!_.HasCapability(SpvCapabilityAtomicFloat64MinMaxEXT))) { in AtomicsPass()
|
D | validate_scopes.cpp | 56 if (_.HasCapability(SpvCapabilityShader) && in ValidateScope() 57 !_.HasCapability(SpvCapabilityCooperativeMatrixNV)) { in ValidateScope() 62 if (_.HasCapability(SpvCapabilityShader) && in ValidateScope() 63 _.HasCapability(SpvCapabilityCooperativeMatrixNV) && in ValidateScope() 203 if (_.HasCapability(SpvCapabilityVulkanMemoryModelKHR)) { in ValidateMemoryScope() 214 _.HasCapability(SpvCapabilityVulkanMemoryModelKHR) && in ValidateMemoryScope() 215 !_.HasCapability(SpvCapabilityVulkanMemoryModelDeviceScopeKHR)) { in ValidateMemoryScope()
|
D | validate_mode_setting.cpp | 60 if (_.HasCapability(SpvCapabilityShader)) { in ValidateEntryPoint() 323 return _.HasCapability(SpvCapabilityMeshShadingNV); in ValidateExecutionMode() 328 if (_.HasCapability(SpvCapabilityMeshShadingNV)) { in ValidateExecutionMode() 385 return _.HasCapability(SpvCapabilityMeshShadingNV); in ValidateExecutionMode() 390 if (_.HasCapability(SpvCapabilityMeshShadingNV)) { in ValidateExecutionMode() 451 return _.HasCapability(SpvCapabilityMeshShadingNV); in ValidateExecutionMode() 456 if (_.HasCapability(SpvCapabilityMeshShadingNV)) { in ValidateExecutionMode() 494 _.HasCapability(SpvCapabilityVulkanMemoryModelKHR)) { in ValidateMemoryModel()
|
D | validate_memory.cpp | 508 if (!_.HasCapability(SpvCapabilityVariablePointersStorageBuffer)) { in ValidateVariable() 668 if (!_.HasCapability(SpvCapabilityRuntimeDescriptorArrayEXT)) { in ValidateVariable() 730 if (_.HasCapability(SpvCapabilityShader)) { in ValidateVariable() 733 if ((!_.HasCapability(SpvCapabilityInt16) && in ValidateVariable() 735 (!_.HasCapability(SpvCapabilityFloat16) && in ValidateVariable() 749 if (!_.HasCapability(SpvCapabilityStorageBuffer16BitAccess)) { in ValidateVariable() 754 if (!_.HasCapability( in ValidateVariable() 761 if (!_.HasCapability(SpvCapabilityStorageBuffer16BitAccess) || in ValidateVariable() 769 if (!_.HasCapability(SpvCapabilityStoragePushConstant16)) { in ValidateVariable() 775 if (!_.HasCapability(SpvCapabilityStorageInputOutput16)) { in ValidateVariable() [all …]
|
D | validate_composites.cpp | 167 if (_.HasCapability(SpvCapabilityShader) && in ValidateVectorExtractDynamic() 203 if (_.HasCapability(SpvCapabilityShader) && in ValidateVectorInsertDyanmic() 365 if (_.HasCapability(SpvCapabilityShader) && in ValidateCompositeConstruct() 389 if (_.HasCapability(SpvCapabilityShader) && in ValidateCompositeExtract() 424 if (_.HasCapability(SpvCapabilityShader) && in ValidateCompositeInsert() 483 if (_.HasCapability(SpvCapabilityShader) && in ValidateTranspose() 551 if (_.HasCapability(SpvCapabilityShader) && in ValidateVectorShuffle() 575 if (_.HasCapability(SpvCapabilityShader) && in ValidateCopyLogical()
|
/third_party/spirv-tools/source/val/ |
D | validate_memory_semantics.cpp | 43 if (_.HasCapability(SpvCapabilityShader) && in ValidateMemorySemantics() 44 !_.HasCapability(SpvCapabilityCooperativeMatrixNV)) { in ValidateMemorySemantics() 50 if (_.HasCapability(SpvCapabilityShader) && in ValidateMemorySemantics() 51 _.HasCapability(SpvCapabilityCooperativeMatrixNV) && in ValidateMemorySemantics() 83 !_.HasCapability(SpvCapabilityVulkanMemoryModelKHR)) { in ValidateMemorySemantics() 91 !_.HasCapability(SpvCapabilityVulkanMemoryModelKHR)) { in ValidateMemorySemantics() 99 !_.HasCapability(SpvCapabilityVulkanMemoryModelKHR)) { in ValidateMemorySemantics() 107 if (!_.HasCapability(SpvCapabilityVulkanMemoryModelKHR)) { in ValidateMemorySemantics() 122 !_.HasCapability(SpvCapabilityShader)) { in ValidateMemorySemantics()
|
D | validate_mode_setting.cpp | 59 if (_.HasCapability(SpvCapabilityShader)) { in ValidateEntryPoint() 392 return _.HasCapability(SpvCapabilityMeshShadingNV); in ValidateExecutionMode() 394 return _.HasCapability( in ValidateExecutionMode() 400 if (_.HasCapability(SpvCapabilityMeshShadingNV) || in ValidateExecutionMode() 401 _.HasCapability(SpvCapabilityMeshShadingEXT)) { in ValidateExecutionMode() 458 return _.HasCapability(SpvCapabilityMeshShadingNV); in ValidateExecutionMode() 460 return _.HasCapability( in ValidateExecutionMode() 466 if (_.HasCapability(SpvCapabilityMeshShadingNV) || in ValidateExecutionMode() 467 _.HasCapability(SpvCapabilityMeshShadingEXT)) { in ValidateExecutionMode() 549 return _.HasCapability(SpvCapabilityMeshShadingNV); in ValidateExecutionMode() [all …]
|
D | validate_scopes.cpp | 56 if (_.HasCapability(SpvCapabilityShader) && in ValidateScope() 57 !_.HasCapability(SpvCapabilityCooperativeMatrixNV)) { in ValidateScope() 62 if (_.HasCapability(SpvCapabilityShader) && in ValidateScope() 63 _.HasCapability(SpvCapabilityCooperativeMatrixNV) && in ValidateScope() 205 if (_.HasCapability(SpvCapabilityVulkanMemoryModelKHR)) { in ValidateMemoryScope() 216 _.HasCapability(SpvCapabilityVulkanMemoryModelKHR) && in ValidateMemoryScope() 217 !_.HasCapability(SpvCapabilityVulkanMemoryModelDeviceScopeKHR)) { in ValidateMemoryScope() 235 !_.HasCapability(SpvCapabilitySubgroupBallotKHR) && in ValidateMemoryScope() 236 !_.HasCapability(SpvCapabilitySubgroupVoteKHR)) { in ValidateMemoryScope()
|
D | validate_atomics.cpp | 189 !_.HasCapability(SpvCapabilityInt64Atomics)) { in AtomicsPass() 203 if (_.HasCapability(SpvCapabilityShader)) { in AtomicsPass() 228 (!_.HasCapability(SpvCapabilityAtomicFloat16AddEXT))) { in AtomicsPass() 235 (!_.HasCapability(SpvCapabilityAtomicFloat32AddEXT))) { in AtomicsPass() 242 (!_.HasCapability(SpvCapabilityAtomicFloat64AddEXT))) { in AtomicsPass() 251 (!_.HasCapability(SpvCapabilityAtomicFloat16MinMaxEXT))) { in AtomicsPass() 258 (!_.HasCapability(SpvCapabilityAtomicFloat32MinMaxEXT))) { in AtomicsPass() 265 (!_.HasCapability(SpvCapabilityAtomicFloat64MinMaxEXT))) { in AtomicsPass()
|
D | validate_memory.cpp | 520 if (!_.HasCapability(SpvCapabilityVariablePointersStorageBuffer)) { in ValidateVariable() 694 if (!_.HasCapability(SpvCapabilityRuntimeDescriptorArrayEXT)) { in ValidateVariable() 763 if (_.HasCapability(SpvCapabilityShader)) { in ValidateVariable() 766 if ((!_.HasCapability(SpvCapabilityInt16) && in ValidateVariable() 768 (!_.HasCapability(SpvCapabilityFloat16) && in ValidateVariable() 782 if (!_.HasCapability(SpvCapabilityStorageBuffer16BitAccess)) { in ValidateVariable() 787 if (!_.HasCapability( in ValidateVariable() 794 if (!_.HasCapability(SpvCapabilityStorageBuffer16BitAccess) || in ValidateVariable() 802 if (!_.HasCapability(SpvCapabilityStoragePushConstant16)) { in ValidateVariable() 808 if (!_.HasCapability(SpvCapabilityStorageInputOutput16)) { in ValidateVariable() [all …]
|
D | validate_composites.cpp | 167 if (_.HasCapability(SpvCapabilityShader) && in ValidateVectorExtractDynamic() 203 if (_.HasCapability(SpvCapabilityShader) && in ValidateVectorInsertDyanmic() 365 if (_.HasCapability(SpvCapabilityShader) && in ValidateCompositeConstruct() 389 if (_.HasCapability(SpvCapabilityShader) && in ValidateCompositeExtract() 424 if (_.HasCapability(SpvCapabilityShader) && in ValidateCompositeInsert() 483 if (_.HasCapability(SpvCapabilityShader) && in ValidateTranspose() 551 if (_.HasCapability(SpvCapabilityShader) && in ValidateVectorShuffle() 575 if (_.HasCapability(SpvCapabilityShader) && in ValidateCopyLogical()
|
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
D | transformation_add_type_int.cpp | 45 if (!ir_context->get_feature_mgr()->HasCapability(SpvCapabilityInt8)) { in IsApplicable() 51 if (!ir_context->get_feature_mgr()->HasCapability(SpvCapabilityInt16)) { in IsApplicable() 60 if (!ir_context->get_feature_mgr()->HasCapability(SpvCapabilityInt64)) { in IsApplicable()
|
/third_party/spirv-tools/source/fuzz/ |
D | transformation_add_type_int.cpp | 45 if (!ir_context->get_feature_mgr()->HasCapability(SpvCapabilityInt8)) { in IsApplicable() 51 if (!ir_context->get_feature_mgr()->HasCapability(SpvCapabilityInt16)) { in IsApplicable() 60 if (!ir_context->get_feature_mgr()->HasCapability(SpvCapabilityInt64)) { in IsApplicable()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | transformation_add_type_int.cpp | 45 if (!ir_context->get_feature_mgr()->HasCapability(SpvCapabilityInt8)) { in IsApplicable() 51 if (!ir_context->get_feature_mgr()->HasCapability(SpvCapabilityInt16)) { in IsApplicable() 60 if (!ir_context->get_feature_mgr()->HasCapability(SpvCapabilityInt64)) { in IsApplicable()
|
/third_party/spirv-tools/source/opt/ |
D | instruction.cpp | 258 if (context()->get_feature_mgr()->HasCapability(SpvCapabilityShader)) in IsReadOnlyPointer() 605 if (feature_mgr->HasCapability(SpvCapabilityAddresses)) { in IsValidBasePointer() 618 if ((feature_mgr->HasCapability(SpvCapabilityVariablePointersStorageBuffer) && in IsValidBasePointer() 620 (feature_mgr->HasCapability(SpvCapabilityVariablePointers) && in IsValidBasePointer() 768 if (!context_->get_feature_mgr()->HasCapability(SpvCapabilityShader) || in IsFloatingPointFoldingAllowed() 769 context_->get_feature_mgr()->HasCapability(SpvCapabilityDenormPreserve) || in IsFloatingPointFoldingAllowed() 770 context_->get_feature_mgr()->HasCapability( in IsFloatingPointFoldingAllowed() 772 context_->get_feature_mgr()->HasCapability( in IsFloatingPointFoldingAllowed() 774 context_->get_feature_mgr()->HasCapability( in IsFloatingPointFoldingAllowed() 776 context_->get_feature_mgr()->HasCapability( in IsFloatingPointFoldingAllowed()
|