llvmpipe: use util_clear_render_target/depth_stencil fallbacks
authorRoland Scheidegger <sroland@vmware.com>
Mon, 7 Jun 2010 18:47:45 +0000 (20:47 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Mon, 7 Jun 2010 18:49:16 +0000 (20:49 +0200)
src/gallium/drivers/llvmpipe/lp_surface.c

index 4f409f9b638777ceab7a340a0b8d400aa85aae84..76b3fce1fa992336adf976fdb9b6eb187fd97d29 100644 (file)
@@ -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;
 }