Closed w23 closed 1 month ago
This looks more like miscompilation or memory corruption or something like that. What seems to be going on here is: one of image handles returned by vkGetSwapchainImagesKHR()
doesn't point to an VkImage
object. Instead it somehow points to a VkInstance
, which doesn't make any sense at all.
What you should try:
g_swapchain.images
array before and after the function. Then step through the loop below, noting at which particular image index/value it starts to whine.What's your Vulkan SDK version? Do you have any obsolete vulkan validation layers libraries laying around somewhere, interfering with the Vulkan SDK?
Cannot reproduce.
@Aty-0 нам принёс: