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:

committed by
Marge Bot

parent
36ec3d6fe3
commit
98e6effadd
@@ -77,22 +77,6 @@ v3dv_format_swizzle_needs_reverse(const uint8_t *swizzle)
|
|||||||
return false;
|
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
|
/* 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
|
* 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
|
* involved). In these cases, it is safe to choose any format supported by
|
||||||
|
@@ -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))
|
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);
|
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 *
|
const struct v3dv_format *
|
||||||
v3dv_get_compatible_tfu_format(struct v3dv_device *device,
|
v3dv_get_compatible_tfu_format(struct v3dv_device *device,
|
||||||
uint32_t bpp, VkFormat *out_vk_format);
|
uint32_t bpp, VkFormat *out_vk_format);
|
||||||
|
Reference in New Issue
Block a user