Module: Mesa
Branch: main
Commit: 647241a770c365a77ad8354145d3f2a1f0f44ec8
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=647241a770c365a77ad8354145d3f2a1f0f44ec8

Author: Erik Faye-Lund <[email protected]>
Date:   Fri Jun 23 16:43:42 2023 +0200

aux/pp: use unsigned instead of uint

Reviewed-by: Yonggang Luo <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24002>

---

 src/gallium/auxiliary/postprocess/pp_program.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/auxiliary/postprocess/pp_program.c 
b/src/gallium/auxiliary/postprocess/pp_program.c
index 2b829075d43..fd7a9e6124e 100644
--- a/src/gallium/auxiliary/postprocess/pp_program.c
+++ b/src/gallium/auxiliary/postprocess/pp_program.c
@@ -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);

Reply via email to