On Sat, Nov 19, 2011 at 3:25 AM, Eric Anholt <[email protected]> wrote:
> On Fri, 18 Nov 2011 15:38:46 +0800, Yuanhan Liu <[email protected]> 
> 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
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to