From: Francisco Jerez Date: Wed, 18 Mar 2015 12:32:37 +0000 (+0200) Subject: i965/vec4: Fix signedness of brw_is_single_value_swizzle() argument. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7bc02c786df437024e2a8582192a66ddb5e40624;p=mesa.git i965/vec4: Fix signedness of brw_is_single_value_swizzle() argument. Reviewed-by: Matt Turner --- diff --git a/src/mesa/drivers/dri/i965/brw_reg.h b/src/mesa/drivers/dri/i965/brw_reg.h index adbb173988c..c7cd194be5e 100644 --- a/src/mesa/drivers/dri/i965/brw_reg.h +++ b/src/mesa/drivers/dri/i965/brw_reg.h @@ -87,7 +87,7 @@ struct brw_context; #define BRW_SWIZZLE_ZWZW BRW_SWIZZLE4(2,3,2,3) static inline bool -brw_is_single_value_swizzle(int swiz) +brw_is_single_value_swizzle(unsigned swiz) { return (swiz == BRW_SWIZZLE_XXXX || swiz == BRW_SWIZZLE_YYYY ||