Skip to content

Commit 0ddcba4

Browse files
authored
Update MoltenVK to 1.4.1 with private api support. (cemu-project#1743)
1 parent 26e40a4 commit 0ddcba4

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,8 @@ jobs:
234234
235235
- name: "Install molten-vk"
236236
run: |
237-
curl -L -O https://github.com/KhronosGroup/MoltenVK/releases/download/v1.3.0/MoltenVK-macos.tar
238-
tar xf MoltenVK-macos.tar
237+
curl -L -O https://github.com/KhronosGroup/MoltenVK/releases/download/v1.4.1/MoltenVK-macos-privateapi.tar
238+
tar xf MoltenVK-macos-privateapi.tar
239239
sudo mkdir -p /usr/local/lib
240240
sudo cp MoltenVK/MoltenVK/dynamic/dylib/macOS/libMoltenVK.dylib /usr/local/lib
241241

src/Cafe/HW/Latte/Renderer/Vulkan/VulkanRenderer.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,9 +478,10 @@ VulkanRenderer::VulkanRenderer()
478478
deviceFeatures.independentBlend = VK_TRUE;
479479
deviceFeatures.samplerAnisotropy = VK_TRUE;
480480
deviceFeatures.imageCubeArray = VK_TRUE;
481+
//moltenVK supports logicOp via private api
482+
deviceFeatures.logicOp = VK_TRUE;
481483
#if !BOOST_OS_MACOS
482484
deviceFeatures.geometryShader = VK_TRUE;
483-
deviceFeatures.logicOp = VK_TRUE;
484485
#endif
485486
deviceFeatures.occlusionQueryPrecise = VK_TRUE;
486487
deviceFeatures.depthClamp = VK_TRUE;

0 commit comments

Comments
 (0)