format: add format_to_chroma_format
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Wed, 5 Feb 2020 09:20:06 +0000 (10:20 +0100)
committerPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Thu, 27 Feb 2020 09:01:31 +0000 (10:01 +0100)
commit87807298a307d4e38195dc04f66c26404e7cb791
treeb4a388874f23cb9c553e14b6d0fb4c60649c82ee
parentfb29f0847f87504f8162ebe7b9324244387ff501
format: add format_to_chroma_format

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Acked-by: Leo Liu <leo.liu@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3738>
src/gallium/include/pipe/p_format.h