[Bug 111568] Image corruption with vkCmdCopyImage into I915_FORMAT_MOD_Y_TILED_CCS-tiled swapchain image

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Sep 6 19:38:21 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=111568

--- Comment #17 from Felix <mesa at felixdoerre.de> ---
I am as sure as I can be by reading the source. That's how I build the command
buffer I am creating per frame:

- swapchain image: -> VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL
- image to be displayed: -> VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL
- vkCmdCopyImage
- image to be displayed: -> VK_IMAGE_LAYOUT_GENERAL
- swapchain image: -> VK_IMAGE_LAYOUT_PRESENT_SRC_KHR

vkQueueSubmit(the buffer)
vkQueuePresent(...)

So I am as sure as I can be that the app transitions the image to
VK_IMAGE_LAYOUT_PRESENT_SRC_KHR prior to calling vkQueuePresent.

If you want, you can verify the ImageBarriers yourself in ExampleImage.java:167

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20190906/f71a8a9d/attachment.html>


More information about the intel-3d-bugs mailing list