r300g: say no to PIPE_CAP_STREAM_OUTPUT and PIPE_CAP_PRIMITIVE_RESTART
authorMarek Olšák <maraeo@gmail.com>
Fri, 22 Oct 2010 18:33:25 +0000 (20:33 +0200)
committerMarek Olšák <maraeo@gmail.com>
Fri, 22 Oct 2010 18:34:28 +0000 (20:34 +0200)
src/gallium/drivers/r300/r300_screen.c

index 963fa8fcd086691e20dad8b52360c4a77e6fadbd..d445df408dd73b513973dbcd20823ba6f26515dd 100644 (file)
@@ -125,6 +125,8 @@ static int r300_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
         case PIPE_CAP_DEPTH_CLAMP: /* XXX implemented, but breaks Regnum Online */
         case PIPE_CAP_DEPTHSTENCIL_CLEAR_SEPARATE:
         case PIPE_CAP_SHADER_STENCIL_EXPORT:
+        case PIPE_CAP_STREAM_OUTPUT:
+        case PIPE_CAP_PRIMITIVE_RESTART:
             return 0;
 
         /* Texturing. */