<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 - [Regression, bisected] arb_direct_state_access.texunits piglit test broken"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92215">92215</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[Regression, bisected] arb_direct_state_access.texunits piglit test broken
          </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>blocker
          </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>mark.a.janes@intel.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>on all tested platforms, the following commit regressed
piglit.spec.arb_direct_state_access.texunits

commit a9408f3ca14f2fb6286bd66bad06ee1bde0d8697
Author: Brian Paul <<a href="mailto:brianp@vmware.com">brianp@vmware.com</a>>
Date:   Wed Sep 30 11:37:16 2015 -0600

    mesa: remove _mesa_get_tex_unit_err() and fix error handling

    This helper was only called from _mesa_BindTextureUnit().  It's simpler
    to just inline it.

    The error check / code / message in the helper was incorrect.  It was
    written for glBindTextures(), not glBindTextureUnit().  The correct
    error for a bad texture unit number is GL_INVALID_VALUE.  The error
    message now reports the unit number rather than a GL_TEXTUREi enum.

    Fixes a failure in piglit's arb_direct_state_access-bind-texture-unit test.

    Reviewed-by: Tapani Pälli <<a href="mailto:tapani.palli@intel.com">tapani.palli@intel.com</a>>

Output from the test:

Standard Output
bin/arb_direct_state_access-texunits -auto -fbo
piglit: debug: Requested an OpenGL 3.1 Forward-Compatible Core Context, and
received a matching 3.3 context

GL_RENDERER = Mesa DRI Intel(R) Sandybridge Desktop 
GL_MAX_TEXTURE_COORDS = 8
GL_MAX_TEXTURE_IMAGE_UNITS = 16
GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS = 16
GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS = 48
Unexpected GL error: GL_INVALID_VALUE 0x501
(Error at
/var/lib/jenkins/jobs/Leeroy/workspace@3/repos/piglit/tests/spec/arb_direct_state_access/texunits.c:124)
Expected GL error: GL_INVALID_OPERATION 0x502

Standard Error

Mesa: User error: GL_INVALID_VALUE in glBindTextureUnit(unit=48)</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>