r300g: disable stream output on SWTCL chipsets
authorMarek Olšák <maraeo@gmail.com>
Thu, 6 Oct 2011 16:29:02 +0000 (18:29 +0200)
committerMarek Olšák <maraeo@gmail.com>
Fri, 7 Oct 2011 22:49:34 +0000 (00:49 +0200)
Unimplemented and not so useful for this driver.

src/gallium/drivers/r300/r300_screen.c

index 6a64a792d591a56574349c95003f80fd329760ba..19489bdab24f779a53463af513e7050b393c7f07 100644 (file)
@@ -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;