[Bug 89314] [HSW, regression, bisected] i965/pixel_read: Use meta_pbo_GetTexSubImage for PBO ReadPixels (ef0499af255ecd)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 5 06:09:16 PDT 2015


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

--- Comment #12 from Neil Roberts <neil at linux.intel.com> ---
Created attachment 116319
  --> https://bugs.freedesktop.org/attachment.cgi?id=116319&action=edit
Example showing the error with GL_R16 to unsigned byte

It looks like there is a similar problem if we convert from a 16-bit component
to 8 bits as well. Here is a test which creates a texture with an internal
format of GL_R16, uploads all possible 16-bit values and then calls
glGetTexImage with a type of GL_UNSIGNED_BYTE. It does this with and without a
PBO. There are a bunch of cases where the results differ like this:

source_value=63095 float=245.505844 expected=246 without_pbo=246 with_pbo=245
source_value=63351 float=246.501953 expected=247 without_pbo=247 with_pbo=246
source_value=63608 float=247.501953 expected=248 without_pbo=248 with_pbo=247

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


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