[Piglit] [PATCH 0/7] Reducing ortho use in shader_runner

Ian Romanick idr at freedesktop.org
Tue Nov 5 09:38:16 PST 2013


On 11/04/2013 10:18 PM, Matt Turner wrote:
> We'd like to shrink the window sizes of shader runner when running in
> simulation, and ortho tests make it difficult to reason about reducing
> the window size.
> 
> The following patches fix some tests and test generators to use
> non-ortho projections instead. This should allow us to shrink these
> tests' window sizes and execute them faster. They reduce the number of
> occurrences of 'ortho' in shader_test files in piglit from 920 to 153.
> 
> I have some additional patches that delete these generated tests from
> git and move their generators to generated_tests/, but since the
> generators are written in bash (I assume?) they're really slow. I'm
> not sure if it's worth it, but we would remove 60k lines of generated
> code from piglit.

The bigger problem is that piglit builds on platforms that may not have
bash.  Right?  We'd have to convert them to Python... and that feels
like too much work.  Too bad we don't still have a bunch of interns
around. :)

> (I'm not sending out patches containing the regenerated tests, for
> obvious reasons)
> 
> Thanks,
> Matt
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit



More information about the Piglit mailing list