Clarify comment about compatibility with RenderDoc

This commit is contained in:
Adam Sawicki 2019-04-23 11:29:57 +02:00
parent d53dc4b211
commit 4fb254e362

View file

@ -1286,11 +1286,14 @@ static void InitializeApplication()
{ {
/* /*
Comment out this line to make the app working with RenderDoc. Comment out this line to make the app working with RenderDoc.
Currently there is a problem with compatibility of this app with RenderDoc due
to a known bug in Vulkan validation layers:
RenderDoc relies on pointers to Vulkan function being null or not null instead https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/579
of checking whether the app really uses Vulkan 1.0 or 1.1. This app uses Vulkan
1.0 and VK_KHR_dedicated_allocation extension instead of equivalent It occurs because this app uses Vulkan 1.0 and VK_KHR_dedicated_allocation
functionality embedded into Vulkan 1.1. extension instead of equivalent functionality embedded into Vulkan 1.1.
*/ */
allocatorInfo.flags |= VMA_ALLOCATOR_CREATE_KHR_DEDICATED_ALLOCATION_BIT; allocatorInfo.flags |= VMA_ALLOCATOR_CREATE_KHR_DEDICATED_ALLOCATION_BIT;
} }