xf86-video-ati: Branch 'master'

Dave Airlie airlied at kemper.freedesktop.org
Mon Mar 14 17:30:57 PDT 2011


 src/radeon_exa.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 4d350497012fa31a417ada662006e2d64db2a4b5
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Mar 15 10:32:19 2011 +1000

    radeon: exa shaders don't handle scaling either.
    
    rendercheck tsrccoords test fails.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>

diff --git a/src/radeon_exa.c b/src/radeon_exa.c
index 3dbdcae..aa3d55e 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


More information about the xorg-commit mailing list