<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - iris: add support for A8L8 and similar formats"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=109781">109781</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>iris: add support for A8L8 and similar formats
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/Gallium/Iris
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>venemo@msn.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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:
<a href="https://people.freedesktop.org/~cbrill/dri-log/?channel=intel-3d&date=2019-02-25">https://people.freedesktop.org/~cbrill/dri-log/?channel=intel-3d&date=2019-02-25</a>
-> see the conversation at 08:39</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>