summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-11-23 15:03:47 -0700
committerBrian Paul <[email protected]>2011-11-23 15:04:01 -0700
commit24d25b55bf511493e70600cc7c49c0a0e6fc7a32 (patch)
tree51c59f78c2d3f8dbba73e1e4d680f278117135b1 /src
parent173427841ace7514fa6b24d24ea65f4d90549cb5 (diff)
softpipe: s/int/unsigned/ to be consistent in alpha test code
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/softpipe/sp_quad_depth_test.c4
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 fb163b20c71..4cf378e68e4 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)