From: Eric Anholt Date: Mon, 26 Sep 2016 23:14:51 +0000 (-0700) Subject: vc4: Emit perf debug when we fall back to quad clears. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2a721b1b798d7078e8fa7ff52c7698d6cd625162;p=mesa.git vc4: Emit perf debug when we fall back to quad clears. --- 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,