[Bug 94345] WebGL conformance2/reading/read-pixels-from-fbo-test.html fails

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 27 08:57:24 UTC 2016


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

xinghua <xinghua.cao at intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|xinghua.cao at intel.com       |kenneth at whitecape.org

--- Comment #9 from xinghua <xinghua.cao at intel.com> ---
 Hi, Kenneth, please help to re-check this case, if this is not mesa issue,
assign it to me again. Thank you.
 There is only one issue in this case now, test case is as below,

  var fbo = gl.createFramebuffer();
  gl.bindFramebuffer(gl.FRAMEBUFFER, fbo);
  var colorImage = gl.createTexture();
  gl.bindTexture(gl.TEXTURE_2D, colorImage);
  gl.texImage2D(gl.TEXTURE_2D, 0, RGB565, width, height, 0,
                RGB, UNSIGNED_BYTE, null);
  gl.framebufferTexture2D(gl.FRAMEBUFFER, gl.COLOR_ATTACHMENT0,
                          gl.TEXTURE_2D, colorImage, 0);
  var implFormat = gl.getParameter(gl.IMPLEMENTATION_COLOR_READ_FORMAT);
  var implType = gl.getParameter(gl.IMPLEMENTATION_COLOR_READ_TYPE);

Start chrome with --use-gl=egl, so it creates a OpenGL ES context, but return
values of implFormat and implType are,
implFormat: GL_BGR
implType: GL_UNSIGNED_SHORT_5_6_5_REV
According to es_3.0/3.1_spec, ES context did not support these format/type, it
only exists in OpenGL context. Does mesa confuse these format/type between
OpenGL and OpenGL ES?

-- 
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/20160727/ea0b6891/attachment.html>


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