From: Marek Olšák Date: Sat, 17 Dec 2011 18:42:13 +0000 (+0100) Subject: r600g: fix MAX_STREAM_OUTPUT_SEPARATE_ATTRIBS limit X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=745d990b8d95b935874284b786dce1f010970c8d;p=mesa.git r600g: fix MAX_STREAM_OUTPUT_SEPARATE_ATTRIBS limit --- diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index 24379a75c8b..036f18f6fc0 100644 --- a/src/gallium/drivers/r600/r600_pipe.c +++ b/src/gallium/drivers/r600/r600_pipe.c @@ -402,9 +402,8 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param) /* Stream output. */ case PIPE_CAP_MAX_STREAM_OUTPUT_BUFFERS: - return debug_get_bool_option("R600_STREAMOUT", FALSE) ? 4 : 0; case PIPE_CAP_MAX_STREAM_OUTPUT_SEPARATE_ATTRIBS: - return 16; + return debug_get_bool_option("R600_STREAMOUT", FALSE) ? 4 : 0; case PIPE_CAP_MAX_STREAM_OUTPUT_SEPARATE_COMPONENTS: case PIPE_CAP_MAX_STREAM_OUTPUT_INTERLEAVED_COMPONENTS: return 16*4;