diff options
author | Roland Scheidegger <[email protected]> | 2010-05-29 01:25:09 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2010-05-29 01:25:09 +0200 |
commit | e5b82c8222ef29c162d51a7ca9f553d85a63be22 (patch) | |
tree | 79acc5d37ea28940498b67b362be5b41d93f8a3d /src/gallium/drivers/nv50/nv50_screen.c | |
parent | c5cccf8a49daa4a9c0ebd72a1783fe27b352471c (diff) |
nv50: adapt to clear interface changes
should support separate depth/stencil clears just fine.
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_screen.c')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_screen.c b/src/gallium/drivers/nv50/nv50_screen.c index 2c0caada366..21908bcd3c2 100644 --- a/src/gallium/drivers/nv50/nv50_screen.c +++ b/src/gallium/drivers/nv50/nv50_screen.c @@ -150,6 +150,8 @@ nv50_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) return 1; case PIPE_CAP_INDEP_BLEND_FUNC: return 0; + case PIPE_CAP_DEPTHSTENCIL_CLEAR_SEPARATE: + return 1; case PIPE_CAP_TGSI_FS_COORD_ORIGIN_UPPER_LEFT: case PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_HALF_INTEGER: return 1; |