[Bug 109781] iris: add support for A8L8 and similar formats

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Feb 25 15:20:12 UTC 2019


            Bug ID: 109781
           Summary: iris: add support for A8L8 and similar formats
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/Iris
          Assignee: intel-3d-bugs at lists.freedesktop.org
          Reporter: venemo at msn.com
        QA Contact: intel-3d-bugs at lists.freedesktop.org

Currently, support for A8L8 and similar formats in iris is behind an "#if 0".
Some Gallium Nine games have issues because of this. For example, the Witcher 1
uses a texture with the format D3DFMT_A8L8 (equivalent to
PIPE_FORMAT_L8A8_SRGB) for its text rendering. Without A8L8 support all text is
replaced by black rectangles.

Just removing the "#if 0" from iris_formats.c will fix the problem for the
Witcher 1, though to properly support this format iris would need to also
support it with blit and clear. Also note that nine does not have any
"fallback" code in case A8L8 is not supported by the driver.

Relevant IRC log:
-> see the conversation at 08:39

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/20190225/c8cda3fe/attachment.html>

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