tgsi: s/6/PIPE_SHADER_TYPES/ for tgsi_processor_type_names array size
authorBrian Paul <brianp@vmware.com>
Tue, 24 May 2016 23:44:08 +0000 (17:44 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 25 May 2016 13:21:23 +0000 (07:21 -0600)
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/tgsi/tgsi_strings.h

index 031d32278cc83137f671c0548556714acdc4b488..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];