softpipe: enable instanced drawing cap
authorBrian Paul <brianp@vmware.com>
Thu, 9 Dec 2010 02:02:43 +0000 (19:02 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 9 Dec 2010 02:04:16 +0000 (19:04 -0700)
src/gallium/drivers/softpipe/sp_screen.c

index 5f171d314a3c5b7ea89e267df9a64f730f37d192..9b54babdfb776b2e92b9f6451229d624c3d5a6e5 100644 (file)
@@ -123,6 +123,8 @@ softpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
       return 0;
    case PIPE_CAP_SHADER_STENCIL_EXPORT:
       return 1;
+   case PIPE_CAP_INSTANCED_DRAWING:
+      return 1;
    default:
       return 0;
    }