diff options
| author | NotRexed <therealnothingfn@gmail.com> | 2026-11-27 17:58:38 -0500 |
|---|---|---|
| committer | NotRexed <therealnothingfn@gmail.com> | 2026-11-27 17:58:38 -0500 |
| commit | 00131bb85ee294179e5179b00a2c68f4ea3610b5 (patch) | |
| tree | 11854f35d928e964919b81746360146c3657ce07 /docs/d3d12_command_objects.md | |
| parent | eac96d744c3a899fa6e326e296f387fe11e05eab (diff) | |
main keeps its own runtime, tools and tests; the branch's variants stay on port/d3d12-nvidia
After the merge the tree held this branch's older states of files main maintains. Run against main's code,
tests/test_acphal_abi.py and 11 of the 15 translator tests that differed failed, and the C++ runtime would have
been built from two generations of its sources. So that the merge cannot break what main builds and tests:
- runtime/ is main's, file for file (68 files only this branch had are not carried over);
- every file under tools/, tests/ and docs/ that both sides have is main's (80 files);
- ten translator tests only this branch has, which test rules main's translator does not have, and their
fixtures are left out.
What main gains: d3d12/ (the Rust D3D12 runtime), its launchers and helpers (Launcher.bat, scripts/play*.ps1,
play-linux.sh, port_ctl.py, smooth-motion.ps1, fetch_vkd3d_proton.py, sync_victory.py), mods/example_lua, eleven
notes under docs/, seven tools and the tests that pass with main's code, the README's sections and credits, and
the "Runtime traps" section of AGENTS.md. Everything left out here is on the branch port/d3d12-nvidia.
Checked: compileall; make_game.py --help; check_no_game_data.py over every file this adds to main; the
line-ending, docs-encoding, CI-registration and docs tests; each test file that differs from main, on its own.
Not run: the whole translator suite, the C++ build, cargo over d3d12/ after the merge (d3d12/ is byte for byte the
branch's), CI.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'docs/d3d12_command_objects.md')
| -rw-r--r-- | docs/d3d12_command_objects.md | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/docs/d3d12_command_objects.md b/docs/d3d12_command_objects.md index 7afd38a5f..eea693c70 100644 --- a/docs/d3d12_command_objects.md +++ b/docs/d3d12_command_objects.md | |||
| @@ -807,13 +807,6 @@ first calls; a wrong slot would therefore be visible as a misnamed call, not a s | |||
| 807 | 807 | ||
| 808 | Queues and fences are wrapped the same way. | 808 | Queues and fences are wrapped the same way. |
| 809 | 809 | ||
| 810 | A device created as `ID3D12Device11`, as the title creates its own, has the console layouts instead: its queues, | ||
| 811 | fences, allocators and lists follow the slot tables in `runtime/shims/d3d12_xs_slots.h`, taken from VIctory | ||
| 812 | (`victory/crates/victory-gpu/src/{device,queue,list,fence}.rs`, which runs the title) and from the measurements on | ||
| 813 | this page, each entry with its source. There the queue methods from slot 14 on are two later than the PC's, the | ||
| 814 | fence has a value address at slot 12, and device slot 12 makes console list proxies. What follows describes the PC | ||
| 815 | layout, which every other device keeps. | ||
| 816 | |||
| 817 | - **What is wrapped.** Device slots 8 (`CreateCommandQueue`), 75 (`CreateCommandQueue1`), 36 | 810 | - **What is wrapped.** Device slots 8 (`CreateCommandQueue`), 75 (`CreateCommandQueue1`), 36 |
| 818 | (`CreateFence`) and 32 (`OpenSharedHandle`, when it opens a fence) return queue and fence proxies. Each | 811 | (`CreateFence`) and 32 (`OpenSharedHandle`, when it opens a fence) return queue and fence proxies. Each |
| 819 | proxy forwards the public chain in PC order: 19 queue slots, and 11 or 12 fence slots, in SDK 10.0.26100. | 812 | proxy forwards the public chain in PC order: 19 queue slots, and 11 or 12 fence slots, in SDK 10.0.26100. |