From f074762fff4253a457cb48519bb33a2e2c90f8b9 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Fri, 3 Dec 2010 01:25:41 -0500 Subject: radeon/exa: fallback for non-affine transforms We need to implement a texture lookup with perspective divide for non-affine transforms. For now just fallback. Should fix: https://bugs.freedesktop.org/show_bug.cgi?id=31799 although it appears either EXA or the xserver gets this wrong too. --- src/evergreen_exa.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/evergreen_exa.c') diff --git a/src/evergreen_exa.c b/src/evergreen_exa.c index 89afaff5..19d52d8f 100644 --- a/src/evergreen_exa.c +++ b/src/evergreen_exa.c @@ -863,6 +863,9 @@ static Bool EVERGREENCheckCompositeTexture(PicturePtr pPict, RADEON_FALLBACK(("REPEAT_NONE unsupported for transformed xRGB source\n")); } + if (!radeon_transform_is_affine(pPict->transform)) + RADEON_FALLBACK(("non-affine transforms not supported\n")); + return TRUE; } -- cgit v1.2.3