softpipe: s/int/unsigned/ to be consistent in alpha test code
authorBrian Paul <brianp@vmware.com>
Wed, 23 Nov 2011 22:03:47 +0000 (15:03 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 23 Nov 2011 22:04:01 +0000 (15:04 -0700)
src/gallium/drivers/softpipe/sp_quad_depth_test.c

index fb163b20c713656d90049dfc72d82576f11c6eff..4cf378e68e45cdd0829ba4e5a6b366e8948941dd 100644 (file)
@@ -629,7 +629,7 @@ depth_stencil_test_quad(struct quad_stage *qs,
 
 
 #define ALPHATEST( FUNC, COMP )                                         \
-   static int                                                           \
+   static unsigned                                                      \
    alpha_test_quads_##FUNC( struct quad_stage *qs,                      \
                            struct quad_header *quads[],                 \
                            unsigned nr )                                \
@@ -668,7 +668,7 @@ ALPHATEST( GEQUAL,   >= )
 
 /* XXX: Incorporate into shader using KILP.
  */
-static int
+static unsigned
 alpha_test_quads(struct quad_stage *qs, 
                  struct quad_header *quads[], 
                  unsigned nr)