Draft integration test of 138 PRs on Windows #231
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!231
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/231/head"
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?
@muhammed-aksoy on GitHub · 2026-11-24 01:39 UTC · original
muhammed-aksoy:pr-integration→main· +25471 −1432 · 155 files · 364 commits · closed without mergingWhat
This draft integrates 138 PRs against upstream
mainatd2a4bae1f49533ef5cb512fd1b1ba1513f2e1989. The latest update merges 20 newly opened PRs, refreshes 10 previously integrated PR heads including PR 287, and integrates PR 217. The changes from closed PRs 35, 195, 220, and 266 were backed out. Upstream still points to the same base.Tested
Native Windows workspace tests on
e440f47passed with 562 tests and zero failures.Windows all-targets, all-features build check and asset-policy check passed. The asset policy checked 195 files, and Git's whitespace check passed.
Rustfmt reported formatting differences in 41 files.
Hosted Windows CI passed on
e440f47in WARP mode. GitHub Actions runThe initial hosted run passed the build and asset policy, then failed to create a fixed-wave-size shader pipeline with the default adapter. The WARP workflow passed both locally and on GitHub for the prior source snapshot. Initial hosted run · Passing hosted WARP run for the prior snapshot
Jeremy independently ran the workspace library suites on
e440f47. He reported 512 passed, zero failed, and 19 ignored across 11 test binaries. Independent verificationIntegration fixes
The earlier batch combined the stack-size setting with Agility SDK exports, reconciled the depth bounds and host queries documentation, restored the GPU query test's FXC dependency, and removed duplicate shader match arms. This update supplies the optional PSV field in existing shader fixtures, explicitly parses the storage quota as
u64, records late frame ticks before returning from the wait, and preserves diagnostic tick logging.The refreshed synthetic PE test now expects the parser to reject an unterminated TLS callback array, matching the stricter parser already in the batch.
Included PR numbers
Conflicts in the latest refresh
Some entries are updated heads whose earlier revision still appears in the included list.
Conflicts from the preceding batch
Current upstream status
Upstream main advanced to
ffe310e. Native Windows validation at that commit passed 342 tests, the all-targets/all-features build check, and the asset policy. The results above refer to the published integration snapshote440f47.Of the 138 PRs in that snapshot, 26 are now merged upstream, nine are closed (including PR 287), and 103 are still open. A local rebuild from current main found 80 Git-clean merges, 22 merge conflicts, and one PR whose change was already represented. The candidate remains under review because the shader thread-ID regression fails after the merge. It also exposed an XMA packet traversal regression when carrying PR 96. There were 245 open PRs numbered after 387 at the audit, and they were outside this rebuild.
Image samples and gathers now lower by their form (comparison, derivatives, coarse or 16-bit derivatives, level, level 0, bias, level clamp, texel offset) instead of a fixed list of opcodes. The address dwords follow LLVM's ImageDimIntrinsics and Mesa's ac_build_image_opcode: offset, bias and reference a dword each, then the derivatives (16-bit ones two per dword, each direction its own), the coordinates and the level or clamp. The decoder counted 32-bit derivatives for the _g16 forms; it now counts them packed. Newly lowered: - every texel-offset form of the samples above; DXIL immediates when the offset word is a constant in -8..7, else (past -8..7, or per lane) the coordinates move by offset / size at a level known at translation; - _cl (the DXIL clamp argument), _cd (as _d), _g16; - image_sample_c, _c_cl and their _o forms in compute as well as pixel shaders; image_sample_c_l(_o) with a level, image_sample_c_b(_cl)(_o) with a bias known to be 0; - image_gather4_l(_o) with a level known to be 0, image_gather4_c_lz(_o), image_gather4_c_l(_o) at level 0 (textureGatherCmp); - a16 biased samples (the bias an f16 in its dword's low half) and a16 comparisons; - image_store of some channels: the data VGPRs are the dmask's channels, the others are written as 0. Still refused, each with its reason: gathers at an implicit level or with a bias, comparisons with derivatives, at a level or with a bias not known to be 0 (SM 6.7/6.8 operations), and offsets past -8..7 or per lane at a level not known at translation. Tests: hand-assembled compute programs on the RTX 5070 against texels worked out on the CPU (offsets known, past -8..7 and per lane; levels, gradients, g16, bias and clamp through compute quads; comparisons and comparison gathers per texel; partial stores, d16 too), every newly accepted form through the validator, and the refusal reasons. On upstream/main all of them fail ("... is not supported"). Co-Authored-By: Claude Opus 5.5 <[email protected]>..in a title path stops at the virtual drive's root 18275322e4XGameSaveCreateContainer, XGameSaveCreateUpdate and XGameSaveInitializeProviderResult left the title's handle untouched when they failed. The GDK documents those handles as null on failure, and its own sample closes them on that basis ("if (containerContext) XGameSaveCloseContainer(...)" on a variable it never initialized), so a failed call made the title close whatever was on its stack: a heap corruption far from the failure that caused it. Each of the three now nulls the handle before anything can fail.cargo doc --no-deps warns twice on main for crates that document on any host: warning: public documentation for `texture` links to private item `MICRO` --> crates/victory-formats/src/texture.rs:16:19 warning: `prepare` is both a function and a module --> crates/victory-loader/src/lib.rs:7:10 MICRO is a private table, so the public page cannot link to it; it stays named in code font. In the loader's overview, step 1 means the function, so the link says prepare() and rustdoc resolves it there instead of guessing between it and the module. With both, RUSTDOCFLAGS="-D warnings" cargo doc --no-deps passes for victory-core, -pe, -loader, -formats, -pipeline, -game and -shader. Comments only; no code changes.A compute record's thread-group size is three u32s read straight from the stage data. Lowering multiplies them (a debug panic on overflow) and writes them as the DXIL numthreads. Refuse a zero component, one past D3D12's limits (x, y 1024; z 64), or a group over 1024 threads as Malformed("implausible thread-group size").A mesh record's thread-group size is a u16 read straight from the stage data. It becomes the DXIL numthreads x and, for containers without the HLSL thread count, the stride lowering multiplies the group id by. A record of 0 emitted numthreads(0, 1, 1) and gave every group id 0. Such records are now refused with the compute path's Malformed("implausible thread-group size"); the synthetic fssm helper writes a one-lane mesh group.@jeremygold02 on GitHub · 2026-11-24 05:39 UTC · original
Thanks @muhammed-aksoy for maintaining this broad Windows integration roll-up and reconciling the updated PR heads.
I independently tested commit
e440f471b159e0ac940612d0115e2e2be2cd6154with:The workspace library suites completed successfully: 512 passed, 0 failed, and 19 ignored across 11 library test binaries.
The run includes coverage for the latest integration fixes, including rejecting an unterminated synthetic TLS callback array, saturating storage quota parsing at the
u64byte limit, and frame waits that update tick/frame counts, alongside the wider PE, loader, HLE, GPU, profile, and game library suites.This was a library-only run. It does not build every binary target or feature combination, run hosted Windows CI, or launch a title.
@Ilokaxt on GitHub · 2026-11-24 12:40 UTC · original
Tried this branch as it is (
e440f47, 337 commits ahead ofmain, 104 behindffe310e) on an RTX 3070 Ti Laptop (NVIDIA driver 610.88, Windows 11 build 26300), diagnostics build, with only a local fix that creates the device on the high-performance adapter.The title stops about one second after start, before the first screen. Its own last output:
then its crash handler runs (the upload to backtrace.io is blocked by the offline network layer, as it should be).
mainatffe310ewith the same local fix boots and reaches the world on this machine, so something in the integrated set breaks root signature serialization for the title's XDXR (xboxbvhbuilder.dll) path.@muhammed-aksoy on GitHub · 2026-11-24 14:33 UTC · original
Thanks for the A/B report, @Ilokaxt. Your run points to a startup regression on this draft:
e440f47fails XDXR root-signature serialization whileffe310eboots with the same adapter-selection change. The passing library tests used synthetic fixtures and do not cover that startup path. I haven't isolated the offending change, so I'd keep this draft out of the merge queue. The smaller integration batch on ffe310e has its own Windows CI result and its title startup remains unverified.@Marvisak on GitHub · 2026-11-25 00:00 UTC · original
Automated triage for the maintainers. Closing because this pull request re-packages other open pull requests. Each of those is reviewed on its own, so a bundle cannot be merged.
If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.
Pull request closed