gallium/util: Move the Z/S handling to the outside of get_tile().
authorEric Anholt <eric@anholt.net>
Wed, 1 Jul 2020 23:48:54 +0000 (16:48 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 7 Jul 2020 18:19:22 +0000 (18:19 +0000)
commit725b27135bd8d0e8b6597db98405a5ec63894cfd
treeba74b247c424f268fb40be706b056a48605d13a2
parenta2b74a5d8a199eafdd4697088e16e99947f8a75e
gallium/util: Move the Z/S handling to the outside of get_tile().

This lets us drop the special case for S8_UINT, and makes our read_4 path
just like other callers.

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