From 02cd4d75df32858ffb43ddb68a8aa79b342931ea Mon Sep 17 00:00:00 2001 From: Thomas Jaeger Date: Fri, 23 Jan 2009 20:03:27 -0500 Subject: [PATCH] Fall back to software for unsupported repeat modes --- src/radeon_exa_render.c | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/src/radeon_exa_render.c b/src/radeon_exa_render.c index e33afef..38a9ea7 100644 --- a/src/radeon_exa_render.c +++ b/src/radeon_exa_render.c @@ -344,6 +344,11 @@ static Bool R100CheckCompositeTexture(PicturePtr pPict, int unit) RADEON_FALLBACK(("Unsupported filter 0x%x\n", pPict->filter)); } + if (pPict->repeat && pPict->repeatType != RepeatNormal) + { + RADEON_FALLBACK(("Unsupported repeat type %d\n", pPict->repeat)); + } + return TRUE; } @@ -666,6 +671,11 @@ static Bool R200CheckCompositeTexture(PicturePtr pPict, int unit) pPict->filter != PictFilterBilinear) RADEON_FALLBACK(("Unsupported filter 0x%x\n", pPict->filter)); + if (pPict->repeat && pPict->repeatType != RepeatNormal) + { + RADEON_FALLBACK(("Unsupported repeat type %d\n", pPict->repeat)); + } + return TRUE; } @@ -1002,6 +1012,11 @@ static Bool R300CheckCompositeTexture(PicturePtr pPict, RADEON_FALLBACK(("REPEAT_NONE unsupported for transformed xRGB source\n")); } + if (pPict->repeat && pPict->repeatType != RepeatNormal) + { + RADEON_FALLBACK(("Unsupported repeat type %d\n", pPict->repeat)); + } + return TRUE; } -- 1.6.0.6