mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2025-05-15 09:18:34 +00:00
Clarify comment about compatibility with RenderDoc
This commit is contained in:
parent
d53dc4b211
commit
4fb254e362
1 changed files with 7 additions and 4 deletions
|
@ -1286,11 +1286,14 @@ static void InitializeApplication()
|
|||
{
|
||||
/*
|
||||
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
|
||||
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
|
||||
functionality embedded into Vulkan 1.1.
|
||||
https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/579
|
||||
|
||||
It occurs because this app uses Vulkan 1.0 and VK_KHR_dedicated_allocation
|
||||
extension instead of equivalent functionality embedded into Vulkan 1.1.
|
||||
*/
|
||||
allocatorInfo.flags |= VMA_ALLOCATOR_CREATE_KHR_DEDICATED_ALLOCATION_BIT;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue