softpipe: adapt to clear interface changes

This commit is contained in:
Roland Scheidegger 2010-05-29 01:21:15 +02:00
parent 9d596ea492
commit 72c77d472b
2 changed files with 2 additions and 1 deletions

View file

@ -143,6 +143,8 @@ softpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
case PIPE_CAP_MAX_FS_PREDS:
return TGSI_EXEC_NUM_PREDS;
case PIPE_CAP_DEPTHSTENCIL_CLEAR_SEPARATE:
return 0;
default:
return 0;
}

View file

@ -33,5 +33,4 @@ void
sp_init_surface_functions(struct softpipe_context *sp)
{
sp->pipe.resource_copy_region = util_resource_copy_region;
sp->pipe.resource_fill_region = util_resource_fill_region;
}