diff options
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_context.c')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_context.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_context.c b/src/gallium/drivers/vc4/vc4_context.c index cc57486e103..87f025142ce 100644 --- a/src/gallium/drivers/vc4/vc4_context.c +++ b/src/gallium/drivers/vc4/vc4_context.c @@ -253,6 +253,12 @@ vc4_setup_rcl(struct vc4_context *vc4) assert(!coords_emitted); } } + + if (vc4->resolve & PIPE_CLEAR_COLOR0) + ctex->writes++; + + if (vc4->resolve & (PIPE_CLEAR_DEPTH | PIPE_CLEAR_STENCIL)) + ztex->writes++; } void |