diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-07-12 14:13:48 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-07-12 14:13:48 -0600 |
commit | a48d767cf2ec82d0c0f893a22d22e8593901b206 (patch) | |
tree | 732104c0465295a05709e4caf786b722b393769e /src/mesa/pipe/softpipe/sp_context.c | |
parent | e8ceb5a2eb174f5444eaf5f52925fa161ea7d0a9 (diff) |
Add a quad 'bufloop' stage to handle glDrawBuffer(GL_FRONT_AND_BACK).
This removes the notion of multiple color buffers from all other stages.
Will need a bit more work when shaders with multiple render targets arrive.
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_context.c')
-rw-r--r-- | src/mesa/pipe/softpipe/sp_context.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/pipe/softpipe/sp_context.c b/src/mesa/pipe/softpipe/sp_context.c index 9511254a96..cc4b8d5914 100644 --- a/src/mesa/pipe/softpipe/sp_context.c +++ b/src/mesa/pipe/softpipe/sp_context.c @@ -88,6 +88,7 @@ struct pipe_context *softpipe_create( void ) softpipe->quad.alpha_test = sp_quad_alpha_test_stage(softpipe); softpipe->quad.depth_test = sp_quad_depth_test_stage(softpipe); softpipe->quad.stencil_test = sp_quad_stencil_test_stage(softpipe); + softpipe->quad.bufloop = sp_quad_bufloop_stage(softpipe); softpipe->quad.blend = sp_quad_blend_stage(softpipe); softpipe->quad.colormask = sp_quad_colormask_stage(softpipe); softpipe->quad.output = sp_quad_output_stage(softpipe); |