aux/pp: use unsigned instead of uint
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Fri, 23 Jun 2023 14:43:42 +0000 (16:43 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 6 Jul 2023 12:03:43 +0000 (12:03 +0000)
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24002>

src/gallium/auxiliary/postprocess/pp_program.c

index 2b82907..fd7a9e6 100644 (file)
@@ -131,7 +131,7 @@ pp_init_prog(struct pp_queue_t *ppq, struct pipe_context *pipe,
       const enum tgsi_semantic semantic_names[] = { TGSI_SEMANTIC_POSITION,
          TGSI_SEMANTIC_GENERIC
       };
-      const uint semantic_indexes[] = { 0, 0 };
+      const unsigned semantic_indexes[] = { 0, 0 };
       p->passvs = util_make_vertex_passthrough_shader(p->pipe, 2,
                                                       semantic_names,
                                                       semantic_indexes, false);