radv: print number of levels with RADV_DEBUG=img
Might help debugging image related issues like DCC or HTILE. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14336>
This commit is contained in:
parent
4942e10890
commit
b249e700ac
|
@ -1702,9 +1702,9 @@ radv_image_print_info(struct radv_device *device, struct radv_image *image)
|
|||
fprintf(stderr,
|
||||
" Info: size=%" PRIu64 ", alignment=%" PRIu32 ", "
|
||||
"width=%" PRIu32 ", height=%" PRIu32 ", "
|
||||
"offset=%" PRIu64 ", array_size=%" PRIu32 "\n",
|
||||
"offset=%" PRIu64 ", array_size=%" PRIu32 ", levels=%" PRIu32 "\n",
|
||||
image->size, image->alignment, image->info.width, image->info.height, image->offset,
|
||||
image->info.array_size);
|
||||
image->info.array_size, image->info.levels);
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue