summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_rast.c
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-10-08 19:58:28 +0100
committerKeith Whitwell <keithw@vmware.com>2009-10-08 19:58:54 +0100
commit0718c7700533a965d7cd06b4f67b82bbae6e66a1 (patch)
treed8488e4608b36eb65e170e0e83e8a46c39281381 /src/gallium/drivers/llvmpipe/lp_rast.c
parent21489d2275ff556f6e44008d3f5493ca64619696 (diff)
llvmpipe: work on clears and coefficients
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_rast.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_rast.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast.c b/src/gallium/drivers/llvmpipe/lp_rast.c
index 110caafffb..695ddc089a 100644
--- a/src/gallium/drivers/llvmpipe/lp_rast.c
+++ b/src/gallium/drivers/llvmpipe/lp_rast.c
@@ -48,14 +48,17 @@ struct lp_rasterizer *lp_rast_create( void )
return rast;
}
-void lp_rast_bind_surfaces( struct lp_rasterizer *rast,
- struct pipe_surface *cbuf,
- struct pipe_surface *zsbuf,
- const float *clear_color,
- double clear_depth,
- unsigned clear_stencil)
+void lp_rast_bind_color( struct lp_rasterizer *rast,
+ struct pipe_surface *cbuf,
+ boolean write_color )
{
pipe_surface_reference(&rast->state.cbuf, cbuf);
+}
+
+void lp_rast_bind_zstencil( struct lp_rasterizer *rast,
+ struct pipe_surface *zsbuf,
+ boolean write_zstencil )
+{
pipe_surface_reference(&rast->state.zsbuf, zsbuf);
}