glcpp: Make standalone binary use preprocess().
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 23 Jun 2010 21:00:27 +0000 (14:00 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 23 Jun 2010 21:14:57 +0000 (14:14 -0700)
commit186e2634bfb8f624f3721673964e29428269cd47
treeeb3550a672afa99aa7dc16cb84df4c43ca1cd59b
parent12a820c9d84cec0e2f36d9571ca841499b67eac4
glcpp: Make standalone binary use preprocess().

This prevents the two code paths from getting out of sync.  Also, future
work will need the shader source as a string anyway.

Unfortunately, this copies and pastes load_text_file from main.cpp, with
small changes (support for reading from stdin, talloc).
glcpp/glcpp.c
glcpp/glcpp.h