diff options
author | Brian <[email protected]> | 2007-06-21 20:08:10 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-06-21 20:08:10 -0600 |
commit | 493ed9fc11a2bf272a2c1e9e5a072e4f02b46554 (patch) | |
tree | b43acdceb59b9764b3e0f5995b538af987e67ec9 /src/mesa/pipe/softpipe/sp_quad.c | |
parent | ecfa794037e8be351ecfec0229d1e3b1677ae369 (diff) |
alpha test and misc changes
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_quad.c')
-rw-r--r-- | src/mesa/pipe/softpipe/sp_quad.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/pipe/softpipe/sp_quad.c b/src/mesa/pipe/softpipe/sp_quad.c index 32085ab8c45..63126a4da38 100644 --- a/src/mesa/pipe/softpipe/sp_quad.c +++ b/src/mesa/pipe/softpipe/sp_quad.c @@ -21,6 +21,11 @@ sp_build_quad_pipeline(struct softpipe_context *sp) sp->quad.first = sp->quad.depth_test; } + if (sp->alpha_test.enabled) { + sp->quad.alpha_test->next = sp->quad.first; + sp->quad.first = sp->quad.alpha_test; + } + /* XXX always enable shader? */ if (1) { sp->quad.shade->next = sp->quad.first; |