util: Move pipe_swizzle from p_defines.h to u_formats.h
authorYonggang Luo <luoyonggang@gmail.com>
Sun, 4 Jun 2023 09:12:10 +0000 (17:12 +0800)
committerMarge Bot <emma+marge@anholt.net>
Wed, 2 Aug 2023 03:41:23 +0000 (03:41 +0000)
commit9817f7d621c7e723def53258a2c60df2f3ea1f35
treedb8e7af5e6ce5d13b6f6b6e44ec2fd0ef8c55d7f
parent4de7e0034ae91adcc0ae3155616659c1999e3087
util: Move pipe_swizzle from p_defines.h to u_formats.h

pipe_swizzle is used by src/util/*, so do the move to decouple src/util/* from gallium

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/broadcom/common/v3d_util.h
src/gallium/auxiliary/gallivm/lp_bld_swizzle.h
src/gallium/include/pipe/p_defines.h
src/util/format/u_formats.h