util: reinstate ENUM_PACKED

gets rid of warning: 'gcc_struct' attribute ignored [-Wattributes] introduced by !23338

Fixes: 86532fa21d ("util: Use the gcc_struct attribute for packed structures in mingw")
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23478>
This commit is contained in:
Michel Zou
2023-06-06 21:18:17 +02:00
committed by Marge Bot
parent 4b48d377ba
commit badb85edb8
12 changed files with 41 additions and 38 deletions
+1 -1
View File
@@ -219,7 +219,7 @@ struct vk_discard_rectangles_state {
VkRect2D rectangles[MESA_VK_MAX_DISCARD_RECTANGLES];
};
enum PACKED vk_mesa_depth_clip_enable {
enum ENUM_PACKED vk_mesa_depth_clip_enable {
/** Depth clipping should be disabled */
VK_MESA_DEPTH_CLIP_ENABLE_FALSE = 0,