[Bug 104355] VK_FORMAT_A1R5G5B5_UNORM_PACK16 has red and blue swapped
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Dec 20 20:16:11 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=104355
--- Comment #3 from hrydgard at gmail.com ---
Should probably also mention that I am using a component mapping in the image
View:
static const VkComponentMapping VULKAN_1555_SWIZZLE = { VK_COMPONENT_SWIZZLE_B,
VK_COMPONENT_SWIZZLE_G, VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_A };
This is assigned to VkImageViewCreateInfo.components when creating the image
view used to read this texture.
This mapping does an R/B swap to make it match the PSP's channel order. So an
alternative explanation is that this channel mapping isn't being applied
correctly.
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20171220/e25461be/attachment.html>
More information about the intel-3d-bugs
mailing list