From 5b87eef031e8ebfee4f868cdc856a76faff87930 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nicolai=20H=C3=A4hnle?= Date: Mon, 27 Jun 2016 16:59:55 +0200 Subject: [PATCH] gallium/radeon: print StencilLayout only once MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit It is the same for all levels. Reviewed-by: Marek Olšák --- src/gallium/drivers/radeon/r600_texture.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/radeon/r600_texture.c b/src/gallium/drivers/radeon/r600_texture.c index 7651e87..0a25dbe 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, " -- 2.7.4