<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 - dEQP-GLES3.functional.negative_api.texture.generatemipmap fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94452">94452</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>dEQP-GLES3.functional.negative_api.texture.generatemipmap fails
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>Other
          </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>Mesa core
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>kenneth@whitecape.org
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>94448
          </td>
        </tr></table>
      <p>
        <div>
        <pre>dEQP-GLES3.functional.negative_api.texture.generatemipmap currently fails.

genmipmap.c has a _mesa_is_valid_generate_texture_mipmap_internalformat
function that implements some rules.  It appears that there is no text in the
OpenGL specifications to justify this, but it was discussed in a Khronos
internal bug:

<a href="https://cvs.khronos.org/bugzilla/show_bug.cgi?id=9471">https://cvs.khronos.org/bugzilla/show_bug.cgi?id=9471</a>

However, ES 3.0 has well defined rules:
"If the levelbase array was not specified with an unsized internal format from
table 3.3 or a sized internal format that is both color-renderable and
texture-filterable according to table 3.13, an INVALID_OPERATION error is
generated."

These rules need to be implemented (replacing the desktop GL rules), and would
fix the test.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>