Browse Source

r600c: fix VC flush on cedar and palm

tags/android-x86-2.2
Alex Deucher 14 years ago
parent
commit
cb7a36b651
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      src/mesa/drivers/dri/r600/evergreen_chip.c

+ 5
- 1
src/mesa/drivers/dri/r600/evergreen_chip.c View File

@@ -286,7 +286,11 @@ static void evergreenSetupVTXConstants(struct gl_context * ctx,
if (!paos->bo)
return;

r700SyncSurf(context, paos->bo, RADEON_GEM_DOMAIN_GTT, 0, VC_ACTION_ENA_bit);
if ((context->radeon.radeonScreen->chip_family == CHIP_FAMILY_CEDAR) ||
(context->radeon.radeonScreen->chip_family == CHIP_FAMILY_PALM))
r700SyncSurf(context, paos->bo, RADEON_GEM_DOMAIN_GTT, 0, TC_ACTION_ENA_bit);
else
r700SyncSurf(context, paos->bo, RADEON_GEM_DOMAIN_GTT, 0, VC_ACTION_ENA_bit);

//uSQ_VTX_CONSTANT_WORD0_0
uSQ_VTX_CONSTANT_WORD0_0 = paos->offset;

Loading…
Cancel
Save