<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - dEQP-GLES3.functional.negative_api.shader.compile_shader and delete_shader broken by Meta"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94485#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - dEQP-GLES3.functional.negative_api.shader.compile_shader and delete_shader broken by Meta"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94485">bug 94485</a>
              from <span class="vcard"><a class="email" href="mailto:kenneth@whitecape.org" title="Kenneth Graunke <kenneth@whitecape.org>"> <span class="fn">Kenneth Graunke</span></a>
</span></b>
        <pre>Actually, the problem is that compile_shader's first subtest assumes that no
shaders exist, i.e.

glCompileShader(9)

should return GL_INVALID_VALUE because 9 simply does not exist.

But because of Meta, it does exist - and the real bug is that applications can
observe and even alter these shaders.  In the dEQP test sequence, it happens to
be a gl_shader_program, so we return GL_INVALID_OPERATION.  But it could be a
shader, at which point we would return it.</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>