shader: Address feedback
This commit is contained in:
parent
cb6fc03e55
commit
4d0d29fc20
5 changed files with 49 additions and 53 deletions
|
@ -64,7 +64,7 @@ void MemoryManager::Unmap(GPUVAddr gpu_addr, std::size_t size) {
|
|||
}
|
||||
const auto it = std::ranges::lower_bound(map_ranges, gpu_addr, {}, &MapRange::first);
|
||||
if (it != map_ranges.end()) {
|
||||
// ASSERT(it->first == gpu_addr);
|
||||
ASSERT(it->first == gpu_addr);
|
||||
map_ranges.erase(it);
|
||||
} else {
|
||||
UNREACHABLE_MSG("Unmapping non-existent GPU address=0x{:x}", gpu_addr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue