Docs: ARCHITECTURE.md - module map, generated files, XCL_* variables #596
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/601"
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?
Imported from ivall/xcl. Originally posted by Kaairim on 2026-11-24T02:19:41Z.
HANDOFF.md is 1854 lines and the
XCL_*variables are spread over doc comments. This adds a short map for new contributors; it rewrites nothing in HANDOFF.md or docs/specs/.What is in it
docs/ARCHITECTURE.md(~190 lines): howxcl runworks (launcher → host → loader → resolver → HLE → recompiler), a module map (console DLL → module → what it does → where its tests are), the generators inscripts/, theXCL_*variables for running and testing (each with the file that reads it), and where to startTested
XCL_SPLIT_WAVE64,XCL_UMA_MB,XCL_DXIL_CACHE,XCL_LAZY_PSO,XCL_FRAME_DUMP,XCL_DUMP_SHADERS)Not tested
AI use
Improvements by William "kaairim" Deivid (wdcore).
🤖 Generated with Claude Code
upstream-sync referenced this pull request2026-11-24 22:05:13 +00:00
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T12:55:44Z.
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)Thanks!
Imported from ivall/xcl. Originally posted by RavenCurseBurg on 2026-11-26T02:06:21Z.
Checked the map at
d7c88b566f41d56b893aa077f82b8305caab6645against both its own source tree and mainb49be1836844. Usinggit ls-tree -r --name-only <rev>andgit show <rev>:<path>, I resolved all 31 reader references for 28 environment variables, the four generator/output pairs and five relative Markdown link occurrences.Six reader references point to
tests/*.rsunder the document's stated path convention. All four distinct files are actually incrates/xcl/tests/on both revisions. The generator/output pairs and Markdown links resolved on both. I also checked the defaults inconfig.rs,host.rsandgpu/recomp/dxc.rs: automatic UMA is 4095 MiB for advanced title memory and 2048 otherwise, and the compile-thread setting is clamped to 1–64.Documentation-only correction. After the edit all 31 referenced paths resolve and contain the quoted variable on both revisions.
git diff --checkpassed. This was a source-reference check on Windows build 26100, i7-13700, Python 3.14.3. OpenAI Codex (GPT-6) wrote and ran the check and prepared the edit. Runtime behavior and the full test suite were not exercised.Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-30T08:41:04Z.
Nothing has happened on this PR for 3 days, so it is marked
staleand will be closed in 4 days. A push or a comment takes the mark off: rebase it ontomainif it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T03:47:49Z.
Triage (#1607) – head
d7c88b5No open or merged PR adds an architecture map; docs/ARCHITECTURE.md does not exist on main. The paths, generators and XCL_* variables it lists all exist on main.
It is already behind main in places: no entry for
hle/bcpack/andscripts/gen_bcpack_victory_tables.py(generatedtables.rs), the direct DXIL backend ingpu/dxil/, orhle/d3d12x/build_queue.rs(pipeline worker priorities), andpso_async.rsis described as it was before those changes. Worth a refresh before merging.Recommendation: keep open.
AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.