With a single GPU heap DXVK reports the whole heap as shared memory too, so games still saw ~8 GB as shared even with the cap on. Set dxgi.maxSharedMemory to the same value, like BattleNet already does.
Co-authored-by: Tapuuk <177422350+Tapuuk@users.noreply.github.com>
* fix(game-env): the VRAM cap also applies to D3D9 games
DXVK's D3D9 frontend ignores dxgi.maxDeviceMemory, so set d3d9.maxAvailableMemory to the same cap.
* fix(vram): leave DXVK's lower per-game D3D9 limits in place above the 4096 MiB default
Extend the VRAM setting to Vulkan memory-budget reports for DXVK and D3D12 while preserving real heap capacity and allocation results, removing the hard rejection that caused game crashes in FIT and Discord tests.