mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-12-12 19:37:01 +00:00
Enable logic operations in VulkanRenderer
Enable logic operations in Vulkan device features for MoltenVK.
This commit is contained in:
parent
c0be4aec54
commit
75240702d9
1 changed files with 2 additions and 1 deletions
|
|
@ -478,9 +478,10 @@ VulkanRenderer::VulkanRenderer()
|
||||||
deviceFeatures.independentBlend = VK_TRUE;
|
deviceFeatures.independentBlend = VK_TRUE;
|
||||||
deviceFeatures.samplerAnisotropy = VK_TRUE;
|
deviceFeatures.samplerAnisotropy = VK_TRUE;
|
||||||
deviceFeatures.imageCubeArray = VK_TRUE;
|
deviceFeatures.imageCubeArray = VK_TRUE;
|
||||||
|
//moltenVK supports logicOp via private api
|
||||||
|
deviceFeatures.logicOp = VK_TRUE;
|
||||||
#if !BOOST_OS_MACOS
|
#if !BOOST_OS_MACOS
|
||||||
deviceFeatures.geometryShader = VK_TRUE;
|
deviceFeatures.geometryShader = VK_TRUE;
|
||||||
deviceFeatures.logicOp = VK_TRUE;
|
|
||||||
#endif
|
#endif
|
||||||
deviceFeatures.occlusionQueryPrecise = VK_TRUE;
|
deviceFeatures.occlusionQueryPrecise = VK_TRUE;
|
||||||
deviceFeatures.depthClamp = VK_TRUE;
|
deviceFeatures.depthClamp = VK_TRUE;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue