From: Francisco Jerez Date: Tue, 16 Feb 2010 17:36:47 +0000 (+0100) Subject: nv40: Implement PIPE_CAP_MAX_COMBINED_SAMPLERS. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8bd62dbd7caa59edb739c65df7e94973b896d98e;p=mesa.git nv40: Implement PIPE_CAP_MAX_COMBINED_SAMPLERS. --- diff --git a/src/gallium/drivers/nv40/nv40_screen.c b/src/gallium/drivers/nv40/nv40_screen.c index 001147e752f..edee4b9a3aa 100644 --- a/src/gallium/drivers/nv40/nv40_screen.c +++ b/src/gallium/drivers/nv40/nv40_screen.c @@ -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;