Triage: 13 open PRs already in main, 13 duplicate groups with a suggested pick, and bugs seen in diffs #848
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/fxceless--victory-fork#848
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?
@KainanP on GitHub · 2026-11-25 10:34 UTC · original
Triage of the open PRs against
main9376fd6(the "already in" list re-checked onf85101b): which are already in, which duplicate each other, and bugs seen in diffs.With 600+ open PRs and changes brought in as your own commits, many PRs stay open after their content has landed. This lists, for the PRs it covers, what can be closed and what to pick where several do the same thing. Every claim was checked with git on a local clone (no build or game run):
git merge-tree --write-tree origin/main pr/Nequal tomain's tree means merging changes nothing;git log -Son distinctive added lines finds the commit that brought them; duplicate verdicts come from reading the diffs, not titles. Uncertain points are marked (unverified). Nothing here comes from game files.Short version:
main, can be closed: #9, #82, #747, #186, #670, #255, #23 (merging changes nothing, also onf85101b), #48 (its code is inmain; onf85101bit only conflicts wheremainappended tests after its copy of #48's), and #203, #305, #134, #240, #32 (ported in adapted form; #240 must not be merged as is, see bug 1). #115 is in apart from a diagnostic.maindespite looking similar: #129, #91 (and #91 is a small, valid gap:VICTORY_SKIP_PIPELINESis documented but does nothing in release builds).1. Already in main
noopmeans thatgit merge-tree --write-tree origin/main refs/remotes/pr/Ngives exactlyorigin/main^{tree}(641ddd7). In other words, merging the PR changes nothing. To find the committhat brought each change in, I took about 7 distinctive added lines per PR and ran
git log -Sovermerge-base..origin/main. Every line pointed to the same commit unless the table saysotherwise.
3bff182(asdaasdsaddf's branch)3bff182. The PR's 3rd commit61e5f79(makeDouble.f64overload, which the maintainer asked for in his 2026-11-24 review) is in main too (lower.rs:2024). Commit message: "the makeDouble overload name and flag". The PR number is not credited.c96b4f2a26859f8dd30ab8dd30ab. Not credited (it probably came with the myokex/victory-amd merge, unverified).3bff1829376fd68dd30ab8dd30abgit log -S'const HISTORY: usize = 256'gives8dd30ab. Not credited.a26859funused_descriptor_kindlower.rs:5925,half_sum_present:2144). It conflicts only at a single line: main returnsErr(FIRST_HALF)where the PR has a string literal, because main applies the first-half-writes-0 rule only to a program that was refused for it (a26859f: "with it on for every program 8,551 working pixel programs came out changed"). Nothing in the PR is still missing. The PR number is not credited.a26859fread_intoandhost.mirror(...). Main reads the whole page instead and mirrors throughmirror_copied(a per-slot fingerprint), and it addsVICTORY_HEAP_SYNC=0and a counter.changed_slotsis identical (descriptor.rs:262).31714de(triippywhale's branch)view_heap_limit()intotranslation_fingerprint()instead (emit/mod.rs:211), so the effect is the same. (b) The PR'sv_cvt_f32_f64. Main uses #9's IEEE form, and keeps the PR's flush-to-zerof64_bits_to_f32_bits(lower.rs:7835) next to it, unused, with its test ignored (stated in the31714demessage). The PR number is not credited.8dd30abback_piece(shadow.rs:1679) with the PR's doc comment and scratch sizing. The 17 "missing" lines are the signature and tests, which main extended withmask/runs. Semantic difference: in the PR the GPU's byte wins where the title and the GPU both wrote (its test asserts that). Main makes the title's byte win (upstream VIctory #2009 / f39c6c2, which fixed an access violation). Merging the PR as written would bring that bug back. Not credited.(11 | u, 0), test boilerplate). Main lower.rs:5797 still has theidxen && format.is_none() && stride ...branch that gives a structured handle(12 | u, stride). That is exactly the branch the PR removes. Whether victory-gpu really backs these descriptors with raw views, as the PR says, is unverified: main's host.rs does create structured views in some paths (StructureByteStrideat :754/:2032). It is still useful if the PR's claim holds, and its GPU test (structured_buffer_record_count_matches_raw_host_view) would show it.8dd30ab8dd30abboth credit it: "adapts pull request #115 here by Spexivus" (through myokex c6dc4d8). Main hasviews_between(inplace.rs:339), alias protect/open in watch.rs (:620–:757) andtitle_memory_written(watch.rs:831, called from xmem.rs:660 and dstorage.rs:1068). Main's signature is(at, len, pages)instead of(section, offset, len)and sits behindVICTORY_PAGE_WRITES. Not carried over: the PR's texture-hash diagnosticunreported_change("a texture's hash found a change its guard did not report"). It is diagnostics only, so there is little left to port.8dd30abSTAND_INScontains(67, 10),REFUSEDis[bool; 3], and the doc comment is identical. The 3 "missing" lines are the sametracing::info!written on one line in main. Cosmetic only. Not credited.#[cfg(windows)]lines. Main pipeline.rs:429 still has#[cfg(all(windows, feature = "diagnostics"))]onskipped_shader/is_skipped. It is still a valid, small change. The cost when the variable is unset is oneOnceLockread per draw.landed.jsoncounts 0 significant lines because these PRs only add scripts (run_game.sh,make-vi.bat). None of the files is in main. #468 and #524 add byte-identicalmake-vi.bat(blobfa77386). #524 was opened 40 min after #468 by another author.Summary of section 1: 13 PRs are fully in main. Of these, 8 are no-ops (#9, #82, #747, #186, #48, #670,
#255, #23) and 5 were adapted (#203, #305, #134, #240, #32). #115 is in main apart from one diagnostic.
#129 and #91 are not in main: their ratios come from generic lines matching. Only #82, #305, #747,
#670 and #115 are credited by number in a commit or the README. #9, #48, #134, #186, #255, #23, #203,
#240 and #32 landed without their number being named.
2. Duplicate groups (all 13 groups with 3 or more members; the 12 largest tie at size 3)
For each group I read the diffs from each PR's merge-base and checked them against main. Merge results
are against
9376fd6. The triage data has no CI status, so no suggestion is based on a green build.VICTORY_*switch the translator reads, plus the host wave width (8dd30ab,translation_fingerprint). #219 fixes lane read/write with inactive lanes, #298 wraps lane selectors at the wave width, and #779 is a new per-program wave64 switch.(row, col)).pr/N^{tree}). Both copies were opened by pug205gti6. #466 is first and smallest: it refuses counts below 0 or above 64 and has a test for both. #498 also checks that the list is readable and changesbind. #527 is incomplete (see bugs). Main is unfixed (net.rs:314 builds the slice straight from the title's count).c96b4f2) and was grouped only through issue #26. #51 is first, ports upstream #806 with its authorship, has 2 tests, and has 5 or more confirmations on different cards that the refused pipeline now builds. Main has no integer-blend fix.blocked_by. They do not overlap but will conflict in that function. None is in main._Float16on 353,946 inputs. #337 behaves like #316 and #326 like #315. Main is unchanged.git diff pr/69 pr/420overapps/victory/build.rs,apps/victory/src/agility.rs,xtask/src/agility.rsandcrates/victory-shader/build.rsis empty. #69'sxtask/Cargo.tomlusesminiz_oxide.workspace = true, which main's workspace no longer has (it uses zlib-rs), so the manifest fails to load. #420 declares miniz itself. #402 has only the victory.exe half. Both conflict (add/add) with main's newcrates/victory-shader/build.rsfrom8dd30ab.50190fbis #452'sf80fd26copied word for word, without the test and with no credit, inside a bundle of other PRs. #195 removes the REUSE pass for compute, which is a different trigger of the sameamdxc64crash. The two fixes work together and merge with each other cleanly. Neither is in main.--jobs 0rejected viaNonZeroUsize, #249)jobs: Option<usize>(main.rs:86). All three conflict with main's newtranslate::warm(.., jobs)and need.map(NonZeroUsize::get)there.maxTextLength 0means 1024, #248)USE_THREAD_DIMENSIONS(#16). #346 and #308 changeLower::memoryin opposite directions (see bugs).8dd30ab, watch.rs:612–650) targets this exact cause, and the "still loops on main" report was made on310c6eb, before it. #602 also carries an unrelatedGetFrameStatisticsXchange (+134 lines).3. Bugs noticed in diffs
Found by reading the code. None was confirmed by a build or a run unless the item says so.
back_piecelets the GPU's byte win where the title and the GPU both wrote. Main fixed that to the title's byte (upstream #2009 / f39c6c2: an access violation). Merging #240 as it stands would undo that fix.xtask/src/agility.rs, test helperfn zip(...) -> Vec<u8>: it uses?on anyhow results inside a function that returnsVec<u8>, so the xtask tests should not compile. It also adds an unusedzlib-rsdependency.xtask/Cargo.toml:miniz_oxide.workspace = trueagainst a workspace that no longer lists it, so the manifest fails to load on main. I checked this myself.VICTORY_REUSE_ALLis read as "set means on" (var_os(..).is_none()), soVICTORY_REUSE_ALL=0also turns REUSE back on.stride*maxoverruns the buffer, or whose offset is not 4-aligned, is now dropped completely. That follows the D3D12 spec but could drop draws where a count buffer limits the real work.NAME=both for an unset variable and for one set to empty. Switches that count as on when merely set could then get a stale cache hit. The code is at emit/mod.rs:202–208; whether any switch actually behaves that way is unverified.VICTORY_SKIP_PIPELINESis documented in the README's debugging table, but it does nothing in release builds. The PR fixes that, and it is not in main.make-vi.batblob as #468.AI use: Claude Code (Claude Opus 5.5) ran the git checks, read the diffs and wrote this; reviewed by the user before posting. The scripts that produced the candidates (open-PR snapshot through the GraphQL API,
merge-treeagainst main, overlap/duplicate grouping, already-landed detection) can be shared if useful.@domints on GitHub · 2026-11-25 11:27 UTC · original
FYI: I fixed the problems with #402 - Merged in victory-shader changes from simplesmenterafael:gpu/agility-sdk-win10 while fixing merge conflicts, fixed xtasks tests and removed unnecessary dependency.
So #402 stays current, updated, conflictless and has its bugs entry fixed.
@KainanP on GitHub · 2026-11-25 21:09 UTC · original
Item 10 of section 3 holds on current main (
085ee7c).VICTORY_STRICT_JOINSandVICTORY_MESH_OUTPUT_STRICTcount as on when merely set, and both are in the translator's switch list. So a run with either one set to an empty value translates differently, but it gets the same cache key as a run without it. #1132 writesNAME\0for an unset switch andNAME=value\0for a set one, with a unit test that fails on the old encoding.AI use: Claude Code (Claude Opus 5.5).
@Gabarsolon on GitHub · 2026-11-25 22:21 UTC · original
Follow-up to this triage: the duplicates it does not list yet, from a pass over all 847 open PRs (snapshot
2026-11-25 ~21:30 UTC). Read-only and no game files. I compared head commit SHAs, changed files and added lines
(whitespace-normalised) from the GitHub API, then read the diffs of each group below. The groups already covered
above (#466, #315, #420, #290, #291, #51, #124, #452) are left out.
1. 37 open PRs with the same head commit as another open PR
This extends the #536/#521/#697 note above. All were opened by pug205gti6 between 01:56 and 02:08 UTC on Nov 25, on
branches named
pr/<original>-..., and they carry the original author's description. The head SHA equals theoriginal's, so either one merges the same commits. Closing the copy loses nothing.
#510 = #456, #513 = #448, #514 = #445, #515 = #447, #516 = #441, #517 = #443, #519 = #463, #520 = #458,
#521 = #466, #522 = #462, #524 = #468, #526 = #473, #528 = #478, #529 = #484, #531 = #486, #532 = #490,
#533 = #499, #534 = #485, #536 = #498, #537 = #480, #539 = #487, #540 = #479, #541 = #481, #545 = #437,
#546 = #435, #547 = #433, #548 = #434, #549 = #430, #551 = #429, #552 = #426, #553 = #436, #554 = #423,
#555 = #438, #556 = #421, #557 = #420, and #542 = #697 (both by the same account).
From the same batch, not identical commits:
commit. Both originals are still open.
knowing why the originals were closed before reviewing the copies.
2. More groups: same fix, different authors
[1, 2]or[64, 65]. Each is 10-15 lines inindirect.rs, and all merge clean. #847 was first.xgamesave.rs, with 1, 1, 2 and 3 tests. All are mergeable.XTaskQueueTerminatecancels only its own callbacksv_writelane_b32outside EXEC3. Same goal, different code (one approach has to be chosen)
The added lines mostly differ in these, so they are alternatives rather than copies:
VICTORY_AMBIENTconstant indirect light: #917 (3 tests), #1093 (1 test)Closing the copies in section 1 removes 36 PRs without losing code. Picking one per group in sections 2 and 3 removes
about 30 more.
AI-assisted (Claude Code). Read-only analysis; nothing was built or run for it.