If a VkBuffer handle is destroyed before being bound, then its removal will be attempted by the GPU address range tracker which will access the base mem record - but this will be NULL on an unbound buffer. Buffers aren't added to the tracker unless bound, so exiting early is the correct thing to do in this case.
If a
VkBuffer
handle is destroyed before being bound, then its removal will be attempted by the GPU address range tracker which will access the base mem record - but this will beNULL
on an unbound buffer. Buffers aren't added to the tracker unless bound, so exiting early is the correct thing to do in this case.