Hardware Memory Usage Query #2447
Labels
area: performance
How fast things go
help required
We need community help to make this happen.
type: enhancement
New feature or request
Is your feature request related to a problem? Please describe.
Users often need to know how much memory they can actually use to make good use of the data they have, without needing to do it on a reactionary basis.
Describe the solution you'd like
Add an api that dispatches to the following apis:
IDXGIAdapter3::QueryVideoMemoryInfo
VK_EXT_memory_budget
We can also, barring information about real memory usage, expose the "expected heap sizes" which are:
DXGI_ADAPTER_DESC2::DedicatedVideoMemory
`.I think we should just expose both if we can with a simple
Describe alternatives you've considered
Not providing this information. It works in a pinch, but in practice, this isn't great as applications that need to store datasets well above what memory supports needs some way to understand the current memory pressure.
Additional context
BVE-Reborn/rend3#348
The text was updated successfully, but these errors were encountered: