On Tue,  5 Jun 2012 17:03:19 -0700, Paul Berry <[email protected]> wrote:
> This patch extracts code from fbo_formats_init() into a separate
> function, fbo_formats_init_test_set(), which skips command line
> parsing and simply initializes fbo-formats.h to use a particular test
> set.  This will allow future tests to make use of fbo-formats.h even
> if they have to use different command-line parsing than what is
> implemented in fbo_formats_init().
> 
> In addition, fbo_formats_init() has been changed to a non-static
> function, so that if an fbo test directly calls
> fbo_formats_init_test_set() instead, we won't get a spurious compile
> warning about an unused function.

Up to this patch is:

Reviewed-by: Eric Anholt <[email protected]>

Attachment: pgphnhOD6e01I.pgp
Description: PGP signature

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to