From: Marek Olšák Date: Sat, 17 Dec 2011 14:12:59 +0000 (+0100) Subject: r300g: handle new caps X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f47da7f580419e1e937cded0792b7ebf3ea8a22b;p=mesa.git r300g: handle new caps --- diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c index f3030b2c6c9..d1b80318902 100644 --- a/src/gallium/drivers/r300/r300_screen.c +++ b/src/gallium/drivers/r300/r300_screen.c @@ -132,6 +132,10 @@ static int r300_get_param(struct pipe_screen* pscreen, enum pipe_cap param) case PIPE_CAP_MIN_TEXEL_OFFSET: case PIPE_CAP_MAX_TEXEL_OFFSET: case PIPE_CAP_MAX_STREAM_OUTPUT_BUFFERS: + case PIPE_CAP_MAX_STREAM_OUTPUT_SEPARATE_ATTRIBS: + case PIPE_CAP_MAX_STREAM_OUTPUT_SEPARATE_COMPONENTS: + case PIPE_CAP_MAX_STREAM_OUTPUT_INTERLEAVED_COMPONENTS: + case PIPE_CAP_STREAM_OUTPUT_PAUSE_RESUME: return 0; /* SWTCL-only features. */