mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-12-16 12:08:52 +00:00
Update MoltenVK to 1.4.1 with private api support. (#1743)
This commit is contained in:
parent
26e40a4bce
commit
0ddcba4ff1
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -234,8 +234,8 @@ jobs:
|
|||||||
|
|
||||||
- name: "Install molten-vk"
|
- name: "Install molten-vk"
|
||||||
run: |
|
run: |
|
||||||
curl -L -O https://github.com/KhronosGroup/MoltenVK/releases/download/v1.3.0/MoltenVK-macos.tar
|
curl -L -O https://github.com/KhronosGroup/MoltenVK/releases/download/v1.4.1/MoltenVK-macos-privateapi.tar
|
||||||
tar xf MoltenVK-macos.tar
|
tar xf MoltenVK-macos-privateapi.tar
|
||||||
sudo mkdir -p /usr/local/lib
|
sudo mkdir -p /usr/local/lib
|
||||||
sudo cp MoltenVK/MoltenVK/dynamic/dylib/macOS/libMoltenVK.dylib /usr/local/lib
|
sudo cp MoltenVK/MoltenVK/dynamic/dylib/macOS/libMoltenVK.dylib /usr/local/lib
|
||||||
|
|
||||||
|
|||||||
@ -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…
Reference in New Issue
Block a user