summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv50
diff options
context:
space:
mode:
authorBen Skeggs <skeggsb@localhost.localdomain>2008-08-07 11:38:56 +1000
committerBen Skeggs <skeggsb@localhost.localdomain>2008-08-07 11:38:56 +1000
commitce8e846ffea8e1a11b8ae4ba05a7386e7c34cc9f (patch)
treeefd1fb3820fc86aa2c5b075390d25d2ca5384f8e /src/gallium/drivers/nv50
parentfda01b584715c05696a0e6768fda669ef1eb5f3b (diff)
nv40/nv50: enable mirror wrap modes
Diffstat (limited to 'src/gallium/drivers/nv50')
-rw-r--r--src/gallium/drivers/nv50/nv50_screen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_screen.c b/src/gallium/drivers/nv50/nv50_screen.c
index 996b0b3e8f..ec43923929 100644
--- a/src/gallium/drivers/nv50/nv50_screen.c
+++ b/src/gallium/drivers/nv50/nv50_screen.c
@@ -114,6 +114,9 @@ nv50_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:
+ case PIPE_CAP_TEXTURE_MIRROR_REPEAT:
+ return 1;
case NOUVEAU_CAP_HW_VTXBUF:
return 1;
case NOUVEAU_CAP_HW_IDXBUF: