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:
@@ -1157,7 +1157,7 @@ enum tess_primitive_mode
|
||||
/**
|
||||
* Mesa primitive types for both GL and Vulkan:
|
||||
*/
|
||||
enum PACKED mesa_prim
|
||||
enum ENUM_PACKED mesa_prim
|
||||
{
|
||||
MESA_PRIM_POINTS,
|
||||
MESA_PRIM_LINES,
|
||||
@@ -1318,7 +1318,7 @@ enum cl_sampler_filter_mode {
|
||||
#define MAT_BIT_BACK_INDEXES (1<<MAT_ATTRIB_BACK_INDEXES)
|
||||
|
||||
/** An enum representing what kind of input gl_SubgroupSize is. */
|
||||
enum PACKED gl_subgroup_size
|
||||
enum ENUM_PACKED gl_subgroup_size
|
||||
{
|
||||
/** Actual subgroup size, whatever that happens to be */
|
||||
SUBGROUP_SIZE_VARYING = 0,
|
||||
|
Reference in New Issue
Block a user