mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-09 22:01:36 +00:00
Disable NV layer
This commit is contained in:
2 files changed
+6
No files matched your search
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user