From 6831297d79623d55c57cd7cd8ff90f08b8c68432 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 12 Sep 2006 03:33:35 +1000 Subject: 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) --- src/radeon_render.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/radeon_render.c b/src/radeon_render.c index 9e3529e3..c0a20f5a 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; -- cgit v1.2.3