mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-18 19:55:54 +00:00
When enabling API validation register khronos validation layer too
This commit is contained in:
@@ -143,6 +143,10 @@ class VulkanHook : LibraryHook
|
||||
Process::RegisterEnvironmentModification(
|
||||
EnvironmentModification(EnvMod::Append, EnvSep::Platform, "VK_DEVICE_LAYERS",
|
||||
"VK_LAYER_LUNARG_standard_validation"));
|
||||
Process::RegisterEnvironmentModification(EnvironmentModification(
|
||||
EnvMod::Append, EnvSep::Platform, "VK_INSTANCE_LAYERS", "VK_LAYER_KHRONOS_validation"));
|
||||
Process::RegisterEnvironmentModification(EnvironmentModification(
|
||||
EnvMod::Append, EnvSep::Platform, "VK_DEVICE_LAYERS", "VK_LAYER_KHRONOS_validation"));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user