From: Rob Clark Date: Fri, 26 Sep 2014 14:35:52 +0000 (-0400) Subject: freedreno: don't advertise mirror-clamp support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5c72672cdcaadb2c35531a10e6fa739f0282fb13;p=mesa.git freedreno: don't advertise mirror-clamp support At least on a3xx, we cannot do it without some emulation in shader. Signed-off-by: Rob Clark --- diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c index 27f72d5ef1d..76fa7aa6deb 100644 --- a/src/gallium/drivers/freedreno/freedreno_screen.c +++ b/src/gallium/drivers/freedreno/freedreno_screen.c @@ -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;