[Bug 107059] vkCmdCopyImage - Double Optimize
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Jul 6 19:05:21 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=107059
Jason Ekstrand <jason at jlekstrand.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |RESOLVED
Resolution|--- |INVALID
--- Comment #5 from Jason Ekstrand <jason at jlekstrand.net> ---
Here's your problem:
> command_buffer.set_image_layout(
> image,
> VK_IMAGE_LAYOUT_UNDEFINED,
> VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL,
> subresource_range.clone(),
> );
The UNDEFINED layout doesn't mean "I don't know", it means "undefined
contents". Transitioning an image from UNDEFINED to anything may discard or
corrupt its contents.
--
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/20180706/8fdcf9fc/attachment.html>
More information about the intel-3d-bugs
mailing list