summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/r600_texture.c
diff options
context:
space:
mode:
authorNicolai Hähnle <nicolai.haehnle@amd.com>2016-06-27 16:59:55 +0200
committerNicolai Hähnle <nicolai.haehnle@amd.com>2016-07-06 10:42:48 +0200
commit5b87eef031e8ebfee4f868cdc856a76faff87930 (patch)
treeb63be49f51b9e5c0df2dc4f3929164317429822f /src/gallium/drivers/radeon/r600_texture.c
parentbae066c3f0a9c47c43ebf497935145ed056e412f (diff)
downloadexternal_mesa3d-5b87eef031e8ebfee4f868cdc856a76faff87930.zip
external_mesa3d-5b87eef031e8ebfee4f868cdc856a76faff87930.tar.gz
external_mesa3d-5b87eef031e8ebfee4f868cdc856a76faff87930.tar.bz2
gallium/radeon: print StencilLayout only once
It is the same for all levels. Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Diffstat (limited to 'src/gallium/drivers/radeon/r600_texture.c')
-rw-r--r--src/gallium/drivers/radeon/r600_texture.c4
1 files 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, "