mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-05 13:20:11 +00:00
Replaces the synchronous per-command execution model, and with it the upstream render-target, pipeline-cache, tile-buffer, batched-draw and memory-ownership commits (5a280ce,7ed5a0b,46c799d,598caac,40df528), whose files are removed. - Recorder: one open command buffer per device; dispatches, resident draws, uploads, write-backs, labels, fills and copies record into it; timeline-semaphore serials let drains wait without the GPU mutex; completions run in order at reap. - one worker thread per PM4 queue; labels and stores written by the GPU into the host import; GPU-side DISPATCH_INDIRECT; the buffer-fill kernel replaced by vkCmdFillBuffer; a dispatch cache validated by write watch; filler packets tolerated; rejected submissions dumped. - guest memory: page-state cache, 64 KiB write generations, host imports with VK_EXT_external_memory_host, persistent mirrors of the executable image, GPU copies of misaligned sub-ranges. - textures: shader-written images stay resident with deferred write-back (adjacent-generation rule for packed video planes), sampled views of storage images, DCC key handling, addrlib swizzle equations, bidirectional detiler. - draws: MRT, more formats, dynamic viewport/scissor, cached pipelines, resident 64 KiB targets, draws recorded into the recorder. - ShaderResources: two-stage build, descriptor and sampler caches, a content-keyed resource cache; presentation from the resident image. - a label deferred behind a completion is no longer re-stored by the CPU at reap time unless a write-back overwrote it. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_0177gthrWEBBfBu5xJDXgBfo