upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/main.cpp
diff options
context:
space:
mode:
authorismailchaka1 <chakankar111@gmail.com>2026-11-22 20:04:14 +0000
committerismailchaka1 <chakankar111@gmail.com>2026-11-22 20:04:14 +0000
commit5418decf0837707aec80aa815ba8d236752c197f (patch)
tree5f2b7171db2e5c0d9c558d5479421873c49fa80d /runtime/src/main.cpp
parent162821017ea3c286c8bec860f3ff94f037912061 (diff)
Runtime: GPU address arena high-water mark (D3D-55)
The device tracks the arena's peak end offset, its peak live bytes overall and per use (buffers, shader-visible descriptor heaps, shader code and D3D12 heaps), and its allocations and refusals, and prints one line at release. LEONIDA_ARENA_LOG=1 also logs every VA handed out, every refused request, and upload/readback VAs outside the arena. This answers open question 5 (how large the arena must be) once the game runs. Rebased onto main now that #291 is in: arena_allocate/arena_release take the use, and every call site passes it, including the heap ranges #291 added since.
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions