nouveau: nv30: Define number of texture samplers
authorPatrice Mandin <patmandin@gmail.com>
Fri, 12 Feb 2010 12:23:48 +0000 (13:23 +0100)
committerPatrice Mandin <patmandin@gmail.com>
Fri, 12 Feb 2010 12:23:48 +0000 (13:23 +0100)
Signed-off-by: Patrice Mandin <patmandin@gmail.com>
src/gallium/drivers/nv30/nv30_screen.c

index 8f9b26ea56fef4ebca5338a345e593a249d1efc6..1caeccc05fb542b7b5b1a8b0740586b19ec29888 100644 (file)
@@ -64,6 +64,8 @@ nv30_screen_get_param(struct pipe_screen *pscreen, int param)
        case NOUVEAU_CAP_HW_VTXBUF:
        case NOUVEAU_CAP_HW_IDXBUF:
                return 1;
+       case PIPE_CAP_MAX_COMBINED_SAMPLERS:
+               return 4;
        case PIPE_CAP_INDEP_BLEND_ENABLE:
                return 0;
        case PIPE_CAP_INDEP_BLEND_FUNC: