diff options
| author | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-28 02:05:03 -0500 |
|---|---|---|
| committer | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-28 02:05:03 -0500 |
| commit | 586970b5ba2a30c7fbd218452d4446013ad809c2 (patch) | |
| tree | 63a0c1a518e64daec3d30244cb02cb1c0e6f501e /runtime/test/submit_frame_test.cpp | |
| parent | cd8b5632b8336e9ba35fd38e7149f5eb3544e277 (diff) | |
runtime: dynamic rendering scope batching, no-op LayoutTracker elision, and cached ConsoleHeapGpu procs
Cuts replay CPU and Direct GPU render-pass overhead:
- vulkan_replay.h: merges consecutive draws with matching (colors, depth + depth_aspects, area, layers) into one vkCmdBeginRendering..vkCmdEndRendering scope with coalesced same-layout attachment barriers, closing cleanly on non-draw/glc/indirect_clamp/quad/query/stats/gpu_profile/marker boundaries; elides no-op LayoutTracker::set() journaling; adds per-pass 32-entry PrepareViewCache and lightweight Prepared::reset().
- console_heap_gpu.h: caches all 20 PFN_vk* device proc pointers once in VkFns.
- replay_state_cache_test.cpp: adds scope batching, boundary split, LayoutTracker no-op, PrepareViewCache, and live VVL GPU tests.
AI-assisted: Antigravity (Gemini 4 Neon).
Diffstat (limited to 'runtime/test/submit_frame_test.cpp')
0 files changed, 0 insertions, 0 deletions