diff --git a/src/gallium/drivers/v3d/v3d_blit.c b/src/gallium/drivers/v3d/v3d_blit.c index bbb644fa73a..88ba6f22461 100644 --- a/src/gallium/drivers/v3d/v3d_blit.c +++ b/src/gallium/drivers/v3d/v3d_blit.c @@ -260,8 +260,9 @@ v3d_tfu(struct pipe_context *pctx, } uint32_t tex_format = v3d_get_tex_format(&screen->devinfo, pformat); + struct v3d_device_info *devinfo = &screen->devinfo; - if (!v3d_tfu_supports_tex_format(&screen->devinfo, tex_format, for_mipmap)) { + if (!v3d_X(devinfo, tfu_supports_tex_format)(tex_format, for_mipmap)) { assert(for_mipmap); return false; } diff --git a/src/gallium/drivers/v3d/v3d_context.h b/src/gallium/drivers/v3d/v3d_context.h index 139cea85fde..3e196f19466 100644 --- a/src/gallium/drivers/v3d/v3d_context.h +++ b/src/gallium/drivers/v3d/v3d_context.h @@ -764,9 +764,6 @@ void v3d_get_internal_type_bpp_for_output_format(const struct v3d_device_info *d uint32_t format, uint32_t *type, uint32_t *bpp); -bool v3d_tfu_supports_tex_format(const struct v3d_device_info *devinfo, - uint32_t tex_format, - bool for_mipmap); bool v3d_format_supports_tlb_msaa_resolve(const struct v3d_device_info *devinfo, enum pipe_format f); diff --git a/src/gallium/drivers/v3d/v3d_formats.c b/src/gallium/drivers/v3d/v3d_formats.c index b94857fa006..85391808286 100644 --- a/src/gallium/drivers/v3d/v3d_formats.c +++ b/src/gallium/drivers/v3d/v3d_formats.c @@ -135,14 +135,6 @@ v3d_get_internal_type_bpp_for_output_format(const struct v3d_device_info *devinf v3d_X(devinfo, get_internal_type_bpp_for_output_format)(format, type, bpp); } -bool -v3d_tfu_supports_tex_format(const struct v3d_device_info *devinfo, - uint32_t tex_format, - bool for_mipmap) -{ - return v3d_X(devinfo, tfu_supports_tex_format)(tex_format, for_mipmap); -} - bool v3d_format_supports_tlb_msaa_resolve(const struct v3d_device_info *devinfo, enum pipe_format f)