softpipe: enable primitive restart
authorBrian Paul <brianp@vmware.com>
Fri, 22 Oct 2010 01:03:38 +0000 (19:03 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 22 Oct 2010 01:03:38 +0000 (19:03 -0600)
src/gallium/drivers/softpipe/sp_screen.c

index 37557d11940aaa88b6400b0c9a95efb93d7a08a0..a2bfa1bd8d55ec66fa863a71d2061f11b7868f56 100644 (file)
@@ -112,6 +112,8 @@ softpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
       return 1;
    case PIPE_CAP_STREAM_OUTPUT:
       return 1;
+   case PIPE_CAP_PRIMITIVE_RESTART:
+      return 1;
    case PIPE_CAP_DEPTHSTENCIL_CLEAR_SEPARATE:
       return 0;
    case PIPE_CAP_SHADER_STENCIL_EXPORT: