M1: map console D3D12.X semantics using source-built fixtures #3
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ProhorovIlja--NativeX-Runtime#3
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?
@ProhorovIlja on GitHub · 2026-11-21 21:13 UTC · original
Cross-compare public method prototypes, resource mapping, queues, barriers, descriptors, root-signature layout, Present/SwapChain behavior and GPU synchronization.
Read-only upstream references:
Acceptance: structured method-level evidence table with exact upstream SHA and author claims separated from reproducible tests. Test D3D12 device creation on WARP and suitable hardware; correct error paths. Never claim game rendering from successful synthetic Present.
2026-11-22 progress: desktop host execution substrate
PR #9 was merged after Linux/Windows CI success. On standard Windows hosted runner, the source-built WARP fixture successfully created a desktop D3D12 device, queue/allocator/list, submitted an empty command list, signaled and awaited a fence (CTEST passed, run 44951523816). This is desktop D3D12, not D3D12.X Xbox behavior and not a shader execution proof. Next: synthetic descriptors/barriers/resource aliasing, error handling and WARP shader input/output comparison.
2026-11-22 source-grounded blocker: inline console command records
XCL e555b87 and its HANDOFF.md at that SHA report a concrete console title stalling when inlined D3D12.X code writes records into command-list-object internals. In the author's observation a graphics-list write-pointer is around
+0x18and end around+0x30. An ordinary desktop D3D12 command list does not provide the same layout. Other reported differences: device slot #25GetResourceAllocationInfoinvolves a hidden return buffer / ABI mismatch; a DMA list has a different vtable; consoleD3D12_OPTIONSsize differs from desktop.Do not hardcode these title-specific offsets or slot numbers as universal Xbox ABI from the claim alone. XCL is GPL-2.0-only; no source is imported. Real console command-record bytes and coverage are not available in this project.
Next original source-built fixtures:
2026-11-22 independent regression fixture
PR #22 merged after Linux and Windows CTest passed (run 44955863311). The original C++17 synthetic command-record contract includes separate graphics/DMA opcodes, bounded LE records, canary redzones, atomic rejection, corrupted header/length/sequence checks, reset semantics and 256 deterministic generated streams. The format and opcodes were invented for testing; no genuine D3D12.X command record has been decoded. This validates only safe stream-handling logic, not the console's graphics or DMA interface.
New evidence boundary
The three original source-built PE tests in PR #25 prove ordinary desktop Windows native PE loading/imports and small xgameruntime shim calls. They do not exercise D3D12.X packet parsing, vtable ABI, resource translation or GPU command submission. This remains a distinct unresolved blocker, not an assumed consequence of the loader passing.