summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_screen.c
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2010-05-29 01:22:23 +0200
committerRoland Scheidegger <[email protected]>2010-05-29 01:22:23 +0200
commitd1998962efe9069c6cafe6c59f62f0590586d4a6 (patch)
treea8486a4cb34b60131f248527af2f11bcdb19fc46 /src/gallium/drivers/svga/svga_screen.c
parent72c77d472b21276c56778bb24a786737f17bb936 (diff)
svga: adapt to clear interface changes
this should support separate stencil/depth clears just fine.
Diffstat (limited to 'src/gallium/drivers/svga/svga_screen.c')
-rw-r--r--src/gallium/drivers/svga/svga_screen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/svga_screen.c b/src/gallium/drivers/svga/svga_screen.c
index 99b419178b0..099d8f91df3 100644
--- a/src/gallium/drivers/svga/svga_screen.c
+++ b/src/gallium/drivers/svga/svga_screen.c
@@ -230,6 +230,9 @@ svga_get_paramf(struct pipe_screen *screen, enum pipe_cap param)
case PIPE_CAP_MAX_VS_PREDS:
return svgascreen->use_vs30 ? 1 : 0;
+ case PIPE_CAP_DEPTHSTENCIL_CLEAR_SEPARATE:
+ return 1;
+
default:
return 0;
}