Implement a simple mechanism to control the GPU mem resident.
If the VRAM is not enough:
- evict some resources to the sys mem (NUMA)
- allow to swap out the used sys mem pages (UMA)
References:
IDXGIAdapter3::QueryVideoMemoryInfo
ID3D12Device::Evict
ID3D12Device::MakeResident
ID3D12Device1::SetResidencyPriority
Implement a simple mechanism to control the GPU mem resident.
If the VRAM is not enough:
References:
IDXGIAdapter3::QueryVideoMemoryInfo
ID3D12Device::Evict
ID3D12Device::MakeResident
ID3D12Device1::SetResidencyPriority