diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-12-08 23:45:28 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-12-08 23:45:28 +0000 |
commit | 093bb9ebe69760975a3fcf2322db950312e6c2d7 (patch) | |
tree | 95816668c628b1e5cd869e406c51519bb4445615 | |
parent | 0cf04ea4d736f7d7848f33b772d88a0f1b6678b1 (diff) |
i965: Only use the affine kernels if both src and mask are affine
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/i965_render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i965_render.c b/src/i965_render.c index e79ac042..066901c0 100644 --- a/src/i965_render.c +++ b/src/i965_render.c @@ -1589,7 +1589,7 @@ i965_prepare_composite(int op, PicturePtr source_picture, intel->transform[1] = mask_picture->transform; intel->scale_units[1][0] = mask->drawable.width; intel->scale_units[1][1] = mask->drawable.height; - composite_op->is_affine |= + composite_op->is_affine &= i830_transform_is_affine(intel->transform[1]); } |