lavapipe: rewrite attachment clearing for conditional rendering.
authorDave Airlie <airlied@redhat.com>
Mon, 21 Dec 2020 04:54:58 +0000 (14:54 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 27 Jan 2021 00:57:25 +0000 (10:57 +1000)
commita57361ae02807207948fc1e9b2734caf1747178e
treede6df013041111e0dbebb8ae08ed1eddabbcf9ce
parent4be0e92db10584bc3526884b92aa483458aa93af
lavapipe: rewrite attachment clearing for conditional rendering.

Attachment clears have to respect cond rendering, so they can't
call clear texture directly, they have to create temporary
surfaces and clear via those.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8182>
src/gallium/frontends/lavapipe/lvp_execute.c