Disable NV layer

This commit is contained in:
baldurk committed 2026-08-07 16:26:33 +01:00
1 parent bc52be931a
commit d3a366e759
2 files changed
+6

No files matched your search

+3
View File
@@ -158,6 +158,9 @@ class VulkanHook : LibraryHook
Process::RegisterEnvironmentModification(
EnvironmentModification(EnvMod::Set, EnvSep::NoSep, "DISABLE_VK_LAYER_GPUOpen_GRS", "1"));
Process::RegisterEnvironmentModification(
EnvironmentModification(EnvMod::Set, EnvSep::NoSep, "DISABLE_LAYER_NV_PRESENT_1", "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
@@ -5659,6 +5659,9 @@ RDResult Vulkan_CreateReplayDevice(RDCFile *rdc, const ReplayOptions &opts, IRep
Process::RegisterEnvironmentModification(
EnvironmentModification(EnvMod::Set, EnvSep::NoSep, "DISABLE_VK_LAYER_GPUOpen_GRS", "1"));
Process::RegisterEnvironmentModification(
EnvironmentModification(EnvMod::Set, EnvSep::NoSep, "DISABLE_LAYER_NV_PRESENT_1", "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