xg: move the provider to the 26100 ABI #476
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/476"
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 brcly/TuxBox. Originally posted by csj0oe on 2026-11-29T13:24:28Z.
What this changes
The XG provider now speaks the 26100 ABI only. The previous 19041 compatibility path is gone: the provider's export table, ordinals, descriptor sizes and layout rules all follow the 26100 contract.
This supersedes the earlier layout-comparison scope of this branch. That work is still here; the branch now carries the full migration.
ABI surface
XGCreateBVHComputer,XGDecodeDCCSurface,XGShuffleTextureBufferForDirectStorageandXGValidateDescriptor.XG_BUFFER_DESCmoved to 24 bytes; the buffer differential passes 967 complete layouts and HRESULTs.24, the depth image word-5 bit 31, metadata only for ≤8-byte elements, the 4 KiB UAV swizzle21, and0x100000keeps BGRX.Layout rules fixed against the console
Verification
xg-librarydifferential against the supplied 26100 Xbox DLL: 0 differing bytes, guest exits 0 with its PASS receipt, hash0x91c28273c3161610.xg-providersuite (xg-dcc,xg-library,xg-addresses,xg-formats): all pass.xg-texture-uav2ddifferential: 2,964 layouts and 34,632 addresses pass.xgnative controls andd3d12-placement: pass.python tuxbox.py check --no-gpu: all eight steps pass.-p tuxbox-xgis now wired into CI and the check script.Not covered
mainand currently conflicts with it; it needs a rebase before merge.Imported from brcly/TuxBox. Originally posted by brcly on 2026-11-29T14:56:54Z.
We ran the GPU checks this PR was missing. Three of the
xg-providerguest gates fail with it, on both cards.Tree:
mainat090cf6cewith this PR (xg: accept pitched descriptors and report swizzle pattern info) merged, in a fresh worktree.python tuxbox.py check, GE-Proton11-14.10de:2705, 620.x)xg-library(exit code 19),xg-addresses(exit code 1),xg-formats(exit code 1)1002:13c0, RADV)mainalone (same card, same prefix),tuxbox.py verify --only xg-providerpasses all four gates. With this PR,xg-dccstill passes and the other three fail again. They all run thexg_xs.dllthis PR changes.xg-libraryexpectsxg-library PASS depth=516 descriptors=375 ... typed_images=880 map_targets=1474 msaa_depth=384.xg-formatsexpectsformats=78 layouts=156 element-addresses=9231018. My guess, not checked: the tail-mip swizzle mode (1 → 5), theMipTailOffsetElementspacking or the BC microtile change alters what these guests compare against, either a real regression or receipts that now need updating. Either way the guests inexamples/and the receipts inproject_tuxbox/verify.pyneed to agree with the new layouts, with the reason stated.To reproduce:
python tuxbox.py verify --only xg-provider --output <dir> --backend proton --proton <proton> --adapter <id> --prefix <prefix>.