diff options
author | Brian <[email protected]> | 2007-07-12 12:20:14 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-07-12 12:20:14 -0600 |
commit | 86352ff70d8c9a31fe0ebb4d02ce4bb4644fe54a (patch) | |
tree | 2dcf373eacfec2e125771e3a5b51116969fefe46 /src/mesa/pipe/softpipe/sp_quad.c | |
parent | bd5533bb7c90d8da06f6a1c38bdc84bb607c5b85 (diff) |
Added colormask, dither, multisample state. Implement colormasking stage.
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 aba5ab280e6..419a720de9a 100644 --- a/src/mesa/pipe/softpipe/sp_quad.c +++ b/src/mesa/pipe/softpipe/sp_quad.c @@ -11,6 +11,11 @@ sp_build_quad_pipeline(struct softpipe_context *sp) sp->quad.first = sp->quad.output; + if (sp->blend.colormask != 0xf) { + sp->quad.colormask->next = sp->quad.first; + sp->quad.first = sp->quad.colormask; + } + if (sp->blend.blend_enable) { sp->quad.blend->next = sp->quad.first; sp->quad.first = sp->quad.blend; |