summaryrefslogtreecommitdiff
path: root/src/evergreen_exa.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2010-12-03 01:25:41 -0500
committerAlex Deucher <alexdeucher@gmail.com>2010-12-03 01:36:17 -0500
commitf074762fff4253a457cb48519bb33a2e2c90f8b9 (patch)
tree3bb363983df4f3a132ee36191f333747590caa42 /src/evergreen_exa.c
parent774b114baa932078f8bf91ea302850a8c54c2c07 (diff)
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.
Diffstat (limited to 'src/evergreen_exa.c')
-rw-r--r--src/evergreen_exa.c3
1 files changed, 3 insertions, 0 deletions
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;
}