diff options
| author | 2021-02-12 22:22:18 -0800 | |
|---|---|---|
| committer | 2021-02-12 22:22:18 -0800 | |
| commit | d3c7a7e7cf4bcabb171c98fe55e6e0291f8ee980 (patch) | |
| tree | 5c900d10847e1768a4951c1e6bec35f2618b5991 /src/video_core/command_classes | |
| parent | Merge pull request #5877 from ameerj/res-limit-usage (diff) | |
| parent | config: Make high GPU accuracy the default (diff) | |
| download | yuzu-d3c7a7e7cf4bcabb171c98fe55e6e0291f8ee980.tar.gz yuzu-d3c7a7e7cf4bcabb171c98fe55e6e0291f8ee980.tar.xz yuzu-d3c7a7e7cf4bcabb171c98fe55e6e0291f8ee980.zip | |
Merge pull request #5741 from ReinUsesLisp/new-bufcache
video_core: Reimplement the buffer cache
Diffstat (limited to 'src/video_core/command_classes')
| -rw-r--r-- | src/video_core/command_classes/vic.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/video_core/command_classes/vic.cpp b/src/video_core/command_classes/vic.cpp index 55e632346..2b7569335 100644 --- a/src/video_core/command_classes/vic.cpp +++ b/src/video_core/command_classes/vic.cpp | |||
| @@ -110,12 +110,10 @@ void Vic::Execute() { | |||
| 110 | converted_frame_buffer.get(), block_height, 0, 0); | 110 | converted_frame_buffer.get(), block_height, 0, 0); |
| 111 | 111 | ||
| 112 | gpu.MemoryManager().WriteBlock(output_surface_luma_address, swizzled_data.data(), size); | 112 | gpu.MemoryManager().WriteBlock(output_surface_luma_address, swizzled_data.data(), size); |
| 113 | gpu.Maxwell3D().OnMemoryWrite(); | ||
| 114 | } else { | 113 | } else { |
| 115 | // send pitch linear frame | 114 | // send pitch linear frame |
| 116 | gpu.MemoryManager().WriteBlock(output_surface_luma_address, converted_frame_buf_addr, | 115 | gpu.MemoryManager().WriteBlock(output_surface_luma_address, converted_frame_buf_addr, |
| 117 | linear_size); | 116 | linear_size); |
| 118 | gpu.Maxwell3D().OnMemoryWrite(); | ||
| 119 | } | 117 | } |
| 120 | break; | 118 | break; |
| 121 | } | 119 | } |
| @@ -163,7 +161,6 @@ void Vic::Execute() { | |||
| 163 | } | 161 | } |
| 164 | gpu.MemoryManager().WriteBlock(output_surface_chroma_u_address, chroma_buffer.data(), | 162 | gpu.MemoryManager().WriteBlock(output_surface_chroma_u_address, chroma_buffer.data(), |
| 165 | chroma_buffer.size()); | 163 | chroma_buffer.size()); |
| 166 | gpu.Maxwell3D().OnMemoryWrite(); | ||
| 167 | break; | 164 | break; |
| 168 | } | 165 | } |
| 169 | default: | 166 | default: |