nv40: Implement PIPE_CAP_MAX_COMBINED_SAMPLERS.
authorFrancisco Jerez <currojerez@riseup.net>
Tue, 16 Feb 2010 17:36:47 +0000 (18:36 +0100)
committerFrancisco Jerez <currojerez@riseup.net>
Tue, 16 Feb 2010 17:36:47 +0000 (18:36 +0100)
src/gallium/drivers/nv40/nv40_screen.c

index 001147e752f111fe375786929d5e9fe61697bb87..edee4b9a3aaa1d73a677a6ec69e6ab94f17b0922 100644 (file)
@@ -62,6 +62,8 @@ nv40_screen_get_param(struct pipe_screen *pscreen, int param)
        case PIPE_CAP_TGSI_FS_COORD_ORIGIN_UPPER_LEFT:
        case PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_INTEGER:
                return 0;
+       case PIPE_CAP_MAX_COMBINED_SAMPLERS:
+               return 16;
        default:
                NOUVEAU_ERR("Unknown PIPE_CAP %d\n", param);
                return 0;