Repository navigation
Document the package layout and the load and frame pipeline per backend - #46
Merged
Merged
Conversation
docs/ARCHITECTURE.md maps the packages and each pipeline stage on Metal and Vulkan, verified against the code. AGENTS.md points agents at it and asks pipeline changes to update it in the same PR.
Xget7
added this pull request to stack #48
October 20, 2026 14:28
Xget7
marked this pull request as ready for review
October 20, 2026 14:29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
An agent-facing map of how the repo is composed and what each pipeline stage does on Metal and Vulkan, checked against the code.
AGENTS.mdpoints every session at it and asks a change to a stage, GPU layout or package dependency to update it in the same PR.A pipeline table that had been circulating was stale; the page records the current state:
Sharedbuffers (MetalWorld.mm)TileLoaderthreads for tilesets.lodsplat, tilesets; PLY for toolingVulkanFrameCompute.h)Evidence
GpuSplat32 bytes,kStagingBytes, 7 draw batches,kLoaderThreads, 3M sort capacity, frames in flight, loader thread names, swapchain format order) and all held after fixes.ddd53b5.Merge Danger
Door: Two-way.
Blast Radius: Docs
The page copies a few volatile constants (2 MiB staging, batch fractions, 3M capacity, 254/255) because they are what a reader asks for; they can drift when the code changes without the page.
The
AGENTS.mdline costs one line of context in every agent session.