summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_rast_priv.h
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2010-01-10 17:22:09 +0000
committerKeith Whitwell <keithw@vmware.com>2010-01-10 17:22:09 +0000
commitc1a04416023e24621e4992caf593e8dfe8d7a2fc (patch)
tree954303fe263279379063ff418f87418f62c205ec /src/gallium/drivers/llvmpipe/lp_rast_priv.h
parentf4321fbd961a0a891c7f40b16efc61aa791e03a9 (diff)
llvmpipe: initial mrt support
Non-mrt apps work, and the code looks correct, but not many mrt test apps handy atm...
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_rast_priv.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_rast_priv.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast_priv.h b/src/gallium/drivers/llvmpipe/lp_rast_priv.h
index cd72d7e69d..5afdeab049 100644
--- a/src/gallium/drivers/llvmpipe/lp_rast_priv.h
+++ b/src/gallium/drivers/llvmpipe/lp_rast_priv.h
@@ -46,7 +46,7 @@ struct lp_rasterizer;
*/
struct lp_rast_tile
{
- uint8_t *color;
+ uint8_t *color[PIPE_MAX_COLOR_BUFS];
uint32_t *depth;
};
@@ -87,9 +87,9 @@ struct lp_rasterizer
/* Framebuffer stuff
*/
struct pipe_screen *screen;
- struct pipe_transfer *cbuf_transfer;
+ struct pipe_transfer *cbuf_transfer[PIPE_MAX_COLOR_BUFS];
struct pipe_transfer *zsbuf_transfer;
- void *cbuf_map;
+ void *cbuf_map[PIPE_MAX_COLOR_BUFS];
void *zsbuf_map;
struct {