zink: add explicit (awful) handling for fb layer mismatch clears
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 8 Jul 2022 15:47:56 +0000 (11:47 -0400)
committerMarge Bot <emma+marge@anholt.net>
Mon, 18 Jul 2022 03:40:38 +0000 (03:40 +0000)
commit95f1c84739f5e67e2df26e459aa394fdaec63fee
treeb10240aa9ac615abc461ec3d99bcd48e31f02764
parent631db579af89c02e8c3c7455b9c297601db59c72
zink: add explicit (awful) handling for fb layer mismatch clears

this is terrible and (hopefully?) rare, so just force it out early to
avoid any kind of issue

Acked-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17366>
src/gallium/drivers/zink/zink_clear.c