[Mesa-dev] [Bug 106646] Support VK_IMAGE_USAGE_STORAGE_BIT for WSI swapchain surfaces

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri May 25 05:19:40 UTC 2018


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

--- Comment #2 from Jason Ekstrand <jason at jlekstrand.net> ---
I'd really like to support this in anv but it isn't as trivial as it looks. 
The only 32-bit image format supported by X11 is B8G8R8A8_UNORM which is not
one of the standard storage image formats.  I think Wayland is basically the
same.  Since anv requires a format to be specified in the shader for storage
image reads, it's a bit tricky to support B8G8R8A8_UNORM because there is no
SPIR-V enum for it.  I've actually been looking into how to best support it for
the last couple of weeks and have a few ideas but nothing solid yet.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180525/bde2c5cb/attachment.html>


More information about the mesa-dev mailing list