[Piglit] [RFC] shader_runner branch

Ian Romanick idr at freedesktop.org
Thu Apr 15 11:37:34 PDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have a branch, called shader_runner, in my local GIT tree that adds a
generic shader test runner.  There is a branch with the same name in the
main piglit GIT tree, but that branch only contains fail.  My lack of
GIT-fu shows.

    git://anongit.freedesktop.org/~idr/piglit shader_runner

It's conceptually similar to vpfp-generic, which is used for assembly
shader tests.  The test files are "ini" style with "[section header]"
section divisions.  The shader code can either be in the test file or
stored in external files.  One of the planned future changes is to
subsume the vpfp-generic functionality so that tests of mixing assembly
and GLSL can be written.

It currently only supports a subset of what we really want (i.e., it
only supports setting vec4 uniforms), but it is very easy to add new
features as needed.

I'd like some review of this branch before I merge it.  In particular,
the code uses some of the portability checks in cmake.  The commits
listed below are the relevant changes.  I'd especially appreciate it if
someone could try building this on OS X and Windows.

commit 94093e26ae4f21ffa75404c87e3d58a3eca76389
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu Apr 15 11:28:14 2010 -0700

    util: Additional cmake-based portability tests

commit 404dbe62e442739746cb1b77f24b3b6f3363dd8f
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Apr 14 17:00:28 2010 -0700

    Ignore cmake generated config.h

commit f2b4764441c5a1468fcb16705e855161aaf0860e
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Apr 14 16:52:23 2010 -0700

    util: Add support for systems that lack strchrnul.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvHXOsACgkQX1gOwKyEAw/qnwCfWXUPwnoAqKrS2PxVxZzZ4Fje
Ju8AnRrrYVq2svzhBF4PHB5TUyPd4d15
=GqQA
-----END PGP SIGNATURE-----


More information about the Piglit mailing list