gallium/util: Introduce a helper for finding whole-resource blits.
authorEmma Anholt <emma@anholt.net>
Thu, 17 Jun 2021 16:33:24 +0000 (09:33 -0700)
committerMarge Bot <eric+marge@anholt.net>
Mon, 21 Jun 2021 20:48:21 +0000 (20:48 +0000)
commit447b6f60a6902e07ca034e0ebf667e76cde93ec6
tree0cd1fcb9ce1612d40a3e27f151c1f4aa8006f2c0
parent9ce44dc9bc6bfbd88639e4ebeb16680d35585088
gallium/util: Introduce a helper for finding whole-resource blits.

This can be useful for tilers to discard previous rendering to a buffer
instead of reloading before drawing all the pixels.

Reviewed-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11455>
src/gallium/auxiliary/util/u_inlines.h