feat: VIctory base moved to Neptune (VIctory Edit.) 2026-11-25c #243

Manually merged
github merged 9 commits from gh-pr/243/head into gh-pr/243/base 2026-11-26 05:39:51 +00:00
Owner

@⁠LooperSalty on GitHub · 2026-11-25 20:55 UTC · original
LooperSalty:feat/victory-neptune → main · +27321 −13512 · 151 files · 9 commits · merged 2026-11-25 21:00 UTC

What changes

third_party/victory moves to Neptune (VIctory Edit.) 2026-11-25c as its new base: the corresponding source shipped in Neptune's package (neptune-ve-source.zip, GPL-3.0-or-later), committed unchanged as one commit, with our changes on top as separate commits. Everything is in-tree: no submodule, no git or out-of-tree path dependency in Cargo.toml / Cargo.lock (crates.io only; a new test checks this), nothing downloaded at build time. crates/victory-formats/src/bcpack-tables.bin is byte-identical to the copy already in the exceptions register. cargo xtask policy: 197 files ok.

Commits:

  1. feat: VIctory base moved to Neptune (VIctory Edit.) 2026-11-25c: the source as shipped, with Source: and Co-authored-by: lines for the credited authors whose GitHub identity is public (the Neptune author has no public contact and is named in the body).
  2. fix(victory): Discord Rich Presence off unless VICTORY_DISCORD=1: Neptune turns it on unless VICTORY_DISCORD=0. Our copy needs VICTORY_DISCORD=1 and has a unit test for it. The launcher also sets VICTORY_DISCORD=0. F12 screenshots to Pictures are kept.
  3. to 6. Our four xg: commits, re-applied with Source: LooperSalty/victory <sha> (19feca8, 1f0fe1d, 36955ee, fb021f7): Microsoft's xg_xs.dll (the user's own copy) as oracle or server (VICTORY_XG_DLL / VICTORY_XG_MODE, used by -XgDll), plus the HLE answers measured against it. Neptune's xg.rs was upstream fxceless 4e17478 unchanged, so nothing of Neptune's own work is replaced.
  4. feat: launcher uses Neptune's Series X switch set, -Warm on the game's .rpf files (details below).
  5. docs: README in all 9 languages (a bullet and the VIctory row: "~12 fps in the world (Series X, RTX 4070 SUPER), measured 2026-11-25"), a "Neptune base" section in docs/running-gta6.md and docs/fr/lancer-gta6.md, THIRD_PARTY.md sources table for Neptune and each repository it credits, AGENTS.md layout row.
  6. test(victory): victory-gpu's unit tests compile again on the Neptune tree (test code only).

Why

Measured by the maintainer on 2026-11-25 (RTX 4070 SUPER, i7-13700KF, Series X path at 4K, world, release build, after victory warm on the game's .rpf files, Neptune's switch set with Discord off):

  • median about 12.5 fps
  • about 15 fps over the last minute, peaks at 30
  • about 7,500 draws a frame
  • no crash

Our main runs at about 5 fps in the same place. The maintainer's verdict: more than 10 fps in game.

Launcher (tools/lancer_victory.ps1)

  • By default it uses Neptune's play.ps1 switch set for the Series X path: no PC FidelityFX DLL, no VICTORY_AUTO_A, VICTORY_DISCORD=0.
    • VICTORY_WAVE_OWN_LDS_GROUPS is left out because no code in the Neptune tree reads it (its soldsawn translator dropped that rule).
    • The old tuned values that Neptune replaces are dropped: SHADER_LOOP_LIMIT, LATE_WAIT, WIDE_BACK, CARD_BUFFERS_MIN_MB/_MB, DSTORAGE_NOTIFY, STAGING_POOL_MB. The last two are not read by the Neptune tree at all.
  • It builds and runs the release profile, as measured. -Diag (or -Dred, which needs it) uses the diag profile with the diagnostics feature.
  • New -Warm runs victory.exe warm <game folder>\*.rpf before the game. It passes only the game folder's own .rpf files, never the folder: warm walks directories, and a game folder can hold unrelated trees.
  • -Precompile now runs victory.exe warm on shaders.rpf, the game and its two DLLs. The Neptune tree has no translate --cache --used-pipelines.
  • New -AutoA (VICTORY_AUTO_A=150) and -FrametimeDump.
  • -XgDll, -XgMode, -Dred, -NoTunedSettings, -SkipPipelines and -BatchCardRehash still work.
  • The tests cover:
    • the switch table equals Neptune's set
    • Discord is off
    • -Warm passes only the top-level .rpf files, and a failed warm stops before the game
    • -Precompile's file list
    • release and diag builds
    • no out-of-tree dependency

