[Piglit] [PATCH 1/9] util: Make piglit_probe_rect_halves_equal_rgba() GLES-compatible

Eric Anholt eric at anholt.net
Mon Jul 9 10:59:17 PDT 2012


Chad Versace <chad.versace at linux.intel.com> writes:

> In GLES, glReadPixels does not accept format=GL_FLOAT, but it does accept
> format=GL_BYTE.
>
> This shouldn't make any tests begin failing. If anything, this commit may
> make pass some almost-passing tests because there is less precision in
> probing with glReadPixels(GL_BYTE) than glReadPixels(GL_FLOAT).

Choosing to compare with bytes should be based on the type/size of the
renderbuffer's channels, imo.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20120709/ec228a44/attachment.pgp>


More information about the Piglit mailing list