History log of /external/mesa3d/src/glsl/test.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f1f76e157ed1ba554fc3a0172113997344049e07 29-Jun-2011 Paul Berry <stereotype441@gmail.com> glsl: Create a standalone executable for testing optimization passes.

This patch adds a new build artifact, glsl_test, which can be used for
testing optimization passes in isolation.

I'm hoping that we will be able to add other useful standalone tests
to this executable in the future. Accordingly, it is built in a
modular fashion: the main() function uses its first argument to
determine which test function to invoke, removes that argument from
argv[], and then calls that function to interpret the rest of the
command line arguments and perform the test. Currently the only test
function is "optpass", which tests optimization passes.
/external/mesa3d/src/glsl/test.cpp