You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updating Vulkan SDK to the latest version, we started seeing issues with the swap chain that did not happen before (versions 1.3.268.1 and earlier).
First, when running application from XCode with Metal API Validation enabled, the app triggers Metal assertion:
validateRenderPassDescriptor:991: failed assertion `RenderPass Descriptor Validation
renderTargetWidth (1600) must be <= minimum attachment width (1).
renderTargetHeight (1200) must be <= minimum attachment height (1).
When disabling Metal API Validation, Vulkan validation displays errors:
Diligent Engine: ERROR: Vulkan debug message (validation): UNASSIGNED-VkPresentInfoKHR-pImageIndices-MissingAcquireWait
Validation Error: [ UNASSIGNED-VkPresentInfoKHR-pImageIndices-MissingAcquireWait ] Object 0: handle = 0x808562000000003f, type = VK_OBJECT_TYPE_IMAGE; Object 1: handle = 0x9f9b41000000003c, name = Swap chain image acquired semaphore 2, type = VK_OBJECT_TYPE_SEMAPHORE; Object 2: handle = 0x5c5283000000003e, type = VK_OBJECT_TYPE_FENCE; | MessageID = 0x1b6b9ef2 | vkQueuePresentKHR(): pPresentInfo->pImageIndices[0] was acquired with a semaphore VkSemaphore 0x9f9b41000000003c[Swap chain image acquired semaphore 2] and fence VkFence 0x5c5283000000003e[] and neither of them have since been waited on
Object[0] (image): Handle 0x808562000000003f
Object[1] (semaphore): Handle 0x9f9b41000000003c, Name: 'Swap chain image acquired semaphore 2'
Object[2] (fence): Handle 0x5c5283000000003e
Diligent Engine: ERROR: Vulkan debug message (validation): VUID-vkDestroyFence-fence-01120
Validation Error: [ VUID-vkDestroyFence-fence-01120 ] Object 0: handle = 0x5c5283000000003e, type = VK_OBJECT_TYPE_FENCE; | MessageID = 0x5d296248 | vkDestroyFence(): fence (VkFence 0x5c5283000000003e[]) is in use. The Vulkan spec states: All queue submission commands that refer to fence must have completed execution (https://vulkan.lunarg.com/doc/view/1.3.275.0/mac/1.3-extensions/vkspec.html#VUID-vkDestroyFence-fence-01120)
Object[0] (fence): Handle 0x5c5283000000003e
The errors do not make a lot of sense: the semaphore is signaled few lines before it is passed to vkQueuePresentKHR
Lastly, when resizing the window, the app hangs.
None of these issues happened before the 1.3.275.0 SDK. They also don't happen on any other platform (Windows, Linux, Android) with the same SDK version.
The behavior is the same whether we use the MoltenVK surface or VK_EXT_Metal_Surface
Hello!
After updating Vulkan SDK to the latest version, we started seeing issues with the swap chain that did not happen before (versions 1.3.268.1 and earlier).
First, when running application from XCode with Metal API Validation enabled, the app triggers Metal assertion:
When disabling Metal API Validation, Vulkan validation displays errors:
The errors do not make a lot of sense: the semaphore is signaled few lines before it is passed to
vkQueuePresentKHR
Lastly, when resizing the window, the app hangs.
None of these issues happened before the 1.3.275.0 SDK. They also don't happen on any other platform (Windows, Linux, Android) with the same SDK version.
The behavior is the same whether we use the MoltenVK surface or VK_EXT_Metal_Surface
Tutorial01_HelloTriangle.zip
The text was updated successfully, but these errors were encountered: