mesa/st: break up st_choose_matching_format()
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 22 Apr 2021 20:00:58 +0000 (16:00 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 28 Jul 2021 17:07:15 +0000 (17:07 +0000)
commitdaf2a039f55bf51a7c6ad3372b25e234de371b08
treeb25df77f69ebb759404cfe74277a54efd37a6eb3
parent6276973a9a2061b9dfa3dad7fe87c2d054e42ecb
mesa/st: break up st_choose_matching_format()

having a function that just returns the equivalent format is handy

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11982>
src/mesa/state_tracker/st_format.c
src/mesa/state_tracker/st_format.h