projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1734278
)
softpipe: s/int/unsigned/ to be consistent in alpha test code
author
Brian Paul
<brianp@vmware.com>
Wed, 23 Nov 2011 22:03:47 +0000
(15:03 -0700)
committer
Brian Paul
<brianp@vmware.com>
Wed, 23 Nov 2011 22:04:01 +0000
(15:04 -0700)
src/gallium/drivers/softpipe/sp_quad_depth_test.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/softpipe/sp_quad_depth_test.c
b/src/gallium/drivers/softpipe/sp_quad_depth_test.c
index fb163b20c713656d90049dfc72d82576f11c6eff..4cf378e68e45cdd0829ba4e5a6b366e8948941dd 100644
(file)
--- 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)