diff options
author | Eric Anholt <eric@anholt.net> | 2016-09-26 16:14:51 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2016-09-28 08:31:14 -0700 |
commit | 2a721b1b798d7078e8fa7ff52c7698d6cd625162 (patch) | |
tree | 5edae48d8b267c141891b566dd42a2756fce377c /src/gallium/drivers/vc4 | |
parent | 1aa8a0392f256a1be8f8d2774a4f7d3e03b3aac3 (diff) | |
download | external_mesa3d-2a721b1b798d7078e8fa7ff52c7698d6cd625162.zip external_mesa3d-2a721b1b798d7078e8fa7ff52c7698d6cd625162.tar.gz external_mesa3d-2a721b1b798d7078e8fa7ff52c7698d6cd625162.tar.bz2 |
vc4: Emit perf debug when we fall back to quad clears.
Diffstat (limited to 'src/gallium/drivers/vc4')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_draw.c | 2 |
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 bbdb020..56d91a2 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, |