zworld/log/error/VkPresentInfoKHR.txt
2024-01-20 18:44:07 +08:00

34 lines
2.5 KiB
Plaintext

Thread 7, Frame 1:
vkWaitForFences(device, fenceCount, pFences, waitAll, timeout) returns VkResult VK_SUCCESS (0):
device: VkDevice = 0000017DFB263730
fenceCount: uint32_t = 1
pFences: const VkFence* = 0000002F943FF630
VUID-VkPresentInfoKHR-pImageIndices-01430(ERROR / SPEC): msgNum: 1219306694 - Validation Error: [ VUID-VkPresentInfoKHR-pImageIndices-01430 ] Object 0: handle = 0x17dfd8b9ad0, name = frame0:0:17dfd8b9ad0, type = VK_OBJECT_TYP
E_QUEUE; | MessageID = 0x48ad24c6 | vkQueuePresentKHR(): pSwapchains[0] images passed to present must be in layout VK_IMAGE_LAYOUT_PRESENT_SRC_KHR or VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR but is in VK_IMAGE_LAYOUT_UNDEFINED. The
Vulkan spec states: Each element of pImageIndices must be the index of a presentable image acquired from the swapchain specified by the corresponding element of the pSwapchains array, and the presented image subresource must
be in the VK_IMAGE_LAYOUT_PRESENT_SRC_KHR or VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR layout at the time the operation is executed on a VkDevice (https://vulkan.lunarg.com/doc/view/1.3.261.1/windows/1.3-extensions/vkspec.html#VUID
-VkPresentInfoKHR-pImageIndices-01430)
Objects: 1
[0] 0x17dfd8b9ad0, type: 4, name: frame0:0:17dfd8b9ad0
pFences[0]: const VkFence = 0000017DFA4D8460
waitAll: VkBool32 = 1
timeout: uint64_t = 3600000000000
Thread 3, Frame 1:
vkQueuePresentKHR(queue, pPresentInfo) returns VkResult VK_SUCCESS (0):
queue: VkQueue = 0000017DFD8B9AD0
pPresentInfo: const VkPresentInfoKHR* = 00000568D00E0EC0:
sType: VkStructureType = VK_STRUCTURE_TYPE_PRESENT_INFO_KHR (1000001001)
pNext: const void* = NULL
waitSemaphoreCount: uint32_t = 1
pWaitSemaphores: const VkSemaphore* = 00000568D0090240
pWaitSemaphores[0]: const VkSemaphore = 0000017DFDE29F00
swapchainCount: uint32_t = 1
pSwapchains: const VkSwapchainKHR* = 00000568D0090248
pSwapchains[0]: const VkSwapchainKHR = 0000017DFDE11C40
pImageIndices: const uint32_t* = 00000568D0090250
pImageIndices[0]: const uint32_t = 1
pResults: VkResult* = 00000568D0090258
pResults[0]: VkResult = VK_SUCCESS (0)