summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_surface.c
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2010-06-07 20:47:54 +0200
committerRoland Scheidegger <[email protected]>2010-06-07 20:49:16 +0200
commita3dffd76d3408c6da089f467f5cc53b770dbcc86 (patch)
treee76e1343701b7ea1f0ddfcd8cc20008bd1711ee3 /src/gallium/drivers/softpipe/sp_surface.c
parentf92879576e9b899bb6ac84f1009322c1c7e5ed51 (diff)
softpipe: use util_clear_render_target/depth_stencil fallbacks
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_surface.c')
-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 99433f7d1d0..55b27e60100 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;
}