mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-14 18:00:54 +00:00
When enabling API validation register khronos validation layer too
This commit is contained in:
1 file changed
+4
@@ -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