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/tgsi/tgsi_dump.h | |
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/tgsi/tgsi_dump.h')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_dump.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_dump.h b/src/gallium/auxiliary/tgsi/tgsi_dump.h index 2491e9198a2..adaef9d89fe 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_dump.h +++ b/src/gallium/auxiliary/tgsi/tgsi_dump.h @@ -36,27 +36,6 @@ extern "C" { #endif -extern const char * -tgsi_file_names[TGSI_FILE_COUNT]; - -extern const char * -tgsi_swizzle_names[4]; - -extern const char * -tgsi_texture_names[TGSI_TEXTURE_COUNT]; - -extern const char * -tgsi_property_names[TGSI_PROPERTY_COUNT]; - -extern const char * -tgsi_primitive_names[PIPE_PRIM_MAX]; - -extern const char * -tgsi_fs_coord_origin_names[2]; - -extern const char * -tgsi_fs_coord_pixel_center_names[2]; - void tgsi_dump_str( const struct tgsi_token *tokens, |