radv: print image array size in debug mode

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8863>
This commit is contained in:
Mike Blumenkrantz 2021-02-02 12:42:49 -05:00
parent 564102b1be
commit da21eab142

View file

@ -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;