ff89dc3523
v3dv, radv, and turnip are using several C&P format helpers (most of them wrappers over util_format_description based helpers). methods. This commit moves the common helpers to the already existing common vk_format.h. For the case of v3dv we were able to remove the vk_format header. For turnip and radv, a local vk_format.h header remains, with methods that are only used for those drivers. Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Danylo Piliaiev <dpiliaiev@igalia.com> Reviewed-by: Juan A. Suarez <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13858>