summaryrefslogtreecommitdiffstats
path: root/src/glsl/tests/lower_jumps
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2011-06-29 12:30:04 -0700
committerPaul Berry <[email protected]>2011-07-22 09:45:11 -0700
commitf1f76e157ed1ba554fc3a0172113997344049e07 (patch)
treed8c770f1602998a17f89156307536a670db6ded4 /src/glsl/tests/lower_jumps
parentf129f618fe8a5397774484f1b7afb42d4be809a0 (diff)
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.
Diffstat (limited to 'src/glsl/tests/lower_jumps')
0 files changed, 0 insertions, 0 deletions