Disable vulkan layer GamePP. Closes #2905

This commit is contained in:
baldurk
2023-04-13 17:31:12 +01:00
parent e36062b989
commit 6ab754b4e4
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -122,6 +122,10 @@ class VulkanHook : LibraryHook
Process::RegisterEnvironmentModification(
EnvironmentModification(EnvMod::Set, EnvSep::NoSep, "DISABLE_SAMPLE_LAYER", "1"));
// buggy overlay gamepp
Process::RegisterEnvironmentModification(
EnvironmentModification(EnvMod::Set, EnvSep::NoSep, "DISABLE_GAMEPP_LAYER", "1"));
// mesa device select layer crashes when it calls GPDP2 inside vkCreateInstance, which fails on
// the current loader.
Process::RegisterEnvironmentModification(
+4
View File
@@ -4619,6 +4619,10 @@ RDResult Vulkan_CreateReplayDevice(RDCFile *rdc, const ReplayOptions &opts, IRep
Process::RegisterEnvironmentModification(
EnvironmentModification(EnvMod::Set, EnvSep::NoSep, "DISABLE_SAMPLE_LAYER", "1"));
// buggy overlay gamepp
Process::RegisterEnvironmentModification(
EnvironmentModification(EnvMod::Set, EnvSep::NoSep, "DISABLE_GAMEPP_LAYER", "1"));
// mesa device select layer crashes when it calls GPDP2 inside vkCreateInstance, which fails on
// the current loader.
Process::RegisterEnvironmentModification(