summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_draw.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2016-09-26 16:14:51 -0700
committerEric Anholt <[email protected]>2016-09-28 08:31:14 -0700
commit2a721b1b798d7078e8fa7ff52c7698d6cd625162 (patch)
tree5edae48d8b267c141891b566dd42a2756fce377c /src/gallium/drivers/vc4/vc4_draw.c
parent1aa8a0392f256a1be8f8d2774a4f7d3e03b3aac3 (diff)
vc4: Emit perf debug when we fall back to quad clears.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_draw.c')
-rw-r--r--src/gallium/drivers/vc4/vc4_draw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_draw.c b/src/gallium/drivers/vc4/vc4_draw.c
index bbdb02010f6..56d91a27d7b 100644
--- a/src/gallium/drivers/vc4/vc4_draw.c
+++ b/src/gallium/drivers/vc4/vc4_draw.c
@@ -488,6 +488,8 @@ vc4_clear(struct pipe_context *pctx, unsigned buffers,
if ((buffers & PIPE_CLEAR_DEPTHSTENCIL) != 0 &&
(buffers & PIPE_CLEAR_DEPTHSTENCIL) != PIPE_CLEAR_DEPTHSTENCIL &&
util_format_is_depth_and_stencil(vc4->framebuffer.zsbuf->format)) {
+ perf_debug("Partial clear of Z+stencil buffer, drawing a quad "
+ "instead of fast clearing");
vc4_blitter_save(vc4);
util_blitter_clear(vc4->blitter,
vc4->framebuffer.width,