Describe the bug
vkQueuePresent sometimes presents an image that is not in PRESENT_LAYOUT. The issue appears to be related to VkSubpassDependency2 not being set up properly.
To Reproduce
- Open the application using Vulkan.
- Rapidly move the cursor in and out of the window. (Can take up to 1 minute)
- Occasionally, the frame is presented while the image is not in
PRESENT_LAYOUT.
Expected behavior
Images should always be in PRESENT_LAYOUT when presented via vkQueuePresent.
Environment:
- OS: EndeavourOS (Arch-based)
- Display Server: Wayland
- GPU: NVIDIA
- API: Vulkan
Additional context
The bug seems timing-dependent and is likely triggered by rapid focus changes or cursor movements. Suspected cause is improper VkSubpassDependency2 setup affecting layout transitions.
Describe the bug
vkQueuePresentsometimes presents an image that is not inPRESENT_LAYOUT. The issue appears to be related toVkSubpassDependency2not being set up properly.To Reproduce
PRESENT_LAYOUT.Expected behavior
Images should always be in
PRESENT_LAYOUTwhen presented viavkQueuePresent.Environment:
Additional context
The bug seems timing-dependent and is likely triggered by rapid focus changes or cursor movements. Suspected cause is improper
VkSubpassDependency2setup affecting layout transitions.