v3dv/format: remove unused v3dv_get_tex_return_size

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19950>
This commit is contained in:
Alejandro Piñeiro
2022-11-25 11:58:15 +01:00
committed by Marge Bot
parent 36ec3d6fe3
commit 98e6effadd
2 changed files with 0 additions and 17 deletions

View File

@@ -77,22 +77,6 @@ v3dv_format_swizzle_needs_reverse(const uint8_t *swizzle)
return false;
}
uint8_t
v3dv_get_tex_return_size(const struct v3dv_format *vf,
bool compare_enable)
{
if (V3D_DBG(TMU_16BIT))
return 16;
if (V3D_DBG(TMU_32BIT))
return 32;
if (compare_enable)
return 16;
return vf->return_size;
}
/* Some cases of transfer operations are raw data copies that don't depend
* on the semantics of the pixel format (no pixel format conversions are
* involved). In these cases, it is safe to choose any format supported by

View File

@@ -2301,7 +2301,6 @@ uint32_t v3dv_physical_device_device_id(struct v3dv_physical_device *dev);
mesa_logd("%s: ignored VkStructureType %u:%s\n\n", __func__, (sType), vk_StructureType_to_str(sType))
const uint8_t *v3dv_get_format_swizzle(struct v3dv_device *device, VkFormat f);
uint8_t v3dv_get_tex_return_size(const struct v3dv_format *vf, bool compare_enable);
const struct v3dv_format *
v3dv_get_compatible_tfu_format(struct v3dv_device *device,
uint32_t bpp, VkFormat *out_vk_format);