util: Move pipe_color_union from p_defines.h into u_formats.h
authorYonggang Luo <luoyonggang@gmail.com>
Sun, 4 Jun 2023 09:25:36 +0000 (17:25 +0800)
committerMarge Bot <emma+marge@anholt.net>
Wed, 2 Aug 2023 03:41:24 +0000 (03:41 +0000)
commit52b92a7166e6a03665a6cd34bc521ce1c87b64d5
treeaf12d9bba94438c4be1e915fdbc5312a82d7fbad
parented1281a17029b4c7e01163aaf3d4d36da8c20462
util: Move pipe_color_union from p_defines.h into u_formats.h

As pipe_color_union is used in vulkan drivers, so decouple it from gallium by this move

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19522>
src/gallium/include/pipe/p_defines.h
src/util/format/u_formats.h