lavapipe: use clear interface for renderpass clears
authorDave Airlie <airlied@redhat.com>
Sun, 14 Feb 2021 22:33:08 +0000 (08:33 +1000)
committerMarge Bot <eric+marge@anholt.net>
Mon, 22 Feb 2021 00:30:46 +0000 (00:30 +0000)
commitb4f7535ba2044785a5590ff597fe7c8df233716f
tree6c897fb0f82b821976c0412d9447f4cfb2054ebd
parent2ecb47abda371bbd84187d36731fe4810aae7184
lavapipe: use clear interface for renderpass clears

For llvmpipe this means clears happen in the raster threads
rather than in the single cpu thread.

This path can't be used for scissored or clears with different
clear colors per mrt.

Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9041>
src/gallium/frontends/lavapipe/lvp_execute.c