freedreno: don't advertise mirror-clamp support
authorRob Clark <robclark@freedesktop.org>
Fri, 26 Sep 2014 14:35:52 +0000 (10:35 -0400)
committerRob Clark <robclark@freedesktop.org>
Sat, 27 Sep 2014 17:34:07 +0000 (13:34 -0400)
At least on a3xx, we cannot do it without some emulation in shader.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/freedreno_screen.c

index 27f72d5ef1de1f4e2930d5b5216fa5ac36a265f9..76fa7aa6deb156b3f9fc7ec7809b85aa5bf3cb98 100644 (file)
@@ -156,7 +156,6 @@ fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
        case PIPE_CAP_ANISOTROPIC_FILTER:
        case PIPE_CAP_POINT_SPRITE:
        case PIPE_CAP_TEXTURE_SHADOW_MAP:
-       case PIPE_CAP_TEXTURE_MIRROR_CLAMP:
        case PIPE_CAP_BLEND_EQUATION_SEPARATE:
        case PIPE_CAP_TEXTURE_SWIZZLE:
        case PIPE_CAP_VERTEX_ELEMENT_INSTANCE_DIVISOR:
@@ -183,6 +182,7 @@ fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
        case PIPE_CAP_CONDITIONAL_RENDER:
        case PIPE_CAP_TEXTURE_MULTISAMPLE:
        case PIPE_CAP_TEXTURE_BARRIER:
+       case PIPE_CAP_TEXTURE_MIRROR_CLAMP:
        case PIPE_CAP_SM3:
                return 0;