diff options
author | Roland Scheidegger <[email protected]> | 2010-05-29 01:26:22 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2010-05-29 01:26:22 +0200 |
commit | 10baf7ec1d31552a268c38422619abc131a37e2b (patch) | |
tree | 3b24bca12e8839499a40cdbf2d9942d9ae5a4517 /src/gallium/drivers/r300/r300_screen.c | |
parent | e5b82c8222ef29c162d51a7ca9f553d85a63be22 (diff) |
r300g: adapt to clear interface changes
should support separate depth/stencil clears just fine with changed u_blitter.
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_screen.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c index 4859db523a5..a5ad6d9c0ef 100644 --- a/src/gallium/drivers/r300/r300_screen.c +++ b/src/gallium/drivers/r300/r300_screen.c @@ -146,6 +146,9 @@ static int r300_get_param(struct pipe_screen* pscreen, enum pipe_cap param) case PIPE_CAP_MAX_CONST_BUFFER_SIZE: return 256; + case PIPE_CAP_DEPTHSTENCIL_CLEAR_SEPARATE: + return 1; + /* Fragment coordinate conventions. */ case PIPE_CAP_TGSI_FS_COORD_ORIGIN_UPPER_LEFT: case PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_HALF_INTEGER: |