From: Marek Olšák Date: Thu, 6 Oct 2011 16:29:02 +0000 (+0200) Subject: r300g: disable stream output on SWTCL chipsets X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5baa33a738fcecea8d8ff95e6972b85af2e99ee5;p=mesa.git r300g: disable stream output on SWTCL chipsets Unimplemented and not so useful for this driver. --- diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c index 6a64a792d59..19489bdab24 100644 --- a/src/gallium/drivers/r300/r300_screen.c +++ b/src/gallium/drivers/r300/r300_screen.c @@ -145,10 +145,10 @@ static int r300_get_param(struct pipe_screen* pscreen, enum pipe_cap param) case PIPE_CAP_SCALED_RESOLVE: case PIPE_CAP_MIN_TEXEL_OFFSET: case PIPE_CAP_MAX_TEXEL_OFFSET: + case PIPE_CAP_STREAM_OUTPUT: return 0; /* SWTCL-only features. */ - case PIPE_CAP_STREAM_OUTPUT: case PIPE_CAP_PRIMITIVE_RESTART: return !r300screen->caps.has_tcl;