Disable GPU Reshape

This commit is contained in:
baldurk
2025-03-13 14:00:09 +00:00
parent 9bc6174f62
commit 3dac15bd9d
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -155,6 +155,9 @@ class VulkanHook : LibraryHook
Process::RegisterEnvironmentModification(
EnvironmentModification(EnvMod::Set, EnvSep::NoSep, "DISABLE_VK_LAYER_reshade_1", "1"));
Process::RegisterEnvironmentModification(
EnvironmentModification(EnvMod::Set, EnvSep::NoSep, "DISABLE_VK_LAYER_GPUOpen_GRS", "1"));
// fpsmon not only has a buggy layer but it also picks an absurdly generic disable environment
// variable :(. Hopefully no other program picks this, or if it does then it's probably not a
// bad thing to disable too
+3
View File
@@ -5274,6 +5274,9 @@ RDResult Vulkan_CreateReplayDevice(RDCFile *rdc, const ReplayOptions &opts, IRep
Process::RegisterEnvironmentModification(
EnvironmentModification(EnvMod::Set, EnvSep::NoSep, "DISABLE_VK_LAYER_reshade_1", "1"));
Process::RegisterEnvironmentModification(
EnvironmentModification(EnvMod::Set, EnvSep::NoSep, "DISABLE_VK_LAYER_GPUOpen_GRS", "1"));
// fpsmon not only has a buggy layer but it also picks an absurdly generic disable environment
// variable :(. Hopefully no other program picks this, or if it does then it's probably not a
// bad thing to disable too