From 7bc02c786df437024e2a8582192a66ddb5e40624 Mon Sep 17 00:00:00 2001 From: Francisco Jerez Date: Wed, 18 Mar 2015 14:32:37 +0200 Subject: [PATCH] i965/vec4: Fix signedness of brw_is_single_value_swizzle() argument. Reviewed-by: Matt Turner --- src/mesa/drivers/dri/i965/brw_reg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 || -- 2.30.2