On Sat, Nov 19, 2011 at 3:25 AM, Eric Anholt <e...@anholt.net> wrote: > On Fri, 18 Nov 2011 15:38:46 +0800, Yuanhan Liu <yuanhan....@linux.intel.com> > wrote: >> >> + glDrawPixels(20, 20, GL_RGBA, GL_FLOAT, pixels); >> + >> + /* Here just sample a small set of pixels */ >> + pass &= piglit_probe_pixel_rgba(5, 5, expected); >> + pass &= piglit_probe_pixel_rgba(7, 12, expected); >> + pass &= piglit_probe_pixel_rgba(10, 10, expected); >> + pass &= piglit_probe_pixel_rgba(18, 18, expected); > > there's piglit_probe_rect_rgba() available instead of picking some > arbitrary subset of pixels.
Oh, I didn't noticed that helper function. Thanks for the hint. Will fix it next week. -- regards Yuanhan Liu _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev