tgsi: s/6/PIPE_SHADER_TYPES/ for tgsi_processor_type_names array size
[mesa.git] / src / gallium / auxiliary / tgsi / tgsi_strings.h
index 71e74372f221dc41b605618942985421d4c6390b..9a9362e91858300d38dbee91e6a602807fcc4ef2 100644 (file)
@@ -38,7 +38,7 @@ extern "C" {
 #endif
 
 
-extern const char *tgsi_processor_type_names[6];
+extern const char *tgsi_processor_type_names[PIPE_SHADER_TYPES];
 
 extern const char *tgsi_semantic_names[TGSI_SEMANTIC_COUNT];
 
@@ -60,6 +60,8 @@ extern const char *tgsi_fs_coord_pixel_center_names[2];
 
 extern const char *tgsi_immediate_type_names[4];
 
+extern const char *tgsi_memory_names[3];
+
 
 const char *
 tgsi_file_name(unsigned file);