summaryrefslogtreecommitdiff
path: root/src/radeon_exa_render.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-08-07 14:07:32 +1000
committerDave Airlie <airlied@redhat.com>2009-08-07 14:07:32 +1000
commit9243791322e36b9231e6a3f04024ad66325385e3 (patch)
tree35afbc53432ab311a7ecf7cd1614ce1673dcb7a6 /src/radeon_exa_render.c
parentbd03977e320591ca55b1a2fbb32414c53cb3f72e (diff)
r200: fixup scissors for DDX.
a) turn of R200_RE_CNTL - SCISSOR_ENABLE - this save us emitting R200_RE_TOP_LEFT, note scissor is still enabled. b) disable aux scissors.
Diffstat (limited to 'src/radeon_exa_render.c')
-rw-r--r--src/radeon_exa_render.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/radeon_exa_render.c b/src/radeon_exa_render.c
index 9cd70cda..c35ecba8 100644
--- a/src/radeon_exa_render.c
+++ b/src/radeon_exa_render.c
@@ -968,7 +968,7 @@ static Bool FUNC_NAME(R200PrepareComposite)(int op, PicturePtr pSrcPicture,
info->accel_state->is_transform[1] = FALSE;
}
- BEGIN_ACCEL_RELOC(13, 2);
+ BEGIN_ACCEL_RELOC(12, 2);
OUT_ACCEL_REG(RADEON_PP_CNTL, pp_cntl);
OUT_ACCEL_REG(RADEON_RB3D_CNTL, dst_format | RADEON_ALPHA_BLEND_ENABLE);
@@ -1031,7 +1031,6 @@ static Bool FUNC_NAME(R200PrepareComposite)(int op, PicturePtr pSrcPicture,
blendcntl = RADEONGetBlendCntl(op, pMaskPicture, pDstPicture->format);
OUT_ACCEL_REG(RADEON_RB3D_BLENDCNTL, blendcntl);
- OUT_ACCEL_REG(RADEON_RE_TOP_LEFT, 0);
OUT_ACCEL_REG(RADEON_RE_WIDTH_HEIGHT, (((pDst->drawable.width) << RADEON_RE_WIDTH_SHIFT) |
((pDst->drawable.height) << RADEON_RE_HEIGHT_SHIFT)));