i965/vec4: Fix signedness of brw_is_single_value_swizzle() argument.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 18 Mar 2015 12:32:37 +0000 (14:32 +0200)
committerFrancisco Jerez <currojerez@riseup.net>
Mon, 23 Mar 2015 12:09:32 +0000 (14:09 +0200)
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_reg.h

index adbb173988ca6e54278167b5ddc37fd33d2d9d58..c7cd194be5e76d04e37b765a0e6ef004b28c6149 100644 (file)
@@ -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 ||