Commit Graph

4 Commits

Author SHA1 Message Date
aa8be9aef2 Integrate the offline first-run UI runtime with current main and the published renderer fixes
Use the tagged pipeline variants and indexed quad expansion from #722 and #682 with the shared shader cache. Retain title-backed index uploads, cross-queue scratch sharing, amd64 console return conventions and the PC/console caller discriminator. The local shader build indexes native containers and includes the executable's embedded stages.
2026-11-24 21:26:25 +08:00
db19bbd345 runtime: connect native pipelines and title resources to the offline first-run UI
Build on the public frame-loop integration in #321. Carry the texture-view and depth work from #213 and #261, the layout provider from #461, the responsive window from #526, and the rectangle generator from #682. Integrate the Xbox constant-buffer row addressing measured in #513 and the draw-time rectangle selection in #722. Keep all fixtures synthetic.

The Windows GPU path resolves title-owned shader objects, retires geometry uploads per submission, materializes texture views on use, maps linear surfaces, and delivers completed GPU label writes. A first-run UI launch selects the tested settings for these paths.
2026-11-24 21:19:30 +08:00
7739895421 vulkan_scratch: the chunks can take usage beyond transfer source and destination
ScratchBuffers creates every chunk as a transfer source and destination, which is all the
staged copies need. Its owner can now add usage flags: the expanded indices of indexed quad
lists (next commit) live in the same scratch, as an index buffer that a compute pass writes
through its device address. The default is unchanged.

vulkan_scratch_test checks the usage a chunk is created with, with and without the flags.

AI-assisted (Claude Code; Claude Opus 5.5 and Claude Fable 5.2).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SR1Fv7eQNgZjM6miWPKjHf
2026-11-24 05:10:18 -05:00
bc041d177f tests(runtime): add CPU-only unit tests for vulkan_scratch.h 2026-11-22 20:47:10 -03:00