summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_texture.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/r300/r300_texture.c')
-rw-r--r--src/gallium/drivers/r300/r300_texture.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_texture.c b/src/gallium/drivers/r300/r300_texture.c
index e18dcf8e1cc..4eb9a230790 100644
--- a/src/gallium/drivers/r300/r300_texture.c
+++ b/src/gallium/drivers/r300/r300_texture.c
@@ -1001,6 +1001,12 @@ r300_texture_create_object(struct r300_screen *rscreen,
}
}
+ if (SCREEN_DBG_ON(rscreen, DBG_MSAA) && base->nr_samples > 1) {
+ fprintf(stderr, "r300: %i MSAA %s buffer created\n",
+ base->nr_samples,
+ util_format_is_depth_or_stencil(base->format) ? "depth" : "color");
+ }
+
tex->cs_buf = rws->buffer_get_cs_handle(tex->buf);
rws->buffer_set_tiling(tex->buf, NULL,