Even if we're not clearing color, the blitter has started dereferencing
the color value.
zsclear == PIPE_CLEAR_STENCIL) &&
(rsc->initialized_buffers & ~(zsclear | job->cleared)) &&
util_format_is_depth_and_stencil(vc4->framebuffer.zsbuf->format)) {
+ static const union pipe_color_union dummy_color = {};
+
perf_debug("Partial clear of Z+stencil buffer, "
"drawing a quad instead of fast clearing\n");
vc4_blitter_save(vc4);
vc4->framebuffer.height,
1,
zsclear,
- NULL, depth, stencil);
+ &dummy_color, depth, stencil);
buffers &= ~zsclear;
if (!buffers)
return;