diff options
author | Alex Deucher <alex@samba.(none)> | 2008-03-24 19:03:30 -0400 |
---|---|---|
committer | Alex Deucher <alex@samba.(none)> | 2008-03-24 19:03:30 -0400 |
commit | 1789f11ab91633d3928f8b71988d51ff44bda9d1 (patch) | |
tree | a4261201523204323c40972aa39440a7bed08ccc /src/radeon_commonfuncs.c | |
parent | 305a3310963a5dd07b3495015b06aa8c7c4e6b02 (diff) |
R3xx/R5xx: flush PVS state before enabling pvs-bypass
Diffstat (limited to 'src/radeon_commonfuncs.c')
-rw-r--r-- | src/radeon_commonfuncs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/radeon_commonfuncs.c b/src/radeon_commonfuncs.c index a370e5b7..5c9eae1b 100644 --- a/src/radeon_commonfuncs.c +++ b/src/radeon_commonfuncs.c @@ -150,8 +150,9 @@ static void FUNC_NAME(RADEONInit3DEngine)(ScrnInfoPtr pScrn) FINISH_ACCEL(); /* setup the VAP */ - BEGIN_ACCEL(4); + BEGIN_ACCEL(5); /* disable TCL/PVS */ + OUT_ACCEL_REG(R300_VAP_PVS_STATE_FLUSH_REG, 0); OUT_ACCEL_REG(R300_VAP_CNTL_STATUS, R300_PVS_BYPASS); OUT_ACCEL_REG(R300_VAP_CNTL, ((10 << R300_PVS_NUM_SLOTS_SHIFT) | (5 << R300_PVS_NUM_CNTLRS_SHIFT) | |