upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/cpp_unwind_test.cpp
diff options
context:
space:
mode:
authorGabriele <gabrieledilauro99@gmail.com>2026-11-25 05:40:47 +0100
committerImLele69 <gabrieledilauro99@gmail.com>2026-11-25 08:57:49 +0100
commit798077b7cbf71bc2869301c394f3d467d1360e52 (patch)
treea70bb0b7c7d11bdbcf9a2db9adc6080069e8cce2 /runtime/test/cpp_unwind_test.cpp
parent3f81d46ac01021bd7517f0cce153f4283bc8dd17 (diff)
d3d12_vulkan: leave the BAR window to host-visible VRAM allocations and stop retrying it when full
Without Resizable BAR the DEVICE_LOCAL | HOST_VISIBLE type sits in a heap of about 256 MiB. memory_type_order put it second for every texture and default-heap buffer that prefers VRAM, so once VRAM filled up each such allocation failed there too, and the NVIDIA driver's VK_ERROR_OUT_OF_HOST_MEMORY answer was retried six times with sleeps under memory_mutex before falling back to system memory. Only allocations that ask for both DEVICE_LOCAL and HOST_VISIBLE now try the window in its place; the others try it last, and an out-of-host-memory answer from the window is believed the first time. Failures past the first 16 are counted at powers of two.
Diffstat (limited to 'runtime/test/cpp_unwind_test.cpp')
0 files changed, 0 insertions, 0 deletions