gallium/util: split out zstencil clearing code.
authorDave Airlie <airlied@redhat.com>
Tue, 10 Mar 2020 02:46:02 +0000 (12:46 +1000)
committerMarge Bot <eric+marge@anholt.net>
Wed, 6 May 2020 06:20:37 +0000 (06:20 +0000)
commit6befeb66070498427e139d3ff86bfd0bd15b5668
tree7a1cf230d9a4d88fcb43556e62a55ea12c02bb38
parentbcbe5b3d268b325c1138ddc29785b6b002c38af9
gallium/util: split out zstencil clearing code.

llvmpipe will want to reuse this for it's multisample clears.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>
src/gallium/auxiliary/util/u_surface.c
src/gallium/auxiliary/util/u_surface.h