Test command for the maintainer: .\tools\lancer_victory.ps1 -GameDir C:\Users\ANAKIN\Downloads\GTA6.Xbox.v1.0.2.1-CYBERLEEK -Warm (first time; then without -Warm).

Not carried over (follow-ups)

These are items our previous tree had that Neptune lacks. None is needed by the launcher, the tests or CI:

  • Graphics pipeline pre-build translate --cache --pipelines --used-pipelines (prebuild.rs, victory-game pipelines.rs / shaderpack.rs / cityhash.rs). It needs victory_gpu::pipeline::Prebuild, which is absent from Neptune.

  • The 57 Proton/Wine and AMD commits of the previous base, including the vkd3d-shader-compatible indirect HLSL. Linux/Proton runs should be re-checked on this base.

  • VICTORY_DSTORAGE_NOTIFY (Yorivel e49864a, bf870de) and VICTORY_STAGING_POOL_MB.

  • The L6 to L9 switches (l6.rs … l9guard.rs: heap clamp, NaN guard, view slots, write-watch guards, roles/unlit diagnostics).

  • Our fps overlay from #225. Neptune's own overlay (F10: fps, 30 s high/low/average, draws, memory) replaces it.

  • Three of Neptune's own victory-gpu unit tests still fail on this machine:

    • spans_say_the_next_start_and_the_lowest_level_viewed
    • warp_card_patch_writes_the_masked_bytes_and_no_others
    • warp_card_fetch_copies_flagged_pieces_to_their_slots (WARP)

    CI does not run VIctory's cargo tests.

