diff options
author | Dave Airlie <airlied@redhat.com> | 2009-08-07 14:07:32 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-08-07 14:07:32 +1000 |
commit | 9243791322e36b9231e6a3f04024ad66325385e3 (patch) | |
tree | 35afbc53432ab311a7ecf7cd1614ce1673dcb7a6 /src/radeon_commonfuncs.c | |
parent | bd03977e320591ca55b1a2fbb32414c53cb3f72e (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_commonfuncs.c')
-rw-r--r-- | src/radeon_commonfuncs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/radeon_commonfuncs.c b/src/radeon_commonfuncs.c index 6f501a60..b6a6d8d5 100644 --- a/src/radeon_commonfuncs.c +++ b/src/radeon_commonfuncs.c @@ -789,7 +789,9 @@ static void FUNC_NAME(RADEONInit3DEngine)(ScrnInfoPtr pScrn) R200_VAP_VF_MAX_VTX_NUM); FINISH_ACCEL(); - BEGIN_ACCEL(3); + BEGIN_ACCEL(5); + OUT_ACCEL_REG(R200_RE_AUX_SCISSOR_CNTL, 0); + OUT_ACCEL_REG(R200_RE_CNTL, 0); OUT_ACCEL_REG(RADEON_AUX_SC_CNTL, 0); OUT_ACCEL_REG(RADEON_RB3D_PLANEMASK, 0xffffffff); OUT_ACCEL_REG(RADEON_SE_CNTL, (RADEON_DIFFUSE_SHADE_GOURAUD | |