diff options
author | Stephan Wolf <stephan@letzte-bankreihe.de> | 2008-04-28 11:26:37 -0400 |
---|---|---|
committer | Alex Deucher <alex@cube.(none)> | 2008-04-28 11:26:37 -0400 |
commit | 070cce5255a5c311f9d8b85ec54bd56655014933 (patch) | |
tree | e5b0162d0f4bba9be2143fc56446323ce26840b5 /src/radeon_commonfuncs.c | |
parent | 211e0041c7fc2df494b77428553943a2b526ee4e (diff) |
R3xx+: further fix for IGP chips
see bug 15538
Diffstat (limited to 'src/radeon_commonfuncs.c')
-rw-r--r-- | src/radeon_commonfuncs.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/radeon_commonfuncs.c b/src/radeon_commonfuncs.c index e504979a..9a450f94 100644 --- a/src/radeon_commonfuncs.c +++ b/src/radeon_commonfuncs.c @@ -146,9 +146,14 @@ static void FUNC_NAME(RADEONInit3DEngine)(ScrnInfoPtr pScrn) FINISH_ACCEL(); /* setup the VAP */ - vap_cntl = ((5 << R300_PVS_NUM_SLOTS_SHIFT) | - (5 << R300_PVS_NUM_CNTLRS_SHIFT) | - (9/*12*/ << R300_VF_MAX_VTX_NUM_SHIFT)); + if (info->has_tcl) + vap_cntl = ((5 << R300_PVS_NUM_SLOTS_SHIFT) | + (5 << R300_PVS_NUM_CNTLRS_SHIFT) | + (9 << R300_VF_MAX_VTX_NUM_SHIFT)); + else + vap_cntl = ((10 << R300_PVS_NUM_SLOTS_SHIFT) | + (5 << R300_PVS_NUM_CNTLRS_SHIFT) | + (5 << R300_VF_MAX_VTX_NUM_SHIFT)); if (info->ChipFamily == CHIP_FAMILY_RV515) vap_cntl |= (2 << R300_PVS_NUM_FPUS_SHIFT); |