diff options
author | Brian <brian@i915.localnet.net> | 2007-08-08 11:44:06 -0600 |
---|---|---|
committer | Brian <brian@i915.localnet.net> | 2007-08-08 12:04:08 -0600 |
commit | e4eb97318cbce238c5aaaf11af42c33229274859 (patch) | |
tree | 5d2e377f055f1bdd8b55d21ec702121dbcc009c6 /src/mesa/pipe/softpipe/sp_quad_depth_test.c | |
parent | f00179f9b47e17087d546940e1d57ffb2e2a8e42 (diff) |
add quad_stage::begin() funcs
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_quad_depth_test.c')
-rw-r--r-- | src/mesa/pipe/softpipe/sp_quad_depth_test.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/pipe/softpipe/sp_quad_depth_test.c b/src/mesa/pipe/softpipe/sp_quad_depth_test.c index 3a8df33e67..904d93a614 100644 --- a/src/mesa/pipe/softpipe/sp_quad_depth_test.c +++ b/src/mesa/pipe/softpipe/sp_quad_depth_test.c @@ -156,6 +156,11 @@ depth_test_quad(struct quad_stage *qs, struct quad_header *quad) } +static void depth_test_begin(struct quad_stage *qs) +{ + if (qs->next->begin) + qs->next->begin(qs->next); +} struct quad_stage *sp_quad_depth_test_stage( struct softpipe_context *softpipe ) @@ -163,6 +168,7 @@ struct quad_stage *sp_quad_depth_test_stage( struct softpipe_context *softpipe ) struct quad_stage *stage = CALLOC_STRUCT(quad_stage); stage->softpipe = softpipe; + stage->begin = depth_test_begin; stage->run = depth_test_quad; return stage; |