zink: simplify clear-apply on fb state change
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 9 Mar 2021 20:39:50 +0000 (15:39 -0500)
committerMarge Bot <eric+marge@anholt.net>
Thu, 8 Apr 2021 03:44:20 +0000 (03:44 +0000)
commitc7e4f28a162c48f656e6dd5eab543b4e1edb2405
tree1f4aa76a05c1c190efa8f658d15eeb2e62c9d7a6
parentf19946ca6ecd236592e136a2c45e9bce329f691c
zink: simplify clear-apply on fb state change

since surfaces are cached and deduplicated, we no longer have to
do deep comparisons to determine whether two surfaces are equal and can
just compare the pointers

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