Deep-dive architecture and subsystem documentation #10
Labels
No labels
accessibility
area: compatibility
area: docs
area: hygiene
area: infra
area: memory
area: ray-tracing
area: rendering
area: shaders
area: submission
area: textures
bug
ci
dependencies
difficulty: advanced systems
difficulty: intermediate
documentation
duplicate
enhancement
experimental
good first issue
help wanted
invalid
known issue
performance
priority: P0
priority: P1
priority: P2
proposal
question
rendering
research
testing
triage
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/VictoryX-dev--VictoryX#10
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@VictoryX-dev on GitHub · 2026-12-03 02:57 UTC · original
Problem
docs/ARCHITECTURE.mdgives contributors a high-level crate map and overview of the runtime, but several complex subsystems — especially the shader IR/structurizer pipeline (victory-shader), D3D12.X descriptor/write-watch invariants (victory-gpu) and virtual memory/section mapping (victory-hle::modules::xmem) — would benefit from focused deep-dive guides with sequence and state diagrams.Known Evidence
victory-gpualone spans dozens of modules (host.rs,shadow.rs,descriptor.rs,draw.rs,watch.rs,queue/behind.rs,list/thin.rs,texture.rs,residency.rs).victory-shaderimplements SSA lifting (ir::build), EXEC-mask structurization (structure), waterfall-loop resource tracing (resource) and DXIL emission (emit).Approaches That Did Not Work
Relevant Source Modules
docs/ARCHITECTURE.mdruntime/crates/victory-gpu/src/lib.rsruntime/crates/victory-gpu/src/shadow.rsruntime/crates/victory-gpu/src/descriptor.rsruntime/crates/victory-gpu/src/queue/behind.rsruntime/crates/victory-gpu/src/watch.rsruntime/crates/victory-shader/src/lib.rsruntime/crates/victory-hle/src/modules/xmem.rsruntime/crates/victory-loader/src/lib.rsExpected Contribution
docs/(for example,docs/SHADER_TRANSLATION.md,docs/MEMORY_AND_WATCH.mdordocs/DESCRIPTOR_PUBLICATION.md) verified against the live Rust code.flowchart/sequenceDiagram/stateDiagram-v2) documenting fence lifetimes, resource retirement and descriptor revisions.Acceptance Criteria