softpipe: adapt to clear interface changes
authorRoland Scheidegger <sroland@vmware.com>
Fri, 28 May 2010 23:21:15 +0000 (01:21 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Fri, 28 May 2010 23:21:15 +0000 (01:21 +0200)
src/gallium/drivers/softpipe/sp_screen.c
src/gallium/drivers/softpipe/sp_surface.c

index 73987c913e5d4367a0170d8622afa694afce795b..4e664683017ed2f2d765fd68d5aa2005b4a79e1f 100644 (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;
    }
index 0296c26ad261651ae4b8ebf77ce3b9f6b34bafa1..99433f7d1d07cd25da675b412907120c30dc8882 100644 (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;
 }