summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Mandin <pmandin@caramail.com>2008-08-14 16:36:52 +0200
committerPatrice Mandin <pmandin@caramail.com>2008-08-14 16:36:52 +0200
commita7ea6bae4e618e28636909ac2db7783632bc81b8 (patch)
tree6a84c8fec32004b16f1ce2d40613c0bf14916144
parentdbec107c2549c00120ca6d67282f2a1a4bd8bdbd (diff)
nv30: does not support mirror clamp, only mirror repeat
-rw-r--r--src/gallium/drivers/nv30/nv30_screen.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv30/nv30_screen.c b/src/gallium/drivers/nv30/nv30_screen.c
index 0ffcd77235..d5514c2aba 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;