Home
last modified time | relevance | path

Searched refs:feature_mgr (Results 1 – 6 of 6) sorted by relevance

/third_party/spirv-tools/source/opt/
Dgraphics_robust_access_pass.cpp196 auto* feature_mgr = context()->get_feature_mgr(); in IsCompatibleModule() local
197 if (!feature_mgr->HasCapability(SpvCapabilityShader)) in IsCompatibleModule()
199 if (feature_mgr->HasCapability(SpvCapabilityVariablePointers)) in IsCompatibleModule()
201 if (feature_mgr->HasCapability(SpvCapabilityVariablePointersStorageBuffer)) in IsCompatibleModule()
204 if (feature_mgr->HasCapability(SpvCapabilityRuntimeDescriptorArrayEXT)) { in IsCompatibleModule()
841 auto* feature_mgr = context()->get_feature_mgr(); in ClampCoordinateForImageTexelPointer()
842 if (!feature_mgr->HasCapability(SpvCapabilityImageQuery)) { in ClampCoordinateForImageTexelPointer()
849 feature_mgr->Analyze(context()->module()); in ClampCoordinateForImageTexelPointer()
Dinstruction.cpp604 auto feature_mgr = context()->get_feature_mgr(); in IsValidBasePointer() local
605 if (feature_mgr->HasCapability(SpvCapabilityAddresses)) { in IsValidBasePointer()
618 if ((feature_mgr->HasCapability(SpvCapabilityVariablePointersStorageBuffer) && in IsValidBasePointer()
620 (feature_mgr->HasCapability(SpvCapabilityVariablePointers) && in IsValidBasePointer()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dgraphics_robust_access_pass.cpp196 auto* feature_mgr = context()->get_feature_mgr(); in IsCompatibleModule() local
197 if (!feature_mgr->HasCapability(SpvCapabilityShader)) in IsCompatibleModule()
199 if (feature_mgr->HasCapability(SpvCapabilityVariablePointers)) in IsCompatibleModule()
201 if (feature_mgr->HasCapability(SpvCapabilityVariablePointersStorageBuffer)) in IsCompatibleModule()
204 if (feature_mgr->HasCapability(SpvCapabilityRuntimeDescriptorArrayEXT)) { in IsCompatibleModule()
845 auto* feature_mgr = context()->get_feature_mgr(); in ClampCoordinateForImageTexelPointer()
846 if (!feature_mgr->HasCapability(SpvCapabilityImageQuery)) { in ClampCoordinateForImageTexelPointer()
853 feature_mgr->Analyze(context()->module()); in ClampCoordinateForImageTexelPointer()
Dinstruction.cpp626 auto feature_mgr = context()->get_feature_mgr(); in IsValidBasePointer() local
627 if (feature_mgr->HasCapability(SpvCapabilityAddresses)) { in IsValidBasePointer()
640 if ((feature_mgr->HasCapability(SpvCapabilityVariablePointersStorageBuffer) && in IsValidBasePointer()
642 (feature_mgr->HasCapability(SpvCapabilityVariablePointers) && in IsValidBasePointer()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dgraphics_robust_access_pass.cpp196 auto* feature_mgr = context()->get_feature_mgr(); in IsCompatibleModule() local
197 if (!feature_mgr->HasCapability(SpvCapabilityShader)) in IsCompatibleModule()
199 if (feature_mgr->HasCapability(SpvCapabilityVariablePointers)) in IsCompatibleModule()
201 if (feature_mgr->HasCapability(SpvCapabilityVariablePointersStorageBuffer)) in IsCompatibleModule()
204 if (feature_mgr->HasCapability(SpvCapabilityRuntimeDescriptorArrayEXT)) { in IsCompatibleModule()
845 auto* feature_mgr = context()->get_feature_mgr(); in ClampCoordinateForImageTexelPointer()
846 if (!feature_mgr->HasCapability(SpvCapabilityImageQuery)) { in ClampCoordinateForImageTexelPointer()
853 feature_mgr->Analyze(context()->module()); in ClampCoordinateForImageTexelPointer()
Dinstruction.cpp626 auto feature_mgr = context()->get_feature_mgr(); in IsValidBasePointer() local
627 if (feature_mgr->HasCapability(SpvCapabilityAddresses)) { in IsValidBasePointer()
640 if ((feature_mgr->HasCapability(SpvCapabilityVariablePointersStorageBuffer) && in IsValidBasePointer()
642 (feature_mgr->HasCapability(SpvCapabilityVariablePointers) && in IsValidBasePointer()