diff options
author | Brian Paul <[email protected]> | 2016-05-24 17:44:08 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-05-25 07:21:23 -0600 |
commit | 2b773fcf0093cab9a4ba93dba48499e4e7e2ac8c (patch) | |
tree | 72acac845164d6ee68e63efe6fd3e9ca42bfa578 /src/gallium/auxiliary/tgsi | |
parent | 998829f4045a98d16797e9d2f5094c35eb272909 (diff) |
tgsi: s/6/PIPE_SHADER_TYPES/ for tgsi_processor_type_names array size
Reviewed-by: Ilia Mirkin <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_strings.h | 2 |
1 files changed, 1 insertions, 1 deletions
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]; |