summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2010-06-07 20:47:45 +0200
committerRoland Scheidegger <[email protected]>2010-06-07 20:49:16 +0200
commitf92879576e9b899bb6ac84f1009322c1c7e5ed51 (patch)
tree63a9d96399f866ca28a3008037ec27488c9d29b3 /src/gallium/drivers/llvmpipe
parenta2bf4817bb735298ec9282971167e62612942c0d (diff)
llvmpipe: use util_clear_render_target/depth_stencil fallbacks
Diffstat (limited to 'src/gallium/drivers/llvmpipe')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_surface.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_surface.c b/src/gallium/drivers/llvmpipe/lp_surface.c
index 4f409f9b638..76b3fce1fa9 100644
--- a/src/gallium/drivers/llvmpipe/lp_surface.c
+++ b/src/gallium/drivers/llvmpipe/lp_surface.c
@@ -153,4 +153,6 @@ void
llvmpipe_init_surface_functions(struct llvmpipe_context *lp)
{
lp->pipe.resource_copy_region = lp_resource_copy;
+ lp->pipe.clear_render_target = util_clear_render_target;
+ lp->pipe.clear_depth_stencil = util_clear_depth_stencil;
}