Re: [Mesa-dev] [PATCH] tgsi: consolidate TGSI string arrays in new tgsi_strings.h

2012-01-05 Thread Dave Airlie
On Thu, Jan 5, 2012 at 3:30 PM, Brian Paul 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. > > v2: put strings in tgsi_strings.c file instead of the .h file. Reviewed-by: Dave

[Mesa-dev] [PATCH] tgsi: consolidate TGSI string arrays in new tgsi_strings.h

2012-01-05 Thread Brian Paul
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. v2: put strings in tgsi_strings.c file instead of the .h file. --- src/gallium/auxiliary/Makefile.sources |1 + src/gallium/au