diff options
| author | 2021-03-26 20:51:05 +0100 | |
|---|---|---|
| committer | 2021-07-22 21:51:25 -0400 | |
| commit | dc1a9a3bed2aa9b0851f07976b0c687172aa3edc (patch) | |
| tree | 8bfc0b3afc76b1b9a6100dfe8fb60b013927932b /src/video_core | |
| parent | spirv: Add fixed pipeline point size (diff) | |
| download | yuzu-dc1a9a3bed2aa9b0851f07976b0c687172aa3edc.tar.gz yuzu-dc1a9a3bed2aa9b0851f07976b0c687172aa3edc.tar.xz yuzu-dc1a9a3bed2aa9b0851f07976b0c687172aa3edc.zip | |
shader: Implement TLD
Diffstat (limited to 'src/video_core')
| -rw-r--r-- | src/video_core/memory_manager.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/memory_manager.cpp b/src/video_core/memory_manager.cpp index d2b9d5f2b..05e27c687 100644 --- a/src/video_core/memory_manager.cpp +++ b/src/video_core/memory_manager.cpp | |||
| @@ -64,12 +64,11 @@ void MemoryManager::Unmap(GPUVAddr gpu_addr, std::size_t size) { | |||
| 64 | } | 64 | } |
| 65 | const auto it = std::ranges::lower_bound(map_ranges, gpu_addr, {}, &MapRange::first); | 65 | const auto it = std::ranges::lower_bound(map_ranges, gpu_addr, {}, &MapRange::first); |
| 66 | if (it != map_ranges.end()) { | 66 | if (it != map_ranges.end()) { |
| 67 | ASSERT(it->first == gpu_addr); | 67 | // ASSERT(it->first == gpu_addr); |
| 68 | map_ranges.erase(it); | 68 | map_ranges.erase(it); |
| 69 | } else { | 69 | } else { |
| 70 | UNREACHABLE_MSG("Unmapping non-existent GPU address=0x{:x}", gpu_addr); | 70 | UNREACHABLE_MSG("Unmapping non-existent GPU address=0x{:x}", gpu_addr); |
| 71 | } | 71 | } |
| 72 | |||
| 73 | const auto submapped_ranges = GetSubmappedRange(gpu_addr, size); | 72 | const auto submapped_ranges = GetSubmappedRange(gpu_addr, size); |
| 74 | 73 | ||
| 75 | for (const auto& map : submapped_ranges) { | 74 | for (const auto& map : submapped_ranges) { |