[D3D12] Swap columns 0:39 and 40:79 of depth buffers in EDRAM

This commit is contained in:
Triang3l
2018-09-19 11:40:28 +03:00
parent 377b2da2d5
commit fdd536f572
48 changed files with 1422 additions and 1131 deletions

View File

@@ -470,8 +470,10 @@ class RenderTargetCache {
};
};
};
// Base in the lower 11 bits, pitch above.
uint32_t base_pitch_tiles;
// 0:10 - EDRAM base in tiles.
// 11 - whether it's a depth render target.
// 12: - EDRAM pitch in tiles.
uint32_t base_depth_pitch;
};
// EDRAM pipelines.
static const EDRAMLoadStoreModeInfo