On Wed, Jan 4, 2012 at 4:00 PM, Brian Paul <bri...@vmware.com> wrote: > There was some duplication between the tgsi_dump.c and tgsi_text.c > files. Also use some static assertions to help catch errors when > adding new TGSI values.
I'm not 100% sure, but if you include tgsi_strings.h into two C files will you get two instances of the strings in the read only data section?, since they are static const, I get the feeling you'll get a copy per-file. Maybe someone with more up-to-date tools knowledge might know. Adding a tgsi_strings.c and some externs might work nicer. otherwise I like the idea a lot. Dave. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev