[Piglit] [PATCH 2/5] gles2: new glReadPixels unit test

Tom Gall tom.gall at linaro.org
Thu Dec 20 17:06:37 PST 2012


Hi Eric,

On Thu, Dec 20, 2012 at 6:30 PM, Eric Anholt <eric at anholt.net> wrote:
> Matt Turner <mattst88 at gmail.com> writes:
>
>> On Thu, Dec 20, 2012 at 10:54 AM, Tom Gall <tom.gall at linaro.org> wrote:
>>> A few variations are commented out due to results that are
>>> incorrect and need to be followed up with Mesa, such as modifying
>>> the buffer even tho the format is invalid. There are cases where
>>> the returned data is incorrectly formated. These can best be
>>> addressed in time and I thought it best to include the variations
>>> but in their commented out form.
>>
>> I think Eric already told you that it's okay to commit failing tests.
>
> Not just okay, it's expected.
>
> Other note: I don't think the name "unit" belongs in this.  Nothing in
> piglit is a unit test according to what I've understood or how unit
> tests are described on wikipedia.

My intent is it's first in the series of being something "unit" test
like across the gles2 api. It's a start and at this point I've been
mostly heads down on the shaders and thinking about piglit + Android.

> There's still a bunch of style mess in this file, too.

Yuppers. Need to get in the habit of adjust my tabstop settings in vim
when I examine the patches before submission to catch that kinda crap.
My fault.

--
Regards,
Tom

"Where's the kaboom!? There was supposed to be an earth-shattering
kaboom!" Marvin Martian
Graphics Working Group | Linaro.org │ Open source software for ARM SoCs
w) tom.gall att linaro.org
h) tom_gall att mac.com


More information about the Piglit mailing list