svga: implement PIPE_CAP_MAX_COMBINED_SAMPLERS query
authorBrian Paul <brianp@vmware.com>
Thu, 11 Feb 2010 18:33:17 +0000 (11:33 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 11 Feb 2010 18:34:54 +0000 (11:34 -0700)
src/gallium/drivers/svga/svga_screen.c

index 8143be502441896e8909e38ee7bd09f249c7fcae..735cdfdae993d850a05f8fd1ce0d87e842f2666a 100644 (file)
@@ -111,6 +111,8 @@ svga_get_paramf(struct pipe_screen *screen, int param)
 
    case PIPE_CAP_MAX_TEXTURE_IMAGE_UNITS:
       return 16;
+   case PIPE_CAP_MAX_COMBINED_SAMPLERS:
+      return 16;
    case PIPE_CAP_NPOT_TEXTURES:
       return 1;
    case PIPE_CAP_TWO_SIDED_STENCIL: