From: Brian Paul Date: Sat, 4 May 2019 16:04:07 +0000 (-0600) Subject: gallium/pp: s/uint/enum tgsi_semantic/ to fix MSVC warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4f54e550e91141cf8ad7fcad87150b50d47fc223;p=mesa.git gallium/pp: s/uint/enum tgsi_semantic/ to fix MSVC warning Reviewed-by: Roland Scheidegger --- diff --git a/src/gallium/auxiliary/postprocess/pp_program.c b/src/gallium/auxiliary/postprocess/pp_program.c index 52786de297b..4cd3990d6ca 100644 --- a/src/gallium/auxiliary/postprocess/pp_program.c +++ b/src/gallium/auxiliary/postprocess/pp_program.c @@ -126,7 +126,7 @@ pp_init_prog(struct pp_queue_t *ppq, struct pipe_context *pipe, { - const uint semantic_names[] = { TGSI_SEMANTIC_POSITION, + const enum tgsi_semantic semantic_names[] = { TGSI_SEMANTIC_POSITION, TGSI_SEMANTIC_GENERIC }; const uint semantic_indexes[] = { 0, 0 };