mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 08:15:59 +03:00
[PR #1887] [MERGED] vk_platform: Enable MoltenVK debug if crash diagnostics is enabled. #2366
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#2366
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/1887
Author: @squidbus
Created: 12/26/2024
Status: ✅ Merged
Merged: 12/27/2024
Merged by: @raphaelthegreat
Base:
main← Head:mvk-diag📝 Commits (2)
2a57773vk_platform: Enable MoltenVK debug if crash diagnostics is enabled.7cdec6cbuild: Make sure MoltenVK gets re-bundled when changed.📊 Changes
2 files changed (+17 additions, -5 deletions)
View changed files
📝
CMakeLists.txt(+5 -5)📝
src/video_core/renderer_vulkan/vk_platform.cpp(+12 -0)📄 Description
MoltenVK has a debug mode which includes enabling more detailed GPU command buffer execution information on device loss. Since it doesn't currently support the crash diagnostic layer, enable this instead to get more crash details.
I also had to add enabling
VK_EXT_layer_settingswhich was missing, as MoltenVK actually checks if it is enabled before reading layer settings.Also fixed a CMake issue where modifying the MoltenVK sub-module would not re-bundle into the output app unless the main target was modified as well.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.