diff options
| author | Subv <subv2112@gmail.com> | 2018-06-10 17:02:33 -0500 |
|---|---|---|
| committer | Subv <subv2112@gmail.com> | 2018-06-12 11:27:36 -0500 |
| commit | 987a17066514dbab8e02acae20d4ea32c4f502eb (patch) | |
| tree | 81b613108c9a3147bac98de15336dae217fa1be1 /src/video_core/engines/fermi_2d.cpp | |
| parent | 281fd881a00ec7e17ee2e2e0711f30bf69efa965 (diff) | |
GPU: Partially implemented the Maxwell DMA engine.
Only tiled->linear and linear->tiled copies that aren't offsetted are supported for now. Queries are not supported. Swizzled copies are not supported.
Diffstat (limited to 'src/video_core/engines/fermi_2d.cpp')
| -rw-r--r-- | src/video_core/engines/fermi_2d.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/engines/fermi_2d.cpp b/src/video_core/engines/fermi_2d.cpp index 6b9382f06..998b7c843 100644 --- a/src/video_core/engines/fermi_2d.cpp +++ b/src/video_core/engines/fermi_2d.cpp @@ -47,6 +47,7 @@ void Fermi2D::HandleSurfaceCopy() { if (regs.src.linear == regs.dst.linear) { // If the input layout and the output layout are the same, just perform a raw copy. + ASSERT(regs.src.BlockHeight() == regs.dst.BlockHeight()); Memory::CopyBlock(dest_cpu, source_cpu, src_bytes_per_pixel * regs.dst.width * regs.dst.height); return; |
