2 Commits

Author SHA1 Message Date
184d03eca8 runtime: fast mirror-hashed texture refresh and watermarked passive write-back
Cuts per-submission texture refresh overhead and prevents passive write-back accumulation across overlapping queues:
- title_texture_refresh.h: adds shadow_keep::sum_of-backed mirror_range_sum helpers and PassiveWriteBackTracker with retire_id watermarking so overlapping direct/compute queues promote each passive V# range without re-promoting stale ranges indefinitely.
- title_texture_watch.h: skips hot_tiles() rescans when hot_generation() is unchanged and tracks non_hot_arms to reuse synced shared hot tiles per pass.
- d3d12_title_image_upload.h: reuses detile scratch buffers across sub-batches and skips detile setup when unused.
- d3d12_vulkan_device.cpp: extends TitleMirror range_sum() skip to all 256B-aligned and partially mirrored textures, filters dirty chunk syncs by title_written_ (guarded by !t.stale), caches can_gpu_upload(), pools TitleJob buffers, runs inline single-item reads/hashes, and defers t.pieces commits until upload success.

AI-assisted: Antigravity (Gemini 4 Neon).
2026-11-28 00:06:16 -05:00
181e9dfdda runtime: add GLC barriers, literal sampler specialization, and writes_buffer write-back gating
Enable Vulkan 1.2 vulkanMemoryModel/vulkanMemoryModelDeviceScope and emit
pre-dispatch/pre-rendering barriers for reads_glc_buffer shaders, wire
literal_sampler_spec_base VkSpecializationInfo specialization constants,
and gate passive title buffer write-back on shader writes_buffer metadata
with non-blocking async readback polling.

AI-assisted: Antigravity (Gemini 4 Neon).
2026-11-27 21:10:54 -05:00