From 4529693e72000391b9eed5d7d458b8aa1a340c52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Wed, 3 Dec 2025 14:27:02 -0500 Subject: [PATCH] gallium/u_blitter: change width/height parameters to 32-bit integer Reviewed-by: Qiang Yu Part-of: --- src/gallium/auxiliary/util/u_blitter.c | 2 +- src/gallium/auxiliary/util/u_blitter.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/auxiliary/util/u_blitter.c b/src/gallium/auxiliary/util/u_blitter.c index 762b8786ff3..d7bd828d1bc 100644 --- a/src/gallium/auxiliary/util/u_blitter.c +++ b/src/gallium/auxiliary/util/u_blitter.c @@ -2685,7 +2685,7 @@ static void *get_custom_vs(struct blitter_context *blitter) */ void util_blitter_custom_shader(struct blitter_context *blitter, struct pipe_surface *dstsurf, - uint16_t width, uint16_t height, + unsigned width, unsigned height, void *custom_vs, void *custom_fs) { struct blitter_context_priv *ctx = (struct blitter_context_priv*)blitter; diff --git a/src/gallium/auxiliary/util/u_blitter.h b/src/gallium/auxiliary/util/u_blitter.h index ee789e9340a..4988f3d8c6d 100644 --- a/src/gallium/auxiliary/util/u_blitter.h +++ b/src/gallium/auxiliary/util/u_blitter.h @@ -402,7 +402,7 @@ void util_blitter_custom_resolve_color(struct blitter_context *blitter, /* Used by vc4 for 8/16-bit linear-to-tiled blits */ void util_blitter_custom_shader(struct blitter_context *blitter, struct pipe_surface *dstsurf, - uint16_t width, uint16_t height, + unsigned width, unsigned height, void *custom_vs, void *custom_fs); /* Used by D3D12 for non-MSAA -> MSAA stencil blits */