mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-07 07:11:06 +00:00
Only replay fake backbuffers with BDA if we have recorded BDA info
This commit is contained in:
@@ -532,7 +532,7 @@ bool WrappedVulkan::Serialise_vkCreateSwapchainKHR(SerialiserType &ser, VkDevice
|
||||
VkMemoryOpaqueCaptureAddressAllocateInfo memoryDeviceAddress = {
|
||||
VK_STRUCTURE_TYPE_MEMORY_OPAQUE_CAPTURE_ADDRESS_ALLOCATE_INFO,
|
||||
};
|
||||
if(fakeBackbuffers)
|
||||
if(fakeBackbuffers && opaqueMemAddress)
|
||||
{
|
||||
allocInfo.pNext = &memFlags;
|
||||
memFlags.flags = VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_BIT |
|
||||
|
||||
Reference in New Issue
Block a user