[Piglit] [PATCH 3/9] all.py: Everything in MSAA_SAMPLE_COUNTS is already even

Dylan Baker baker.dylan.c at gmail.com
Fri Nov 20 16:56:18 PST 2015


On Fri, Nov 20, 2015 at 03:05:49PM -0800, Ian Romanick wrote:
> On 11/20/2015 02:14 PM, Dylan Baker wrote:
> > On Thu, Nov 19, 2015 at 08:00:09PM -0800, Ian Romanick wrote:
> >> From: Ian Romanick <ian.d.romanick at intel.com>
> >>
> >> If this test has problems with odd sample counts, the test should detect
> >> that and SKIP.
> > 
> > I'm not sure I agree. I think it's pretty reasonable for all.py to only
> > pass valid inputs to a test binary.
> 
> Presumably the test is going to do some sort of validation on the input
> anyway.  Most do.  Now we have input massaging / validation in two
> places, and we have to maintain it in two places.  That seems bad.  Right?
> 

I agree, but it also seems bad to me to have tests defined in all.py
that will always return 'skip', and on one has a plan to make them work,
right?

I guess the assumption that I'm making in my logic is that the other
tests can handle odd sample counts. Maybe that's a bad assumption?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20151120/48a9b58f/attachment.sig>


More information about the Piglit mailing list