From: Eric Anholt Date: Thu, 12 Dec 2019 21:54:43 +0000 (-0800) Subject: freedreno: Include the layer size in layout debug. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b6b4118bb06c5a38d7b7bf61ab67551c3129176d;p=mesa.git freedreno: Include the layer size in layout debug. It's been many of my bugs so far. Part-of: --- diff --git a/src/freedreno/fdl/freedreno_layout.c b/src/freedreno/fdl/freedreno_layout.c index 345b33deb83..7c0a7052a52 100644 --- a/src/freedreno/fdl/freedreno_layout.c +++ b/src/freedreno/fdl/freedreno_layout.c @@ -50,7 +50,7 @@ fdl_dump_layout(struct fdl_layout *layout) uint32_t tile_mode = (layout->ubwc_size ? layout->tile_mode : fdl_tile_mode(layout, level)); - fprintf(stderr, "%s: %ux%ux%u@%ux%u:\t%2u: stride=%4u, size=%6u,%6u, aligned_height=%3u, offset=0x%x,0x%x tiling=%d\n", + fprintf(stderr, "%s: %ux%ux%u@%ux%u:\t%2u: stride=%4u, size=%6u,%6u, aligned_height=%3u, offset=0x%x,0x%x, layersz %5u,%5u tiling=%d\n", util_format_name(layout->format), u_minify(layout->width0, level), u_minify(layout->height0, level), @@ -61,6 +61,7 @@ fdl_dump_layout(struct fdl_layout *layout) slice->size0, ubwc_slice->size0, slice->size0 / (slice->pitch * layout->cpp), slice->offset, ubwc_slice->offset, + layout->layer_size, layout->ubwc_size, tile_mode); } }