Fix RenderDoc detection on Vulkan

This commit is contained in:
Wojtek Figat
2026-01-28 17:08:00 +01:00
parent 61b6aeb252
commit 259d93f95c
2 changed files with 2 additions and 4 deletions

View File

@@ -490,12 +490,10 @@ void GPUDeviceVulkan::GetDeviceExtensionsAndLayers(VkPhysicalDevice gpu, Array<c
}
// Add device layers for debugging
#ifdef VK_EXT_tooling_info
if (ListContains(foundUniqueExtensions, "VK_EXT_tooling_info"))
if (ListContains(foundUniqueLayers, "VK_LAYER_RENDERDOC_Capture"))
{
IsDebugToolAttached = true;
}
#endif
#if VULKAN_USE_DEBUG_LAYER
bool hasKhronosStandardValidationLayer = false, hasLunargStandardValidationLayer = false;
#if VULKAN_USE_KHRONOS_STANDARD_VALIDATION