diff options
author | Brian <brian.paul@tungstengraphics.com> | 2008-04-07 21:59:12 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2008-04-07 21:59:12 -0600 |
commit | c7daa68ca312cc98abe351be2fef8d8246929627 (patch) | |
tree | afb31b40a34da809654bd7cef860d9f486fc1c9f /src/gallium/drivers/softpipe/sp_quad_bufloop.c | |
parent | 4e2127b0e5cb6411123e16dd562626cd70814a9a (diff) |
gallium: begin reworking quad stages for multiple color outputs
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_quad_bufloop.c')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_quad_bufloop.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_quad_bufloop.c b/src/gallium/drivers/softpipe/sp_quad_bufloop.c index 2ae4e22a7d..b3db428ef1 100644 --- a/src/gallium/drivers/softpipe/sp_quad_bufloop.c +++ b/src/gallium/drivers/softpipe/sp_quad_bufloop.c @@ -13,7 +13,7 @@ static void cbuf_loop_quad(struct quad_stage *qs, struct quad_header *quad) { struct softpipe_context *softpipe = qs->softpipe; - float tmp[4][QUAD_SIZE]; + float tmp[PIPE_MAX_COLOR_BUFS][4][QUAD_SIZE]; unsigned i; assert(sizeof(quad->outputs.color) == sizeof(tmp)); @@ -30,7 +30,9 @@ cbuf_loop_quad(struct quad_stage *qs, struct quad_header *quad) for (i = 0; i < softpipe->framebuffer.num_cbufs; i++) { /* set current cbuffer */ +#if 0 /* obsolete & going away */ softpipe->current_cbuf = i; +#endif /* pass blended quad to next stage */ qs->next->run(qs->next, quad); |