From: Brian Paul Date: Tue, 24 May 2016 23:44:08 +0000 (-0600) Subject: tgsi: s/6/PIPE_SHADER_TYPES/ for tgsi_processor_type_names array size X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2b773fcf0093cab9a4ba93dba48499e4e7e2ac8c;p=mesa.git tgsi: s/6/PIPE_SHADER_TYPES/ for tgsi_processor_type_names array size Reviewed-by: Ilia Mirkin Reviewed-by: Marek Olšák --- diff --git a/src/gallium/auxiliary/tgsi/tgsi_strings.h b/src/gallium/auxiliary/tgsi/tgsi_strings.h index 031d32278cc..9a9362e9185 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_strings.h +++ b/src/gallium/auxiliary/tgsi/tgsi_strings.h @@ -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];