summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@starflyer-ubuntu.(none)>2006-09-12 03:33:35 +1000
committerDave Airlie <airlied@linux.ie>2006-10-04 01:00:42 +1000
commit6831297d79623d55c57cd7cd8ff90f08b8c68432 (patch)
treebfaf630351d98c4f91f5ed8f9fa4bb754ec1be38
parentddaacf78455290ffc31b41cd809b03ffbeadd69b (diff)
radeon: fallback render repeat for XAA, this fixes corruptions seen on ubuntu
This isn't the correct fix, we should just fix the repeat case, but for a stable release this is much better idea (cherry picked from 84e574986f61c4f250d6ecb938bab20847618906 commit)
-rw-r--r--src/radeon_render.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/radeon_render.c b/src/radeon_render.c
index 9e3529e..c0a20f5 100644
--- a/src/radeon_render.c
+++ b/src/radeon_render.c
@@ -392,6 +392,10 @@ static Bool FUNC_NAME(R100SetupTexture)(
#endif
ACCEL_PREAMBLE();
+ /* render repeat is broken - fix in stable tree by falling back */
+ if (flags & XAA_RENDER_REPEAT)
+ return FALSE;
+
if ((width > 2048) || (height > 2048))
return FALSE;
@@ -725,6 +729,10 @@ static Bool FUNC_NAME(R200SetupTexture)(
#endif
ACCEL_PREAMBLE();
+ /* render repeat is broken - fix in stable tree by falling back */
+ if (flags & XAA_RENDER_REPEAT)
+ return FALSE;
+
if ((width > 2048) || (height > 2048))
return FALSE;