From 2b773fcf0093cab9a4ba93dba48499e4e7e2ac8c Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 24 May 2016 17:44:08 -0600 Subject: [PATCH] tgsi: s/6/PIPE_SHADER_TYPES/ for tgsi_processor_type_names array size MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Ilia Mirkin Reviewed-by: Marek Olšák --- src/gallium/auxiliary/tgsi/tgsi_strings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- 2.30.2