mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 10:10:09 +01:00
panvk: Get rid of unused panvk_image_get_plane_size() helper
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28104>
This commit is contained in:
parent
ac61d6d0c0
commit
3aa02232a5
2 changed files with 0 additions and 10 deletions
|
|
@ -37,13 +37,6 @@
|
|||
#include "vk_object.h"
|
||||
#include "vk_util.h"
|
||||
|
||||
unsigned
|
||||
panvk_image_get_plane_size(const struct panvk_image *image, unsigned plane)
|
||||
{
|
||||
assert(!plane);
|
||||
return image->pimage.layout.data_size;
|
||||
}
|
||||
|
||||
unsigned
|
||||
panvk_image_get_total_size(const struct panvk_image *image)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -972,9 +972,6 @@ struct panvk_image {
|
|||
struct pan_image pimage;
|
||||
};
|
||||
|
||||
unsigned panvk_image_get_plane_size(const struct panvk_image *image,
|
||||
unsigned plane);
|
||||
|
||||
unsigned panvk_image_get_total_size(const struct panvk_image *image);
|
||||
|
||||
#define TEXTURE_DESC_WORDS 8
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue