xf86-video-ati: Branch 'master'

Michel Dänzer michel at daenzer.net
Tue Mar 15 07:26:10 PDT 2011


On Mon, 2011-03-14 at 17:30 -0700, Dave Airlie wrote: 
> 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;
>  }

The function name is radeon_transform_is_affine, but now it does more
than checking for affine transforms.


-- 
Earthling Michel Dänzer           |                http://www.vmware.com
Libre software enthusiast         |          Debian, X and DRI developer



More information about the xorg-driver-ati mailing list