<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - webgl2 conformance2/textures/misc/tex-mipmap-levels.html crashes 12.1 Intel driver"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=96911#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - webgl2 conformance2/textures/misc/tex-mipmap-levels.html crashes 12.1 Intel driver"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=96911">bug 96911</a>
              from <span class="vcard"><a class="email" href="mailto:xinghua.cao@intel.com" title="xinghua <xinghua.cao@intel.com>"> <span class="fn">xinghua</span></a>
</span></b>
        <pre>Hi, Kenneth, 
We reproduce this issue in below scene, crash happens in the second
generateMipmap.
  tex = gl.createTexture();
  gl.bindTexture(gl.TEXTURE_2D, tex);
    gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA8, 8, 8, 0, gl.RGBA,
gl.UNSIGNED_BYTE, new Uint8Array(8 * 8 * 4));
  gl.generateMipmap(gl.TEXTURE_2D);
  wtu.glErrorShouldBe(gl, gl.NO_ERROR, "generateMipmap should succeed");
  if (gl.getExtension('EXT_color_buffer_float') &&
gl.getExtension('OES_texture_float_linear')) {
    gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA32F, 0, 0, 0, gl.RGBA, gl.FLOAT,
null);
    gl.generateMipmap(gl.TEXTURE_2D);
    wtu.glErrorShouldBe(gl, gl.NO_ERROR, "generateMipmap should succeed for
zero-size texture");
  }</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>