[Mesa-dev] [PATCH 08/19] i965/fs: Use a bitfield for fs_inst's bool fields.

Matt Turner mattst88 at gmail.com
Fri Feb 21 14:05:15 PST 2014


On Fri, Feb 21, 2014 at 1:50 PM, Philipp Klaus Krause <pkk at spth.de> wrote:
> Using uint8_t as a bitfield type is non-portable. AFAIK, only int
> singed int, unsigned int and bool are mandatory bit-field types in the
> C standard. Why not just use
>
> bool saturate:1;
>
> and so on?

That sounds good. Will do.


More information about the mesa-dev mailing list