[Mesa-dev] [RFC PATCH] automake: add support to src/glsl/
kenneth at whitecape.org
Mon Sep 26 12:09:24 PDT 2011
On 09/26/2011 08:29 AM, Eric Anholt wrote:
> I'd like to add other libs (hash table) at the src/ level, too, so a
> single helper lib that is "mesa's shared, non-mtypes-using stuff but not
> things that are really Mesa like the glsl compiler" would be nice.
Yeah, we really could use a src/util folder. In particular, ralloc
really ought to live there. hash_table and symbol_table too.
Right now, hash_table and symbol_table live in mesa/program/, but are
used in glsl/, so you want to build mesa/ before you can build glsl/,
but you have to build glsl/ before you can build mesa/...oops. Moving
the common, non-mtypes stuff out into a convenience library would
probably make that cleaner/simpler.
More information about the mesa-dev