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 */