Skip to content

Commit

Permalink
Revert "vk_platform: Fix incorrect type for MVK debug flag. (shadps4-…
Browse files Browse the repository at this point in the history
…emu#1993)"

This reverts commit 927dc6d.
  • Loading branch information
Xcedf committed Feb 27, 2025
1 parent b2dc16c commit 7804447
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/video_core/renderer_vulkan/vk_platform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -283,9 +283,6 @@ vk::UniqueInstance CreateInstance(Frontend::WindowSystemType window_type, bool e
Common::FS::GetUserPathString(Common::FS::PathType::LogDir);
const char* log_path = crash_diagnostic_path.c_str();
vk::Bool32 enable_force_barriers = vk::True;
#ifdef __APPLE__
const vk::Bool32 mvk_debug_mode = enable_crash_diagnostic ? vk::True : vk::False;
#endif

const std::array layer_setings = {
vk::LayerSettingEXT{
Expand Down Expand Up @@ -359,7 +356,7 @@ vk::UniqueInstance CreateInstance(Frontend::WindowSystemType window_type, bool e
.pSettingName = "MVK_CONFIG_DEBUG",
.type = vk::LayerSettingTypeEXT::eBool32,
.valueCount = 1,
.pValues = &mvk_debug_mode,
.pValues = &enable_crash_diagnostic,
}
#endif
};
Expand Down

0 comments on commit 7804447

Please sign in to comment.