nv50: Fix return type of nv50_blit_is_array
Reviewed-by: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22997>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user