On Mon, 08 May 2017, Joonas Lahtinen <[email protected]> wrote: > PS. I personally don't like the enum typed bitfields, but that's an > another discussion (that's been had in the past).
I'm with you on this one. It's semi-okay to define the bits as enums, but IMO a variable of an enum type should only ever be used to hold the enumerated values. Too bad C doesn't give us strong type checking for enums. BR, Jani. -- Jani Nikula, Intel Open Source Technology Center _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
