mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 16:25:58 +03:00
[PR #1780] [MERGED] mac: Choose whether system Vulkan is needed at runtime. #2299
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#2299
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/1780
Author: @squidbus
Created: 12/14/2024
Status: ✅ Merged
Merged: 12/17/2024
Merged by: @georgemoralis
Base:
main← Head:macos-vkloader📝 Commits (1)
b2f6d57mac: Choose whether system Vulkan is needed at runtime.📊 Changes
6 files changed (+95 additions, -52 deletions)
View changed files
📝
CMakeLists.txt(+9 -4)📝
REUSE.toml(+1 -0)📝
externals/MoltenVK/CMakeLists.txt(+14 -2)➕
externals/MoltenVK/MoltenVK_icd.json(+8 -0)📝
src/video_core/renderer_vulkan/vk_common.h(+0 -4)📝
src/video_core/renderer_vulkan/vk_platform.cpp(+63 -42)📄 Description
Switches to using the system Vulkan loader when available, instead of deciding with a build flag, and alters how the included MoltenVK is bundled so that the system Vulkan loader will load it.
Should make it easy for any user to install the Vulkan SDK and enable debug layers without having to build from source, as layers cannot be loaded when using
libMoltenVK.dylibdirectly.Additionally, made some modifications to layer loading so that missing layers will error log instead of crashing.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.