tgsi: s/6/PIPE_SHADER_TYPES/ for tgsi_processor_type_names array size
[mesa.git] / src / gallium / auxiliary / tgsi / tgsi_strings.h
index 90014a225b06e165edae9c4eaba1a71ee4df3f9c..9a9362e91858300d38dbee91e6a602807fcc4ef2 100644 (file)
@@ -38,7 +38,7 @@ extern "C" {
 #endif
 
 
-extern const char *tgsi_processor_type_names[4];
+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);