From 5b87eef031e8ebfee4f868cdc856a76faff87930 Mon Sep 17 00:00:00 2001 From: Nicolai Hähnle Date: Mon, 27 Jun 2016 16:59:55 +0200 Subject: gallium/radeon: print StencilLayout only once MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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(-) (limited to 'src/gallium/drivers') 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, " -- cgit v1.2.3