diff options
| author | 2018-11-16 13:01:54 -0400 | |
|---|---|---|
| committer | 2018-11-26 09:05:12 -0400 | |
| commit | ddfbe0b58d856ae4a62683943cb35c2ae8f13b95 (patch) | |
| tree | 51210c339a0aabe9e86eb3b830262ffa53eb2b57 /src/video_core/engines | |
| parent | Merge pull request #1763 from ReinUsesLisp/bfi (diff) | |
| download | yuzu-ddfbe0b58d856ae4a62683943cb35c2ae8f13b95.tar.gz yuzu-ddfbe0b58d856ae4a62683943cb35c2ae8f13b95.tar.xz yuzu-ddfbe0b58d856ae4a62683943cb35c2ae8f13b95.zip | |
Implemented Tile Width Spacing
Diffstat (limited to 'src/video_core/engines')
| -rw-r--r-- | src/video_core/engines/fermi_2d.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/engines/fermi_2d.cpp b/src/video_core/engines/fermi_2d.cpp index 74e44c7fe..ee8ebf678 100644 --- a/src/video_core/engines/fermi_2d.cpp +++ b/src/video_core/engines/fermi_2d.cpp | |||
| @@ -68,13 +68,13 @@ void Fermi2D::HandleSurfaceCopy() { | |||
| 68 | Texture::CopySwizzledData(regs.src.width, regs.src.height, regs.src.depth, | 68 | Texture::CopySwizzledData(regs.src.width, regs.src.height, regs.src.depth, |
| 69 | src_bytes_per_pixel, dst_bytes_per_pixel, src_buffer, | 69 | src_bytes_per_pixel, dst_bytes_per_pixel, src_buffer, |
| 70 | dst_buffer, true, regs.src.BlockHeight(), | 70 | dst_buffer, true, regs.src.BlockHeight(), |
| 71 | regs.src.BlockDepth()); | 71 | regs.src.BlockDepth(), 0); |
| 72 | } else { | 72 | } else { |
| 73 | // If the input is linear and the output is tiled, swizzle the input and copy it over. | 73 | // If the input is linear and the output is tiled, swizzle the input and copy it over. |
| 74 | Texture::CopySwizzledData(regs.src.width, regs.src.height, regs.src.depth, | 74 | Texture::CopySwizzledData(regs.src.width, regs.src.height, regs.src.depth, |
| 75 | src_bytes_per_pixel, dst_bytes_per_pixel, dst_buffer, | 75 | src_bytes_per_pixel, dst_bytes_per_pixel, dst_buffer, |
| 76 | src_buffer, false, regs.dst.BlockHeight(), | 76 | src_buffer, false, regs.dst.BlockHeight(), |
| 77 | regs.dst.BlockDepth()); | 77 | regs.dst.BlockDepth(), 0); |
| 78 | } | 78 | } |
| 79 | } | 79 | } |
| 80 | } | 80 | } |