From 4d350497012fa31a417ada662006e2d64db2a4b5 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 15 Mar 2011 10:32:19 +1000 Subject: radeon: exa shaders don't handle scaling either. rendercheck tsrccoords test fails. Signed-off-by: Dave Airlie --- src/radeon_exa.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/radeon_exa.c b/src/radeon_exa.c index 3dbdcae4..aa3d55e2 100644 --- a/src/radeon_exa.c +++ b/src/radeon_exa.c @@ -183,7 +183,8 @@ Bool radeon_transform_is_affine(PictTransformPtr t) { if (t == NULL) return TRUE; - return t->matrix[2][0] == 0 && t->matrix[2][1] == 0; + /* the shaders don't handle scaling either */ + return t->matrix[2][0] == 0 && t->matrix[2][1] == 0 && t->matrix[2][2] == 1; } #if X_BYTE_ORDER == X_BIG_ENDIAN -- cgit v1.2.3