<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 - Memory corruption when uploading DXT5 cubemap faces"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97473">97473</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Memory corruption when uploading DXT5 cubemap faces
          </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>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/DRI/i965
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>idr@freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>devans@feralinteractive.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=126014" name="attach_126014" title="trace that shows the issue">attachment 126014</a> <a href="attachment.cgi?id=126014&action=edit" title="trace that shows the issue">[details]</a></span>
trace that shows the issue

Attached trace shows corruption on Iris Pro 5200 in the the cube face mipmaps
uploaded with glCompressedTexImage2D, but not in the cube face mipmaps uploaded
using glTexImage2D. Parts of system UI are also corrupted randomly when
replaying. Corruption isn't seen on an R9 Nano.

Both textures should be almost identical, the draw @ call 1389 will take the
difference. The expected output is a grey screen. This is seen on the R9 Nano,
but on the Iris Pro 5200 there is a clear difference in the two textures.

Fails on 11.2, and git 4f3f8bb59dd98e39c363fe47a55a7f97e7df9f4b

via imirkin_ in #dri-devel:
Triggers an assertion in intel_blit.c:589:
intelEmitCopyBlit: Assertion `src_offset + (src_y + h - 1) * abs(src_pitch) +
(w * cpp) <= src_buffer->size' failed.</pre>
        </div>
      </p>


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

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