projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1aa8a03
)
vc4: Emit perf debug when we fall back to quad clears.
author
Eric Anholt
<eric@anholt.net>
Mon, 26 Sep 2016 23:14:51 +0000
(16:14 -0700)
committer
Eric Anholt
<eric@anholt.net>
Wed, 28 Sep 2016 15:31:14 +0000
(08:31 -0700)
src/gallium/drivers/vc4/vc4_draw.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc4/vc4_draw.c
b/src/gallium/drivers/vc4/vc4_draw.c
index bbdb02010f6bee154f3395fd5ef0dad3b631bc67..56d91a27d7b499715573ff11555c22133edc0bc7 100644
(file)
--- 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,