zink: break out scissor region testing for clear functions
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 13 Aug 2020 18:22:14 +0000 (14:22 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 15 Jan 2021 16:38:04 +0000 (16:38 +0000)
commit5bd0d7c62f722b74aae195d2a176b589259deb70
tree9b64d6114eb68337cf0953a2824242811bc83a1b
parenta131d06f170e8acfb4ff01dd63afcb25d71380ad
zink: break out scissor region testing for clear functions

it'll be handy to be able to reuse this

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8512>
src/gallium/drivers/zink/zink_clear.c