59db4b62b0
runtime: Round 8 WS3 — fix list-value gate TOCTOU, offload QueueHolds barriers, empty-batch/wait coalescing, replay floor & batched xmem slot-31
...
- Fix Pump::choose_release() TOCTOU on already-completed unlanded write groups/action gates + 10 ms quiet window on Reason::present
- Skip before_execute/visibility_seq on empty batches (preserving pending_wait_vis_seq_), coalesce past GPU-completed Waits (merging CPU vis_seq), cache CommandList summary, atomic unbuilt_sync_pipelines_ & BindlessSet clean fast-paths, hoist EmitScratch
- Dedicated QueueHolds barrier-drain thread with active_work_ tracking, wait_barriers_drained() ordering, cancel_after() wait, and non-blocking VulkanQueue::release_ready()
- Batch copy_page_mappings() per contiguous range & notify Event::replaced on mirror_heap decommit in xmem.cpp
- SEH-guarded aligned volatile read_value() (no noexcept under /EHsc) + 1000 ms slot-12 Vulkan fence mirror timeout
AI-assisted: Antigravity (Gemini 4 Neon).
2026-11-28 03:31:06 -05:00
586970b5ba
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).
2026-11-28 02:05:03 -05:00
89fe359ee0
runtime: VulkanQueue execute+signal coalescing, fast heap filtering, and batch-parallel sync compiles
...
Cuts queue submit overhead, descriptor-heap filtering cost, and synchronous cold pipeline compile latency:
- VulkanQueue: adds pending-wait tracking (has_unsatisfied_waiter), deduplicated submit_multi(), execute+signal coalescing with cross-queue/CPU waiter splits, and coalescing-group-aware async room gating.
- d3d12_com.cpp: caches descriptor heap VAs/counts on SetDescriptorHeaps, pre-tracks command-list barrier/query/indirect/draw flags, single-alloc PinnedObjects, and linear table dedup.
- d3d12_vulkan_device.cpp: AVX2 32-byte slot equality, 8 KiB L1d seen_keys, stack-local FilterPageCache, 64 KiB page-pointer caching, and T# dedup in finish_in_place.
- vulkan_replay.h / d3d12_vulkan_device.cpp: lightweight collect_unbuilt_pipelines() pre-pass and cancel-safe batch-parallel sync compile runner backed by PipelineCompiler.
AI-assisted: Antigravity (Gemini 4 Neon).
2026-11-28 00:14:10 -05:00
e9bd907508
runtime: add ReplayStateCache and two-tier frame-hot TitleWritePolicy
...
Cache bound pipelines, descriptor sets, dynamic graphics state, and dirty
push-constant sub-ranges across command lists in emit_commands() (with
invalidation across internal compute helpers and rendering boundaries),
and restore the two-tier submission-hot + presented-frame-hot policy in
TitleWritePolicy/HotColdTracking wired to present_serial.
AI-assisted: Antigravity (Gemini 4 Neon).
2026-11-27 22:29:42 -05:00