ac/surface: move determing ADDR_FMT_* into a helper function
authorMarek Olšák <marek.olsak@amd.com>
Sat, 29 Apr 2023 12:51:56 +0000 (08:51 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 27 May 2023 03:27:59 +0000 (23:27 -0400)
commitea7c89d1f57510e86c1d53de4b5681682a6fc57c
tree1c2f74e7b7b396ef9cd604ce555fb1f9bca5858b
parent78d5626d177ebfd58fa5df2a6ba67aeca9a8157e
ac/surface: move determing ADDR_FMT_* into a helper function

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23216>
src/amd/common/ac_surface.c