Module: Mesa Branch: main Commit: be5b5fbe3db026ad2eb42531118967dc658cebd0 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=be5b5fbe3db026ad2eb42531118967dc658cebd0
Author: M Henning <[email protected]> Date: Fri May 12 15:39:28 2023 -0400 nv50: Fix return type of nv50_blit_is_array Reviewed-by: Karol Herbst <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22997> --- src/gallium/drivers/nouveau/nv50/nv50_blit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/nouveau/nv50/nv50_blit.h b/src/gallium/drivers/nouveau/nv50/nv50_blit.h index cf58015b1f8..ec93d930590 100644 --- a/src/gallium/drivers/nouveau/nv50/nv50_blit.h +++ b/src/gallium/drivers/nouveau/nv50/nv50_blit.h @@ -68,7 +68,7 @@ nv50_blit_get_glsl_sampler_dim(enum pipe_texture_target target) } } -static inline enum glsl_sampler_dim +static inline bool nv50_blit_is_array(enum pipe_texture_target target) { return (target == PIPE_TEXTURE_1D_ARRAY) || (target == PIPE_TEXTURE_2D_ARRAY);
