<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 - piglit.spec.arb_get_texture_sub_image.arb_get_texture_sub_image regressions"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100088">100088</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>piglit.spec.arb_get_texture_sub_image.arb_get_texture_sub_image regressions
          </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/DRI/i965
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>samuel.pitoiset@gmail.com
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mark.a.janes@intel.com
          </td>
        </tr>

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

        <tr>
          <th>CC</th>
          <td>maraeo@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>On all intel hardware, the following piglit tests regressed:

piglit.spec.arb_get_texture_sub_image.arb_get_texture_sub_image-errors
piglit.spec.arb_get_texture_sub_image.arb_get_texture_sub_image-cubemap
piglit.spec.arb_get_texture_sub_image.arb_get_texture_sub_image-get

by:
5ae54c0cf7acfb792d2ca9b22cd5fb5ba811d32c
Author:     Samuel Pitoiset <<a href="mailto:samuel.pitoiset@gmail.com">samuel.pitoiset@gmail.com</a>>
getteximage: avoid to lookup textures with id 0

This fixes the following assertion when the key is 0.

main/hash.c:181: _mesa_HashLookup_unlocked: Assertion `key' failed.

Fixes: 633c959fae ("getteximage: Return correct error value when texure object
is not found")
Signed-off-by: Samuel Pitoiset <<a href="mailto:samuel.pitoiset@gmail.com">samuel.pitoiset@gmail.com</a>>
Reviewed-by: Marek Olšák <<a href="mailto:marek.olsak@amd.com">marek.olsak@amd.com</a>>


EG:
/tmp/build_root/m64/lib/piglit/bin/arb_get_texture_sub_image-get -auto -fbo
Testing GL_TEXTURE_1D GL_RGB 64 x 1 x 1
Failure for GL_TEXTURE_1D:
Unexpected GL error: GL_INVALID_VALUE 0x501
(Error at ../tests/spec/arb_get_texture_sub_image/get.c:388)</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>