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
When I saw the "best practices" validation feature, I also saw that there was a "synchronization validation" feature, so I enabled both. I saw that my project thus far had two errors reported every frame:
validation layer: Validation Error: [ SYNC-HAZARD-WRITE-AFTER-WRITE ] Object 0: handle = 0xcfef35000000000a, type = VK_OBJECT_TYPE_RENDER_PASS; | MessageID = 0x5c0ec5d6 | vkCmdBeginRenderPass: Hazard WRITE_AFTER_WRITE vs. layout transition in subpass 0 for attachment 0 aspect color during load with loadOp VK_ATTACHMENT_LOAD_OP_CLEAR.
validation layer: Validation Error: [ SYNC-HAZARD-WRITE-AFTER-WRITE ] Object 0: handle = 0xcfef35000000000a, type = VK_OBJECT_TYPE_RENDER_PASS; | MessageID = 0x5c0ec5d6 | vkCmdEndRenderPass: Hazard WRITE_AFTER_WRITE vs. store/resolve operations in subpass 0 for attachment 0 final image layout transition (old_layout: VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL, new_layout: VK_IMAGE_LAYOUT_PRESENT_SRC_KHR).
I copied the source from here exactly as is, and simply added the synchronization validation feature, and found that it also had these errors every frame. I've spent several hours trying to figure out what is happening here, and as far as I know, the VkSubpassDependency should prevent this but also I have absolutely no idea what is going on.
Any thoughts on how to fix this?
(to enable the feature, I added this block in between populateDebugMessengerCreateInfo(...) and createInfo.pNext = ...:
When I saw the "best practices" validation feature, I also saw that there was a "synchronization validation" feature, so I enabled both. I saw that my project thus far had two errors reported every frame:
I copied the source from here exactly as is, and simply added the synchronization validation feature, and found that it also had these errors every frame. I've spent several hours trying to figure out what is happening here, and as far as I know, the
VkSubpassDependency
should prevent this but also I have absolutely no idea what is going on.Any thoughts on how to fix this?
(to enable the feature, I added this block in between
populateDebugMessengerCreateInfo(...)
andcreateInfo.pNext = ...
:The text was updated successfully, but these errors were encountered: