summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2011-03-15 10:32:19 +1000
committerDave Airlie <airlied@redhat.com>2011-03-15 10:32:19 +1000
commit4d350497012fa31a417ada662006e2d64db2a4b5 (patch)
tree751a34da356fc5b67b65ea9e33fb52d480a5962e
parent6319a33cb7bd8dba1eaf47bee1e2608cee5d7600 (diff)
radeon: exa shaders don't handle scaling either.
rendercheck tsrccoords test fails. Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--src/radeon_exa.c3
1 files changed, 2 insertions, 1 deletions
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