Enable logic operations in VulkanRenderer

Enable logic operations in Vulkan device features for MoltenVK.
This commit is contained in:
rcaridade145 2025-12-10 16:27:25 +00:00 committed by GitHub
parent c0be4aec54
commit 75240702d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -478,9 +478,10 @@ VulkanRenderer::VulkanRenderer()
deviceFeatures.independentBlend = VK_TRUE;
deviceFeatures.samplerAnisotropy = VK_TRUE;
deviceFeatures.imageCubeArray = VK_TRUE;
//moltenVK supports logicOp via private api
deviceFeatures.logicOp = VK_TRUE;
#if !BOOST_OS_MACOS
deviceFeatures.geometryShader = VK_TRUE;
deviceFeatures.logicOp = VK_TRUE;
#endif
deviceFeatures.occlusionQueryPrecise = VK_TRUE;
deviceFeatures.depthClamp = VK_TRUE;