mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 10:00:40 +00:00
Disable GPU Reshape
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user