[Piglit] [PATCH] glslparsertest: use piglit_load_text_file for shaders.

Kenneth Graunke kenneth at whitecape.org
Thu Feb 2 02:27:43 PST 2012

On 01/23/2012 09:25 AM, Morgan Armand wrote:
> On windows, the size reported by stat() will not be the same as the text size (because of the CRLF ->  LF conversion).
> Since we already have a function that correctly handles the loading of text files, use it.

It's odd that no one run into this before.  But it looks like a good 
refactor regardless.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

More information about the Piglit mailing list