[Bug 96911] webgl2 conformance2/textures/misc/tex-mipmap-levels.html crashes 12.1 Intel driver

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jul 22 10:42:13 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=96911

--- Comment #4 from xinghua <xinghua.cao at intel.com> ---
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");
  }

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20160722/3d58df9d/attachment-0001.html>


More information about the intel-3d-bugs mailing list