r600g: fix MAX_STREAM_OUTPUT_SEPARATE_ATTRIBS limit
authorMarek Olšák <maraeo@gmail.com>
Sat, 17 Dec 2011 18:42:13 +0000 (19:42 +0100)
committerMarek Olšák <maraeo@gmail.com>
Sat, 17 Dec 2011 18:42:13 +0000 (19:42 +0100)
src/gallium/drivers/r600/r600_pipe.c

index 24379a75c8b158dc381dc8b24149dabdb8f4db4c..036f18f6fc0ae18ce215540e314cda9a171bae5b 100644 (file)
@@ -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;