Risks (Neptune's notes)

  • Objects and clothes can turn black for a moment while their textures are swapped.
  • Parts of the world are missing behind some doors and on some roofs.
  • No facial animation.
  • Frame time jumps while the game streams.
  • Indoor light is a constant ambient stand-in for the ray-traced lighting (VICTORY_AMBIENT).
  • The switch set is tuned for a 16 GB card. On smaller cards, lower VICTORY_CARD_WINDOWS_MB and VICTORY_CARD_BUFFERS_MB.
  • VICTORY_RELAY=2 is back in the set. The previous launcher left it out because of fork issue #89 (skin, subtitles).

Verification

  • cargo build --locked --profile diag -p victory --features diagnostics and cargo build --locked --release -p victory: OK.
  • cargo test --workspace (VIctory): every crate passes except the three Neptune victory-gpu tests named above.
  • cargo xtask policy: OK.
  • Full pytest: 1033 passed, 300 skipped (runtime not built in this worktree).
  • ruff check --select W605,F,E9 PrototypeScarlett tests tools: OK.
  • The game was not run for this PR. The figures above come from the maintainer's run.

PR #234 (feat/fps-rorodev) is superseded by this one and can stay closed.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LwHrL4bPjrVJiDKC8BDYfz

**@⁠LooperSalty** on GitHub · 2026-11-25 20:55 UTC · [original](https://github.com/LooperSalty/AnyXboxX/pull/243) `LooperSalty:feat/victory-neptune` → `main` · +27321 −13512 · 151 files · 9 commits · merged 2026-11-25 21:00 UTC ## What changes `third_party/victory` moves to **Neptune (VIctory Edit.) 2026-11-25c** as its new base: the corresponding source shipped in Neptune's package (`neptune-ve-source.zip`, GPL-3.0-or-later), committed unchanged as one commit, with our changes on top as separate commits. Everything is in-tree: no submodule, no git or out-of-tree path dependency in `Cargo.toml` / `Cargo.lock` (crates.io only; a new test checks this), nothing downloaded at build time. `crates/victory-formats/src/bcpack-tables.bin` is byte-identical to the copy already in the exceptions register. `cargo xtask policy`: 197 files ok. Commits: 1. `feat: VIctory base moved to Neptune (VIctory Edit.) 2026-11-25c`: the source as shipped, with `Source:` and `Co-authored-by:` lines for the credited authors whose GitHub identity is public (the Neptune author has no public contact and is named in the body). 2. `fix(victory): Discord Rich Presence off unless VICTORY_DISCORD=1`: Neptune turns it on unless `VICTORY_DISCORD=0`. Our copy needs `VICTORY_DISCORD=1` and has a unit test for it. The launcher also sets `VICTORY_DISCORD=0`. F12 screenshots to Pictures are kept. 3. to 6. Our four `xg:` commits, re-applied with `Source: LooperSalty/victory <sha>` (`19feca8`, `1f0fe1d`, `36955ee`, `fb021f7`): Microsoft's `xg_xs.dll` (the user's own copy) as oracle or server (`VICTORY_XG_DLL` / `VICTORY_XG_MODE`, used by `-XgDll`), plus the HLE answers measured against it. Neptune's `xg.rs` was upstream `fxceless` `4e17478` unchanged, so nothing of Neptune's own work is replaced. 7. `feat: launcher uses Neptune's Series X switch set, -Warm on the game's .rpf files` (details below). 8. `docs:` README in all 9 languages (a bullet and the VIctory row: "~12 fps in the world (Series X, RTX 4070 SUPER), measured 2026-11-25"), a "Neptune base" section in `docs/running-gta6.md` and `docs/fr/lancer-gta6.md`, `THIRD_PARTY.md` sources table for Neptune and each repository it credits, `AGENTS.md` layout row. 9. `test(victory):` victory-gpu's unit tests compile again on the Neptune tree (test code only). ## Why Measured by the maintainer on 2026-11-25 (RTX 4070 SUPER, i7-13700KF, Series X path at 4K, world, release build, after `victory warm` on the game's `.rpf` files, Neptune's switch set with Discord off): - median about 12.5 fps - about 15 fps over the last minute, peaks at 30 - about 7,500 draws a frame - no crash Our `main` runs at about 5 fps in the same place. The maintainer's verdict: more than 10 fps in game. ## Launcher (`tools/lancer_victory.ps1`) - By default it uses Neptune's `play.ps1` switch set for the Series X path: no PC FidelityFX DLL, no `VICTORY_AUTO_A`, `VICTORY_DISCORD=0`. - `VICTORY_WAVE_OWN_LDS_GROUPS` is left out because no code in the Neptune tree reads it (its soldsawn translator dropped that rule). - The old tuned values that Neptune replaces are dropped: `SHADER_LOOP_LIMIT`, `LATE_WAIT`, `WIDE_BACK`, `CARD_BUFFERS_MIN_MB/_MB`, `DSTORAGE_NOTIFY`, `STAGING_POOL_MB`. The last two are not read by the Neptune tree at all. - It builds and runs the **release** profile, as measured. `-Diag` (or `-Dred`, which needs it) uses the diag profile with the diagnostics feature. - New `-Warm` runs `victory.exe warm <game folder>\*.rpf` before the game. It passes only the game folder's own `.rpf` files, never the folder: `warm` walks directories, and a game folder can hold unrelated trees. - `-Precompile` now runs `victory.exe warm` on `shaders.rpf`, the game and its two DLLs. The Neptune tree has no `translate --cache --used-pipelines`. - New `-AutoA` (`VICTORY_AUTO_A=150`) and `-FrametimeDump`. - `-XgDll`, `-XgMode`, `-Dred`, `-NoTunedSettings`, `-SkipPipelines` and `-BatchCardRehash` still work. - The tests cover: - the switch table equals Neptune's set - Discord is off - `-Warm` passes only the top-level `.rpf` files, and a failed warm stops before the game - `-Precompile`'s file list - release and diag builds - no out-of-tree dependency Test command for the maintainer: `.\tools\lancer_victory.ps1 -GameDir C:\Users\ANAKIN\Downloads\GTA6.Xbox.v1.0.2.1-CYBERLEEK -Warm` (first time; then without `-Warm`). ## Not carried over (follow-ups) These are items our previous tree had that Neptune lacks. None is needed by the launcher, the tests or CI: - Graphics pipeline pre-build `translate --cache --pipelines --used-pipelines` (`prebuild.rs`, `victory-game` `pipelines.rs` / `shaderpack.rs` / `cityhash.rs`). It needs `victory_gpu::pipeline::Prebuild`, which is absent from Neptune. - The 57 Proton/Wine and AMD commits of the previous base, including the vkd3d-shader-compatible indirect HLSL. Linux/Proton runs should be re-checked on this base. - `VICTORY_DSTORAGE_NOTIFY` (Yorivel `e49864a`, `bf870de`) and `VICTORY_STAGING_POOL_MB`. - The L6 to L9 switches (`l6.rs` … `l9guard.rs`: heap clamp, NaN guard, view slots, write-watch guards, roles/unlit diagnostics). - Our fps overlay from #225. Neptune's own overlay (F10: fps, 30 s high/low/average, draws, memory) replaces it. - Three of Neptune's own victory-gpu unit tests still fail on this machine: - `spans_say_the_next_start_and_the_lowest_level_viewed` - `warp_card_patch_writes_the_masked_bytes_and_no_others` - `warp_card_fetch_copies_flagged_pieces_to_their_slots` (WARP) CI does not run VIctory's cargo tests. ## Risks (Neptune's notes) - Objects and clothes can turn black for a moment while their textures are swapped. - Parts of the world are missing behind some doors and on some roofs. - No facial animation. - Frame time jumps while the game streams. - Indoor light is a constant ambient stand-in for the ray-traced lighting (`VICTORY_AMBIENT`). - The switch set is tuned for a 16 GB card. On smaller cards, lower `VICTORY_CARD_WINDOWS_MB` and `VICTORY_CARD_BUFFERS_MB`. - `VICTORY_RELAY=2` is back in the set. The previous launcher left it out because of fork issue #89 (skin, subtitles). ## Verification - `cargo build --locked --profile diag -p victory --features diagnostics` and `cargo build --locked --release -p victory`: OK. - `cargo test --workspace` (VIctory): every crate passes except the three Neptune victory-gpu tests named above. - `cargo xtask policy`: OK. - Full pytest: 1033 passed, 300 skipped (runtime not built in this worktree). - `ruff check --select W605,F,E9 PrototypeScarlett tests tools`: OK. - The game was not run for this PR. The figures above come from the maintainer's run. PR #234 (`feat/fps-rorodev`) is superseded by this one and can stay closed. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01LwHrL4bPjrVJiDKC8BDYfz
third_party/victory is now the corresponding source of the Neptune
(VIctory Edit.) build of 2026-11-25 (evening), as shipped in its package
(neptune-ve-source.zip, GPL-3.0-or-later), unchanged. It replaces the
previous in-tree copy (fxceless/victory-gta6 lot 9 plus our own commits).

Measured by the maintainer on 2026-11-25 (RTX 4070 SUPER, i7-13700KF,
Series X path at 4K, open world, after `victory warm`): median about
12.5 fps, about 15 fps over the last minute, peaks at 30, about 7,500
draws a frame, no crash; the previous copy ran at about 5 fps there.

crates/victory-formats/src/bcpack-tables.bin is byte-identical to the
copy already named in the exceptions register of THIRD_PARTY.md.
No git or path dependency outside the tree: Cargo.toml and Cargo.lock
only use crates.io.

Neptune stands on (from its NEPTUNE-README.txt): Marvisak/VIctory;
myokex/victory-amd and fxceless/victory-fork (with pull requests by
Jonirulah, Flyander and AscilCH); soldsawn/victory-nvidia-8gb (shader
translator); Belobug and reddxd-byte/ShakiraRED-dt (ambient light pass);
ZSlayerHQ/victory-world-runtime; JoshuuDev/victory-amd; zm0kie (overlay,
window uploads, memory lines, tools/); skornuta/victory-fork (frametime
dump); Trexies (folded small buffers); the FidelityFX redirect patch
received for DexNom Runtime; and the Neptune changes on top (frame time,
mouse and keys, Discord) by the Neptune (VIctory Edit.) author, whose
contact is not public.

Source: Neptune VE 2026-11-25c package (corresponding source)
Co-authored-by: Marvis <[email protected]>
Co-authored-by: myokex <[email protected]>
Co-authored-by: fxceless <[email protected]>
Co-authored-by: Jonirulah <[email protected]>
Co-authored-by: Flyander <[email protected]>
Co-authored-by: AscilCH <[email protected]>
Co-authored-by: soldsawn <[email protected]>
Co-authored-by: beloooo <[email protected]>
Co-authored-by: reddxd-byte <[email protected]>
Co-authored-by: ZSlayerHQ <[email protected]>
Co-authored-by: JoshuuDev <[email protected]>
Co-authored-by: ZM0KIE <[email protected]>
Co-authored-by: skornuta <[email protected]>
Co-authored-by: Trexies <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LwHrL4bPjrVJiDKC8BDYfz
Neptune shows a "Grand Theft Auto VI" Rich Presence through the local
Discord client unless VICTORY_DISCORD=0. Our copy turns it on only when
VICTORY_DISCORD=1 is set; any other value, or none, leaves it off. A unit
test covers the values.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LwHrL4bPjrVJiDKC8BDYfz
VICTORY_XG_DLL=<path> loads the GDK's offline PC xg_xs.dll (never shipped).
VICTORY_XG_MODE=real serves XGSuggestSwizzleMode and XGCreateTextureComputer
from it; the default, compare, keeps our layouts and logs every suggestion,
layout, CPU copy and 64 KiB tiling that differs from the real library.

Measured in Grand Theft Auto VI (1.0.2.1, RTX 4070 Super): 84 texture
descriptions differ, all 64 KiB D textures (layout 0x10a/0x105): tail mips
are reported in the parent mode with a tail position (ours: 256B_D, no
position); sizes and offsets match. The 64 KiB tiling lists every slice of
an array with a mip tail (ours stops at two). Served by the real library,
the world runs 5.4 to 7.1 fps against 5.1 to 5.6.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LwHrL6GTksooYp8Vfo93HL

Re-applied on top of the Neptune base: -XgDll in tools/lancer_victory.ps1 needs it.

Source: LooperSalty/victory 19feca8
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LwHrL4bPjrVJiDKC8BDYfz
Checked against the GDK's offline PC xg_xs.dll (10.0.26100.6247) through
VICTORY_XG_DLL: a tail mip is reported in the texture's own mode at its
element position in the tail block (we said the 256-byte mode, and gave
the position for 3D tails only), and the 64 KiB tiling lists the standard
mips of every array slice even with a mip tail (we stopped at two and
zeroed the second). Grand Theft Auto VI created 84 such descriptions.

The oracle loads the library from its own folder plus the default ones
(error 126 otherwise once the search path is locked down) and logs the
Windows error. A test compares 27 of the title's descriptions with the
library when VICTORY_XG_DLL is set; all match.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LwHrL6GTksooYp8Vfo93HL

Re-applied on top of the Neptune base: -XgDll in tools/lancer_victory.ps1 needs it.

Source: LooperSalty/victory 1f0fe1d
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LwHrL4bPjrVJiDKC8BDYfz
Measured against the GDK's offline PC xg_xs.dll: subresource tilings are
indexed as D3D12 counts subresources (mip + slice * mips), with zeroes for
the packed mips; with a tail the count is standard * slices less first up
to standard. The previous commit listed every slice by standard mip, which
the maintainer saw as a regression (scenes too dark or too bright).

The library's count stops short of ours for arrays with a tail and more
than three slices (rule not found); entries match and the title reads
slice 0 only. The oracle test now also compares tilings: 54 descriptions.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LwHrL6GTksooYp8Vfo93HL
(cherry picked from commit 4466d2e330bce70196fec8772cc60914b762b8dd)

Re-applied on top of the Neptune base: -XgDll in tools/lancer_victory.ps1 needs it.

Source: LooperSalty/victory 36955ee
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LwHrL4bPjrVJiDKC8BDYfz
The library fills the caller's room from `first` on, by subresource, and
returns how many standard mips fall in it: with the 16 entries of room
Grand Theft Auto VI passes, two slices of an array with a mip tail (the
"two slices at most" seen before). Measured on 13 calls in the game and in
tests; the oracle test now checks 54 descriptions at rooms 16 and 64 and
first 0 to 2, counts included.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LwHrL6GTksooYp8Vfo93HL
(cherry picked from commit a16f040210c432c37cfd4ba87ac110cf6731a468)

Re-applied on top of the Neptune base: -XgDll in tools/lancer_victory.ps1 needs it.

Source: LooperSalty/victory fb021f7
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LwHrL4bPjrVJiDKC8BDYfz
tools/lancer_victory.ps1 now sets Neptune (VIctory Edit.) 2026-11-25c's
play.ps1 switch set for the Series X path (no PC FidelityFX DLL), with
VICTORY_DISCORD=0 always. VICTORY_WAVE_OWN_LDS_GROUPS is left out: no code
of the Neptune tree reads it. Our older tuned values are dropped:
VICTORY_SHADER_LOOP_LIMIT (diagnostics builds only), VICTORY_LATE_WAIT
(stage 3 already follows from VICTORY_RELAY), VICTORY_WIDE_BACK (on by
default), VICTORY_CARD_BUFFERS_MIN_MB/_MB (replaced by Neptune's values),
VICTORY_DSTORAGE_NOTIFY and VICTORY_STAGING_POOL_MB (not in the Neptune
tree).

- Builds and runs the release profile by default, as the frame rates were
  measured; -Diag (or -Dred, which needs it) uses the diag profile with
  the diagnostics feature.
- -Warm runs `victory.exe warm` on the .rpf files of the game folder only,
  never the folder itself (it would walk unrelated trees beside the game).
- -Precompile now runs `victory.exe warm` on shaders.rpf, the game and its
  two DLLs: the Neptune tree has no `translate --cache --used-pipelines`.
- -AutoA taps A through the start screens (VICTORY_AUTO_A=150), off by
  default; -FrametimeDump writes the frame time CSV.
- -XgDll, -XgMode, -NoTunedSettings, -SkipPipelines and -BatchCardRehash
  are kept.

Tests: the switch table equals Neptune's set, Discord is off, -Warm passes
only the top-level .rpf files and a failed warm stops before the game,
-Precompile's file list, release and diag builds, and no git or path
dependency outside third_party/victory.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LwHrL4bPjrVJiDKC8BDYfz
- README (all 9 languages, rule 6): a bullet and the VIctory row now say
  ~12 fps in the world (Series X, RTX 4070 SUPER), measured 2026-11-25,
  on the Neptune (VIctory Edit.) 2026-11-25c base; the older figures are
  labelled as measured with the previous base 80d58f8. Same row count.
- docs/running-gta6.md and docs/fr/lancer-gta6.md: a "Neptune base"
  section (launcher commands, -Warm, measurements, known issues).
- THIRD_PARTY.md: a sources table for the Neptune base (Neptune and each
  repository its readme credits, plus our re-applied xg: commits); the
  previous table is kept as the previous base's history; bcpack-tables.bin
  noted byte-identical.
- AGENTS.md: the layout row names the Neptune base.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LwHrL4bPjrVJiDKC8BDYfz
Neptune's tree did not compile victory-gpu's unit tests: the span test
predates the view description argument of Spans::note, and the shadow
test's Card lacked the transient window fields (staging is now optional,
chunks and flagged are new). Test code only.

Still failing after this, in Neptune's own tests (listed in the pull
request as follow-ups): descriptor::host::tests::spans_say_the_next_start_and_the_lowest_level_viewed
(the newer-view rule forgets slots 1 and 2), and the two WARP tests
indirect::tests::warp_card_patch_writes_the_masked_bytes_and_no_others and
warp_card_fetch_copies_flagged_pieces_to_their_slots.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LwHrL4bPjrVJiDKC8BDYfz
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:39:49 +00:00
github manually merged commit 785b50e255 into gh-pr/243/base 2026-11-26 05:39:51 +00:00
Author
Owner

@⁠chatgpt-codex-connector[bot] on GitHub · 2026-11-25 20:55 UTC · original · edited 2026-11-25 20:59 UTC

Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-25T20:59:21.750023Z 785b50e PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@⁠codex review" or "@⁠codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

**@⁠chatgpt-codex-connector[bot]** on GitHub · 2026-11-25 20:55 UTC · [original](https://github.com/LooperSalty/AnyXboxX/pull/243#issuecomment-7174380957) · edited 2026-11-25 20:59 UTC <!-- codex-pull-request-review-summary --> <!-- codex-review-state:v1 {"code_review":{"commit_sha":"785b50e255a76fcd470e390086679b0b0f727403","has_any_findings":true,"has_unresolved_findings":true,"status":"completed"},"security_review":{"commit_sha":null,"has_any_findings":null,"has_unresolved_findings":null,"status":null}} --> <details> <summary><strong>Codex Review Summary</strong>: ✅ Completed</summary> This comment shows the latest Codex review activity on this pull request. | Review | Status | Commit | Review trigger | | --- | --- | --- | --- | | 📝 **Code Review** | ✅ **Completed** <relative-time datetime="2026-11-25T20:59:21.750023Z">2026-11-25T20:59:21.750023Z</relative-time> | `785b50e` | PR opened | <details> <summary>ℹ️ About Codex in GitHub</summary> <br/> [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@⁠codex review" or "@⁠codex security review". Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. </details> </details>
@ -237,0 +225,4 @@
// Unused: the widths again in all entries but the first.
r.u16();
// Only 15 slots for set 1, which no entry uses (0 bits).
for v in &mut ix.ix.as_flattened_mut()[..31] {
Author
Owner

@⁠chatgpt-codex-connector[bot] on GitHub · 2026-11-25 20:59 UTC · original

P2 Badge Preserve the first BC7 dictionary entry's distinct layout

For BC7 streams that reference dictionary entry 0, unconditionally skipping this word corrupts the decoded indices. Unlike subsequent entries, entry 0 has all 32 indices immediately after the width bytes, without repeated widths. The unchanged shipped table begins with indices [2, 1, 0, ...], but this parser now reads [1, 0, ...]; bc7() then uses those shifted values to reconstruct texture blocks. Restore the entry-0 special case and its removed regression test, bc7_first_dictionary_entry_keeps_all_32_indices.

Useful? React with 👍 / 👎.

**@⁠chatgpt-codex-connector[bot]** on GitHub · 2026-11-25 20:59 UTC · [original](https://github.com/LooperSalty/AnyXboxX/pull/243#discussion_r4700801553) **<sub><sub>![P2 Badge](https://img.shields.io/badge/P2-yellow?style=flat)</sub></sub> Preserve the first BC7 dictionary entry's distinct layout** For BC7 streams that reference dictionary entry 0, unconditionally skipping this word corrupts the decoded indices. Unlike subsequent entries, entry 0 has all 32 indices immediately after the width bytes, without repeated widths. The unchanged shipped table begins with indices `[2, 1, 0, ...]`, but this parser now reads `[1, 0, ...]`; `bc7()` then uses those shifted values to reconstruct texture blocks. Restore the entry-0 special case and its removed regression test, `bc7_first_dictionary_entry_keeps_all_32_indices`. Useful? React with 👍 / 👎. <!-- codex-code-review-finding:v1 -->
Author
Owner

@⁠chatgpt-codex-connector[bot] on GitHub · 2026-11-25 20:59 UTC · original · reviewed

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 785b50e255

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@⁠codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@⁠codex address that feedback".

**@⁠chatgpt-codex-connector[bot]** on GitHub · 2026-11-25 20:59 UTC · [original](https://github.com/LooperSalty/AnyXboxX/pull/243#pullrequestreview-6064903366) · **reviewed** <!-- codex-review-receipt:v1 --> ### 💡 Codex Review Here are some automated review suggestions for this pull request. **Reviewed commit:** `785b50e255` <details> <summary>ℹ️ About Codex in GitHub</summary> <br/> [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@⁠codex review". If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@⁠codex address that feedback". </details>
This discussion has been locked. Commenting is limited to contributors.
No description provided.