gallium/pp: s/uint/enum tgsi_semantic/ to fix MSVC warning
authorBrian Paul <brianp@vmware.com>
Sat, 4 May 2019 16:04:07 +0000 (10:04 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 8 May 2019 16:05:42 +0000 (10:05 -0600)
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/postprocess/pp_program.c

index 52786de297bdc5cadd2df39f990f4d4ece0a36a4..4cd3990d6ca5f13c5165ed6ae2833c526bb7c69e 100644 (file)
@@ -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 };