From: Patrice Mandin Date: Fri, 12 Feb 2010 18:22:41 +0000 (+0100) Subject: nouveau: nv30: it may have 8 texture samplers (not 4), but shader engine has 16 textu... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=536ae20f80e430a2765e19649eec5bdc9cdc4854;p=mesa.git nouveau: nv30: it may have 8 texture samplers (not 4), but shader engine has 16 texture units Signed-off-by: Patrice Mandin --- diff --git a/src/gallium/drivers/nv30/nv30_screen.c b/src/gallium/drivers/nv30/nv30_screen.c index 1caeccc05fb..aef37d303d8 100644 --- a/src/gallium/drivers/nv30/nv30_screen.c +++ b/src/gallium/drivers/nv30/nv30_screen.c @@ -28,7 +28,7 @@ nv30_screen_get_param(struct pipe_screen *pscreen, int param) { switch (param) { case PIPE_CAP_MAX_TEXTURE_IMAGE_UNITS: - return 16; + return 8; case PIPE_CAP_NPOT_TEXTURES: return 0; case PIPE_CAP_TWO_SIDED_STENCIL: @@ -65,7 +65,7 @@ nv30_screen_get_param(struct pipe_screen *pscreen, int param) case NOUVEAU_CAP_HW_IDXBUF: return 1; case PIPE_CAP_MAX_COMBINED_SAMPLERS: - return 4; + return 16; case PIPE_CAP_INDEP_BLEND_ENABLE: return 0; case PIPE_CAP_INDEP_BLEND_FUNC: