diff options
author | Brian Paul <[email protected]> | 2012-01-05 08:30:00 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-01-05 09:01:43 -0700 |
commit | 85b5dac705fcf3fafb734696e1f863cfc21e2d6e (patch) | |
tree | fe4596433fca3a13756e90a94aa57ac0a8bc8235 /src/gallium/auxiliary/gallivm | |
parent | 188aca34923d109323e0e1a882c69f2b422b5cae (diff) |
tgsi: consolidate TGSI string arrays in new tgsi_strings.h
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 Airlie <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/gallivm')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_tgsi_info.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_info.c b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_info.c index b9a5c5c4899..3373ed4426d 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_info.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_info.c @@ -31,6 +31,7 @@ #include "tgsi/tgsi_parse.h" #include "tgsi/tgsi_util.h" #include "tgsi/tgsi_dump.h" +#include "tgsi/tgsi_strings.h" #include "lp_bld_debug.h" #include "lp_bld_tgsi.h" |