forked from suyu/suyu
GPU_MemoryManger: Fix GetSubmappedRange.
This commit is contained in:
parent
151ab86204
commit
ef2066b272
1 changed files with 1 additions and 0 deletions
|
@ -463,6 +463,7 @@ std::vector<std::pair<GPUVAddr, std::size_t>> MemoryManager::GetSubmappedRange(
|
||||||
++page_index;
|
++page_index;
|
||||||
page_offset = 0;
|
page_offset = 0;
|
||||||
remaining_size -= num_bytes;
|
remaining_size -= num_bytes;
|
||||||
|
old_page_addr = page_addr;
|
||||||
}
|
}
|
||||||
split();
|
split();
|
||||||
return result;
|
return result;
|
||||||
|
|
Loading…
Reference in a new issue