r300g/tests: Add helper functions for creating a full program
authorTom Stellard <thomas.stellard@amd.com>
Sun, 10 Feb 2013 05:15:11 +0000 (00:15 -0500)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 22 Feb 2013 03:07:27 +0000 (22:07 -0500)
commit5e1321ddf4dacb212ed3215f2b9beead630353a1
tree90e3e49b3090eb97a49e72b224d004bf01e46281
parentbcf2e157caeb2ee607a1398de9fd68f315dd4d6e
r300g/tests: Add helper functions for creating a full program

Now you can convert assembly strings into a full struct radeon_compiler
object and use it to test individual compiler pases.

NOTE: This is a candidate for the stable branches.

Reviewed-by: Marek Olšák <maraeo@gmail.com>
src/gallium/drivers/r300/compiler/tests/rc_test_helpers.c
src/gallium/drivers/r300/compiler/tests/rc_test_helpers.h