[Mesa-dev] [PATCH] i965: Return NONE from brw_swap_cmod on unknown input.

Kenneth Graunke kenneth at whitecape.org
Mon Aug 11 22:32:34 PDT 2014


On Monday, August 11, 2014 11:22:22 AM Matt Turner wrote:
> Comparing ~0u with a packed enum (i.e., 1 byte) always evaluates to
> false. Shouldn't gcc warn about this?
> 
> Reported-by: Connor Abbott <cwabbott0 at gmail.com>

Looks good to me.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140811/8379e32c/attachment.sig>


More information about the mesa-dev mailing list