summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@vmware.com>2010-06-07 20:47:54 +0200
committerRoland Scheidegger <sroland@vmware.com>2010-06-07 20:49:16 +0200
commita3dffd76d3408c6da089f467f5cc53b770dbcc86 (patch)
treee76e1343701b7ea1f0ddfcd8cc20008bd1711ee3 /src/gallium
parentf92879576e9b899bb6ac84f1009322c1c7e5ed51 (diff)
downloadexternal_mesa3d-a3dffd76d3408c6da089f467f5cc53b770dbcc86.zip
external_mesa3d-a3dffd76d3408c6da089f467f5cc53b770dbcc86.tar.gz
external_mesa3d-a3dffd76d3408c6da089f467f5cc53b770dbcc86.tar.bz2
softpipe: use util_clear_render_target/depth_stencil fallbacks
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/softpipe/sp_surface.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_surface.c b/src/gallium/drivers/softpipe/sp_surface.c
index 99433f7..55b27e6 100644
--- a/src/gallium/drivers/softpipe/sp_surface.c
+++ b/src/gallium/drivers/softpipe/sp_surface.c
@@ -33,4 +33,6 @@ void
sp_init_surface_functions(struct softpipe_context *sp)
{
sp->pipe.resource_copy_region = util_resource_copy_region;
+ sp->pipe.clear_render_target = util_clear_render_target;
+ sp->pipe.clear_depth_stencil = util_clear_depth_stencil;
}