mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
r600: emit SURFACE_BASE_UPDATE on depth base updates on rv6xx
This commit is contained in:
parent
ceb9459ed5
commit
7069a7548f
1 changed files with 8 additions and 0 deletions
|
|
@ -528,6 +528,14 @@ GLboolean r700SendDepthTargetState(context_t *context)
|
|||
R600_OUT_BATCH(r700->DB_DEPTH_INFO.u32All);
|
||||
END_BATCH();
|
||||
|
||||
if ((context->radeon.radeonScreen->chip_family > CHIP_FAMILY_R600) &&
|
||||
(context->radeon.radeonScreen->chip_family < CHIP_FAMILY_RV770)) {
|
||||
BEGIN_BATCH_NO_AUTOSTATE(2);
|
||||
R600_OUT_BATCH(CP_PACKET3(R600_IT_SURFACE_BASE_UPDATE, 0));
|
||||
R600_OUT_BATCH(1 << 0);
|
||||
END_BATCH();
|
||||
}
|
||||
|
||||
COMMIT_BATCH();
|
||||
|
||||
r700SyncSurf(context, rrb->bo, 0, RADEON_GEM_DOMAIN_VRAM,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue