glsl: Add support for generating builtin code from GLSL instead of IR.
authorEric Anholt <eric@anholt.net>
Wed, 18 Apr 2012 17:51:23 +0000 (10:51 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 24 Apr 2012 17:01:10 +0000 (10:01 -0700)
commit7de1331662816d31fb9bed423b1e5372284a260e
tree0992bf4c8a253d4f1bff450941500199f1bb4891
parent41b47441d720957d7b8a63afa26d94c752c8740b
glsl: Add support for generating builtin code from GLSL instead of IR.

This takes advantage of the builtin compiler to generate IR into a
string, the same way we read GLSL for function prototypes for our
profiles.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/builtins/tools/generate_builtins.py