Buffer Cache: Deduce vertex array limit from memory layout when limit is the highest possible.
This commit is contained in:
parent
8bb604b3be
commit
770e19f51a
3 changed files with 12 additions and 4 deletions
|
@ -110,6 +110,10 @@ public:
|
|||
|
||||
size_t MaxContinousRange(GPUVAddr gpu_addr, size_t size) const;
|
||||
|
||||
bool IsWithinGPUAddressRange(GPUVAddr gpu_addr) const {
|
||||
return gpu_addr < address_space_size;
|
||||
}
|
||||
|
||||
private:
|
||||
template <bool is_big_pages, typename FuncMapped, typename FuncReserved, typename FuncUnmapped>
|
||||
inline void MemoryOperation(GPUVAddr gpu_src_addr, std::size_t size, FuncMapped&& func_mapped,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue