gallium/util: Clean up the Z/S tile write path.
authorEric Anholt <eric@anholt.net>
Wed, 1 Jul 2020 23:32:37 +0000 (16:32 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 7 Jul 2020 18:19:22 +0000 (18:19 +0000)
commita2b74a5d8a199eafdd4697088e16e99947f8a75e
treed5dd91fb303443e53f9acaa723f36e82d2e33925
parent019a0309073b818b4dedbecf457813586b333332
gallium/util: Clean up the Z/S tile write path.

The switch statement is silly, we have a helper to detect all of Z/S.
And, take the time explain why all of Z/S tile writing is unimplemented.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5728>
src/gallium/auxiliary/util/u_tile.c