[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 19:52:59 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=104355
Bug ID: 104355
Summary: VK_FORMAT_A1R5G5B5_UNORM_PACK16 has red and blue
swapped
Product: Mesa
Version: 17.3
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Vulkan/intel
Assignee: intel-3d-bugs at lists.freedesktop.org
Reporter: hrydgard at gmail.com
QA Contact: intel-3d-bugs at lists.freedesktop.org
CC: jason at jlekstrand.net
Created attachment 136334
--> https://bugs.freedesktop.org/attachment.cgi?id=136334&action=edit
Image clearly showing a red/blue swap
The driver appears to swap the red and blue channels of
VK_FORMAT_A1R5G5B5_UNORM_PACK16 textures. As can be seen in the game Tales of
Eternia in my emulator PPSSPP:
https://user-images.githubusercontent.com/1274014/34218237-f0c1981a-e5ad-11e7-9b76-683a344c52fc.png
The game uses RGBA8888 textures for the background and ARGB1555 textures for
the characters. They look a bit blue and ill, which is obviously an R/B channel
swap. The colors are correct with the same code on other Vulkan
implementations, so this points strongly to A1R5G5B5 being defined wrong in the
driver.
--
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/4b47086f/attachment.html>
More information about the intel-3d-bugs
mailing list