[Piglit] [PATCH] glsl-fs-fragcoord: incr loops by 16 to probe fewer pixels

Eric Anholt eric at anholt.net
Wed Oct 12 17:22:22 PDT 2011

On Wed, 12 Oct 2011 10:38:18 -0600, Brian Paul <brianp at vmware.com> wrote:
> As it was, we were calling glReadPixels 65,536 times to probe all the
> pixels.  This actually took quite a while with some drivers.  Probing
> "only" 256 pixels now is much faster, and good enough.

I've wanted a probe function that takes a rect of expected values
instead of a solid color.  It's on the todo list somewhere...
-------------- 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/20111012/85e60cb2/attachment.pgp>

More information about the Piglit mailing list