r600g: optimise the draw emission packets for r600/eg
[mesa.git] / src / gallium / drivers / softpipe / sp_surface.c
index 99433f7d1d07cd25da675b412907120c30dc8882..55b27e60100af43028f13a83eeb41457bb677e6c 100644 (file)
@@ -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;
 }