Mesa (master): softpipe: s/int/unsigned/ to be consistent in alpha test code

Brian Paul brianp at kemper.freedesktop.org
Wed Nov 23 22:33:01 UTC 2011


Module: Mesa
Branch: master
Commit: 24d25b55bf511493e70600cc7c49c0a0e6fc7a32
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=24d25b55bf511493e70600cc7c49c0a0e6fc7a32

Author: Brian Paul <brianp at vmware.com>
Date:   Wed Nov 23 15:03:47 2011 -0700

softpipe: s/int/unsigned/ to be consistent in alpha test code

---

 src/gallium/drivers/softpipe/sp_quad_depth_test.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gallium/drivers/softpipe/sp_quad_depth_test.c b/src/gallium/drivers/softpipe/sp_quad_depth_test.c
index fb163b2..4cf378e 100644
--- a/src/gallium/drivers/softpipe/sp_quad_depth_test.c
+++ b/src/gallium/drivers/softpipe/sp_quad_depth_test.c
@@ -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)




More information about the mesa-commit mailing list