[Mesa-dev] [PATCH 03/11] glsl: Create a standalone executable for testing optimization passes.

Paul Berry stereotype441 at gmail.com
Wed Jul 6 15:05:22 PDT 2011


On 6 July 2011 12:18, Ian Romanick <idr at freedesktop.org> wrote:
>
> I'm a little uncomfortable with this part.  We now have this code in two
> places outside the usual Mesa tree (the other is in src/glsl/main.cpp).
>  We've had a hard enough time keeping one external set of values up to
> date, so adding another just seems like asking for trouble.  Perhaps
> this could be refactored into glsl_parser_extras.cpp?
>

Yeah, I felt guilty duplicating that code.  Your suggestion is a good
one; I'll take care of it.


More information about the mesa-dev mailing list