Mesa (master): llvmpipe: use util_clear_render_target/ depth_stencil fallbacks

Roland Scheidegger sroland at kemper.freedesktop.org
Mon Jun 7 11:49:48 PDT 2010


Module: Mesa
Branch: master
Commit: f92879576e9b899bb6ac84f1009322c1c7e5ed51
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f92879576e9b899bb6ac84f1009322c1c7e5ed51

Author: Roland Scheidegger <sroland at vmware.com>
Date:   Mon Jun  7 20:47:45 2010 +0200

llvmpipe: use util_clear_render_target/depth_stencil fallbacks

---

 src/gallium/drivers/llvmpipe/lp_surface.c |    2 ++
 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 4f409f9..76b3fce 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;
 }



More information about the mesa-commit mailing list