summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/softpipe/sp_quad.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-07-13 10:33:48 -0600
committerBrian <[email protected]>2007-07-13 10:33:48 -0600
commit46bba80a54afbcabc0f064433cc2194473661c30 (patch)
tree3171f28650d274d28b2605797a505cff6e351922 /src/mesa/pipe/softpipe/sp_quad.c
parent5796056e289c5a698a1883586c7acde36f86618f (diff)
Implement AA points and AA coverage application in quad pipeline.
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_quad.c')
-rw-r--r--src/mesa/pipe/softpipe/sp_quad.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/pipe/softpipe/sp_quad.c b/src/mesa/pipe/softpipe/sp_quad.c
index c27f14f32ec..0053b16e683 100644
--- a/src/mesa/pipe/softpipe/sp_quad.c
+++ b/src/mesa/pipe/softpipe/sp_quad.c
@@ -36,6 +36,13 @@ sp_build_quad_pipeline(struct softpipe_context *sp)
sp->quad.first = sp->quad.occlusion;
}
+ if (sp->setup.poly_smooth ||
+ sp->setup.line_smooth ||
+ sp->setup.point_smooth) {
+ sp->quad.coverage->next = sp->quad.first;
+ sp->quad.first = sp->quad.coverage;
+ }
+
if ( sp->stencil.front_enabled
|| sp->stencil.front_enabled) {
sp->quad.stencil_test->next = sp->quad.first;