Replace usage of old VK_LAYER_LUNARG_standard_validation and extension VK_EXT_debug_report with new VK_LAYER_KHRONOS_validation and extension VK_EXT_debug_utils also in VmaReplay

This commit is contained in:
Adam Sawicki 2020-07-15 17:12:28 +02:00
parent 8caf0bd1c0
commit d594faafee
3 changed files with 65 additions and 90 deletions

View file

@ -44,7 +44,6 @@ VkPhysicalDevice g_hPhysicalDevice;
VkDevice g_hDevice;
VmaAllocator g_hAllocator;
VkInstance g_hVulkanInstance;
bool g_MemoryAliasingWarningEnabled = true;
bool g_EnableValidationLayer = true;
bool VK_KHR_get_memory_requirements2_enabled = false;
@ -1771,10 +1770,7 @@ static void FinalizeApplication()
g_hSurface = VK_NULL_HANDLE;
}
if(VK_EXT_debug_utils_enabled)
{
UnregisterDebugCallbacks();
}
UnregisterDebugCallbacks();
if(g_hVulkanInstance != VK_NULL_HANDLE)
{