From da21eab1428758024967de04598b2898583d4e41 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 2 Feb 2021 12:42:49 -0500 Subject: [PATCH] radv: print image array size in debug mode Reviewed-by: Samuel Pitoiset Part-of: --- src/amd/vulkan/radv_image.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/amd/vulkan/radv_image.c b/src/amd/vulkan/radv_image.c index 0bed9434e71..f03e6bb31bd 100644 --- a/src/amd/vulkan/radv_image.c +++ b/src/amd/vulkan/radv_image.c @@ -1464,9 +1464,9 @@ radv_image_print_info(struct radv_device *device, struct radv_image *image) fprintf(stderr, "Image:\n"); fprintf(stderr, " Info: size=%" PRIu64 ", alignment=%" PRIu32 ", " "width=%" PRIu32 ", height=%" PRIu32 ", " - "offset=%" PRIu64 "\n", + "offset=%" PRIu64 ", array_size=%" PRIu32 "\n", image->size, image->alignment, image->info.width, - image->info.height, image->offset); + image->info.height, image->offset, image->info.array_size); for (unsigned i = 0; i < image->plane_count; ++i) { const struct radv_image_plane *plane = &image->planes[i]; const struct radeon_surf *surf = &plane->surface;