util: Drop the ENUM_PACKED macro
authorJason Ekstrand <jason.ekstrand@collabora.com>
Wed, 21 Dec 2022 22:59:02 +0000 (16:59 -0600)
committerMarge Bot <emma+marge@anholt.net>
Wed, 4 Jan 2023 01:09:32 +0000 (01:09 +0000)
commit13f7ef5e0c01cb6f39ad3147800338f3d5b1f13e
tree1105afe97e8915ba5eb17e2bdb24e21d234b0e22
parent58e6d8eee245fdff705a084ad37f9d741dff0bd6
util: Drop the ENUM_PACKED macro

We have both PACKED and ENUM_PACKED macros which expand to the same
thing.  PACKED was based on a meson check for function attributes while
ENUM_PACKED appears to be a legacy gallium thing which was based on
defined(__GCC__).  This changes the one use of ENUM_PACKED to PACKED and
deletes ENUM_PACKED.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20412>
src/gallium/include/pipe/p_defines.h
src/util/macros.h