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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user