WIP: Add tests to check the tgsi to glsl translation
With the probable refactoring of the TGSI to GLSL shader creation code in mind I thought that it might be a good idea to have tests that check that we don't break anything.
The series implement the option to dump the TGSI and GLSL of shaders as well as their context to per-shader files, and to run a test whether the TGSI produces the stored GLSL with the given context.
WIP: With the changes and experience gained in !128 (merged) I'll redo this to create more specific tests.
Edited by Gert Wollny