From: Patrice Mandin Date: Thu, 14 Aug 2008 14:36:52 +0000 (+0200) Subject: nv30: does not support mirror clamp, only mirror repeat X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a7ea6bae4e618e28636909ac2db7783632bc81b8;p=mesa.git nv30: does not support mirror clamp, only mirror repeat --- diff --git a/src/gallium/drivers/nv30/nv30_screen.c b/src/gallium/drivers/nv30/nv30_screen.c index 0ffcd772351..d5514c2aba5 100644 --- a/src/gallium/drivers/nv30/nv30_screen.c +++ b/src/gallium/drivers/nv30/nv30_screen.c @@ -55,6 +55,10 @@ nv30_screen_get_param(struct pipe_screen *pscreen, int param) return 10; case PIPE_CAP_MAX_TEXTURE_CUBE_LEVELS: return 13; + case PIPE_CAP_TEXTURE_MIRROR_CLAMP: + return 0; + case PIPE_CAP_TEXTURE_MIRROR_REPEAT: + return 1; case NOUVEAU_CAP_HW_VTXBUF: case NOUVEAU_CAP_HW_IDXBUF: return 1;