Upstream: 31 conflicting fixes ported by hand (stacked on #653) #716
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/716"
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 fxceless/victory-fork. Originally posted by coderanonymus on 2026-11-25T05:27:01Z.
Stacked on #653, which brings over the 113 upstream fixes that apply cleanly. Please merge that one first; this PR's own commits are the 34 after it.
Rebased on main (
a26859f)Rebased with #653 onto
a26859f. The port of 4ab20fc (indirect budget charged in record order) is dropped.a26859frewrote the same clamp shader, and I won't merge two rewrites of it without a run. Everything else applied. Clippy passes with and without--all-featureson a clean build, Linux tests (263) pass, and so does the asset policy.Why
#653 left out the upstream commits that conflict with the fork. Most of those are fixes inside code the fork rewrote. This PR ports them by hand, so the fork has them without a full upstream merge.
What
cherry picked fromorported from).f821cb9(parallel library loads), f47ebd8 (cache invalidations as no-ops), 1e923ad (WAVE_OPS forlane_bit), 4e60ea3 (indirect drop before clamp), 42363ab and ccfb029 (shader tests skip without a GPU). The fork has each in its own form; the reviewers checked each claim.emit/lower.rsreached 525,703 bytes, past its 512 KiB limit, sorepository_passes_policyfailed. Its test module moves toemit/lower/tests.rs. The move is byte-for-byte, apart from one level of indentation (checked with diff). Upstream has started splittingemit/lower/the same way.lane_bitthen tests the low dword in both host waves.atom()now refuses an opaque mask there, and a constant one unless its two dwords are equal. The portedv_cndmask_b32change refuses its own paths the same way. Theatom()hole was already onmain, for example a compare ANDed with a constant feeding a select. Test:a_constant_select_mask_on_host_halves_is_refused, with five cases, all of which translated (wrongly) or reached the wrong path before.How it was made and reviewed
Ultracode workflow:
v_cndmask_b32constant masks: the half-wave miscompile above.atom()hole, fixed above, and two small slips, fixed in the last commit. It found no other interactions between ports.Some of these ports may overlap open fork PRs, judged by title only: #165 (
Staging::detile), #325 (frame waits), #97 (DirectStorage page 0; d09f3aa itself was left out for that reason).Verification
cargo clippy --workspace --all-targets --locked -- -D warnings, and the same with--all-features, forx86_64-pc-windows-msvc(cross-checked from Linux): clean on the stacked branch.No game data used; the game isn't named in the tree.
Ported (upstream sha, author)
f5cb5ffCapture startup breakpoint diagnostics (Peter Bonanni)a3acc87Check the required startup archive before executing Series 1.0.2.1 (Peter Bonanni)691236dGPU: align appended input-element offsets like D3D12 (JFIREonFIRE)🤖 Generated with Claude Code
Imported from fxceless/victory-fork. Originally posted by chatgpt-codex-connector[bot] on 2026-11-25T05:27:07Z.
Codex Review Summary: ❌ Failed
This comment shows the latest Codex review activity on this pull request.
We couldn’t complete this review. Comment
@codex reviewto try again.ef4e8a9ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
Imported from fxceless/victory-fork. Originally posted by chatgpt-codex-connector[bot] on 2026-11-25T05:27:09Z.
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
Imported from fxceless/victory-fork. Originally posted by JRamos1993 on 2026-11-25T06:28:39Z.
Offline check on the retail shader pack: no program gained or lost, but 17,346 programs' DXIL changes. So this changes code in most of the title's shaders, and needs an in-game look before it lands.
Setup: RTX 5090, Windows 11.
victory translate --validate --listover the title's full shader pack (26,084 programs),main310c6ebagainst this head (with #653 under it), with a local DXIL hash on each validated line.mainA sample of 3 changed programs,
dxc -dumpbinwith SSA numbers normalized:and/select/icmp, and in one, 20dx.op.isHelperLanecalls.I have not checked what the changes do in game.
AI use: Claude Code with Claude Opus 5.5 ran the pack, compared the dumps and wrote this. Nothing from the title is in it.
[PR #716] Upstream: 32 conflicting fixes ported by hand (stacked on #653)to [PR #716] Upstream: 31 conflicting fixes ported by hand (stacked on #653)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.