nv30: does not support mirror clamp, only mirror repeat
authorPatrice Mandin <pmandin@caramail.com>
Thu, 14 Aug 2008 14:36:52 +0000 (16:36 +0200)
committerPatrice Mandin <pmandin@caramail.com>
Thu, 14 Aug 2008 14:36:52 +0000 (16:36 +0200)
src/gallium/drivers/nv30/nv30_screen.c

index 0ffcd772351036c6537e40a27e3b8cadc6de1bf1..d5514c2aba587352bddb60e0043b66b3989e643c 100644 (file)
@@ -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;