diff options
author | Marek Olšák <[email protected]> | 2010-12-26 22:52:25 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-01-06 16:16:30 +0100 |
commit | 92209314df4f12e8b47336a25ba14cb6b9a23df2 (patch) | |
tree | 5de4eee832324a3a00e9c012f8add5a5d843ceee /src/gallium/auxiliary/tgsi/tgsi_dump.h | |
parent | 3c9aa3a7b12cfe178c14fea93cfb64a32db0b8ad (diff) |
tgsi: remove redundant name tables from tgsi_text, use those from tgsi_dump
I also specified the array sizes in the header so that one can use
the Elements macro on it.
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_dump.h')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_dump.h | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_dump.h b/src/gallium/auxiliary/tgsi/tgsi_dump.h index fc0429ad8d9..2491e9198a2 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_dump.h +++ b/src/gallium/auxiliary/tgsi/tgsi_dump.h @@ -29,6 +29,7 @@ #define TGSI_DUMP_H #include "pipe/p_compiler.h" +#include "pipe/p_defines.h" #include "pipe/p_shader_tokens.h" #if defined __cplusplus @@ -39,10 +40,22 @@ extern const char * tgsi_file_names[TGSI_FILE_COUNT]; extern const char * -tgsi_swizzle_names[]; +tgsi_swizzle_names[4]; extern const char * -tgsi_texture_names[]; +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( |