[Mesa-dev] [PATCH 02/15] i965/vec4: Fix signedness of brw_is_single_value_swizzle() argument.

Francisco Jerez currojerez at riseup.net
Fri Mar 20 07:11:38 PDT 2015


---
 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 9f76e1d..9eb076f 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.1.3



More information about the mesa-dev mailing list