[Mesa-dev] [PATCH 3/4] glsl: Create a standalone executable for testing optimization passes.
kenneth at whitecape.org
Wed Jul 20 08:50:02 PDT 2011
On 07/20/2011 08:00 AM, Chad Versace wrote:
> On the issue of std::stringbuf, I'm siding with Paul here. This
> concise, safe function definition:
Without taking sides, I would like to point out load_text_file, which
already implements this. Unfortunately, it got cut and pasted and
diverged, so there's one in glsl/main.cpp and one in glsl/glcpp/glcpp.c.
(That should probably be fixed.) Paul seemed to think the one in
main.cpp wouldn't work with stdin, but I know for a fact the one in
More information about the mesa-dev