From: Nicolai Hähnle Date: Mon, 27 Jun 2016 14:59:55 +0000 (+0200) Subject: gallium/radeon: print StencilLayout only once X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5b87eef031e8ebfee4f868cdc856a76faff87930;p=mesa.git gallium/radeon: print StencilLayout only once It is the same for all levels. Reviewed-by: Marek Olšák --- diff --git a/src/gallium/drivers/radeon/r600_texture.c b/src/gallium/drivers/radeon/r600_texture.c index 7651e879dad..0a25dbef991 100644 --- a/src/gallium/drivers/radeon/r600_texture.c +++ b/src/gallium/drivers/radeon/r600_texture.c @@ -961,9 +961,9 @@ void r600_print_texture_info(struct r600_texture *rtex, FILE *f) rtex->surface.level[i].mode); if (rtex->surface.flags & RADEON_SURF_SBUFFER) { + fprintf(f, " StencilLayout: tilesplit=%u\n", + rtex->surface.stencil_tile_split); for (i = 0; i <= rtex->surface.last_level; i++) { - fprintf(f, " StencilLayout: tilesplit=%u\n", - rtex->surface.stencil_tile_split); fprintf(f, " StencilLevel[%i]: offset=%"PRIu64", " "slice_size=%"PRIu64", npix_x=%u, " "npix_y=%u, npix_z=%u, nblk_x=%u, nblk_y=%u, "