Stand-ins and guards: mandy's picture bounds and fixes (from mandy) #549

Open
github-bot wants to merge 1 commit from github-bot/gh-549 into main AGit
Owner

@⁠voiceovarian1-max on GitHub · 2026-12-03 09:44 UTC · original
voiceovarian1-max:port-picture → main · +480 −23 · 12 files · 1 commits · open

The picture settings mandy's launcher runs with, ported with the code they need:

  • the indirect-light stand-in's bounds: VICTORY_AMBIENT_MOST 2 (the title's own result may keep
    2 times the estimate, not 4: rooms looked at towards a window went very bright),
    VICTORY_REFLECT_MOST 0.5 (reflections no brighter than half the room's light: eyes glowed
    white, wooden floors had an oily sheen) and VICTORY_AMBIENT_ALPHA 4 (glass, particles and
    dust no more than 4 times the light around); the last two follow the programs the title
    profile names (roles ambient.reflect, ambient.alpha) and do nothing without them;
  • VICTORY_NAN_GUARD 1: a NaN a shader writes is made 0 before the title's blur and upscaler
    spread it (black blobs); an image store keeps its infinity;
  • VICTORY_STATIC_SAMPLERS_LINEAR=profile: the immediate samplers of the programs the profile
    lists (new role static_samplers_linear) filter linearly (colour grading came out in bands);
  • VICTORY_BVH_MISS with VICTORY_RT_RESOLVE: with ray tracing off, walks end at the root and the
    resolve and ray-activation programs run on those misses (magenta blocks otherwise);
  • VICTORY_UPLOAD_GUARD.

Ported from ProjectLeonida/mandy 804280d80, ce55bf1c0 (NotRexed), fee07ff77, b8bd37111 and
9cd740fed, with their sources KyleS98/VIctory-Neo a6e85c6, voidopcode/vilocity 767369a and
trustno1-coder/VIctory-NVIDIA e530c003 and 0721b910; GPL-3.0(-or-later).

What is in it

  • crates/victory-gpu/src/ambient.rs | 114 +++++++++++++++++--
  • crates/victory-gpu/src/draw.rs | 19 +++-
  • crates/victory-gpu/src/list.rs | 3 +
  • crates/victory-gpu/src/pipeline/host.rs | 127 +++++++++++++++++++++-
  • crates/victory-gpu/src/shader_cache.rs | 3 +
  • crates/victory-gpu/src/shader_sources.rs | 36 +++++-
  • crates/victory-gpu/src/texture.rs | 120 +++++++++++++++++++-
  • crates/victory-profile/src/lib.rs | 3 +
  • crates/victory-shader/src/emit/intersect.rs | 35 ++++++
  • crates/victory-shader/src/emit/intersect_tests.rs | 17 +++
  • crates/victory-shader/src/emit/lower.rs | 11 ++
  • scripts/play-foxhound.ps1 | 15 +++

Tested

  • cargo check --workspace --tests --locked on main 7dbcdcb: no errors, no warnings.
  • In the game: only together with the other ports from mandy, in one combined build (results to follow here before this leaves draft).

Not tested

  • This change on its own in the game; AMD and Intel cards; the Series X profile.

AI use

Claude Code with Claude Opus 5.5 ported this from mandy, resolved its conflicts with this tree and wrote this description.

🤖 Generated with Claude Code

**@⁠voiceovarian1-max** on GitHub · 2026-12-03 09:44 UTC · [original](https://github.com/readmet3xt-lab/foxhound/pull/549) `voiceovarian1-max:port-picture` → `main` · +480 −23 · 12 files · 1 commits · open The picture settings mandy's launcher runs with, ported with the code they need: - the indirect-light stand-in's bounds: VICTORY_AMBIENT_MOST 2 (the title's own result may keep 2 times the estimate, not 4: rooms looked at towards a window went very bright), VICTORY_REFLECT_MOST 0.5 (reflections no brighter than half the room's light: eyes glowed white, wooden floors had an oily sheen) and VICTORY_AMBIENT_ALPHA 4 (glass, particles and dust no more than 4 times the light around); the last two follow the programs the title profile names (roles ambient.reflect, ambient.alpha) and do nothing without them; - VICTORY_NAN_GUARD 1: a NaN a shader writes is made 0 before the title's blur and upscaler spread it (black blobs); an image store keeps its infinity; - VICTORY_STATIC_SAMPLERS_LINEAR=profile: the immediate samplers of the programs the profile lists (new role static_samplers_linear) filter linearly (colour grading came out in bands); - VICTORY_BVH_MISS with VICTORY_RT_RESOLVE: with ray tracing off, walks end at the root and the resolve and ray-activation programs run on those misses (magenta blocks otherwise); - VICTORY_UPLOAD_GUARD. Ported from ProjectLeonida/mandy 804280d80, ce55bf1c0 (NotRexed), fee07ff77, b8bd37111 and 9cd740fed, with their sources KyleS98/VIctory-Neo a6e85c6, voidopcode/vilocity 767369a and trustno1-coder/VIctory-NVIDIA e530c003 and 0721b910; GPL-3.0(-or-later). **What is in it** - `crates/victory-gpu/src/ambient.rs` | 114 +++++++++++++++++-- - `crates/victory-gpu/src/draw.rs` | 19 +++- - `crates/victory-gpu/src/list.rs` | 3 + - `crates/victory-gpu/src/pipeline/host.rs` | 127 +++++++++++++++++++++- - `crates/victory-gpu/src/shader_cache.rs` | 3 + - `crates/victory-gpu/src/shader_sources.rs` | 36 +++++- - `crates/victory-gpu/src/texture.rs` | 120 +++++++++++++++++++- - `crates/victory-profile/src/lib.rs` | 3 + - `crates/victory-shader/src/emit/intersect.rs` | 35 ++++++ - `crates/victory-shader/src/emit/intersect_tests.rs` | 17 +++ - `crates/victory-shader/src/emit/lower.rs` | 11 ++ - `scripts/play-foxhound.ps1` | 15 +++ **Tested** - `cargo check --workspace --tests --locked` on `main` 7dbcdcb: no errors, no warnings. - In the game: only together with the other ports from mandy, in one combined build (results to follow here before this leaves draft). **Not tested** - This change on its own in the game; AMD and Intel cards; the Series X profile. **AI use** Claude Code with Claude Opus 5.5 ported this from mandy, resolved its conflicts with this tree and wrote this description. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
The picture settings mandy's launcher runs with, ported with the code they need:
- the indirect-light stand-in's bounds: VICTORY_AMBIENT_MOST 2 (the title's own result may keep
  2 times the estimate, not 4: rooms looked at towards a window went very bright),
  VICTORY_REFLECT_MOST 0.5 (reflections no brighter than half the room's light: eyes glowed
  white, wooden floors had an oily sheen) and VICTORY_AMBIENT_ALPHA 4 (glass, particles and
  dust no more than 4 times the light around); the last two follow the programs the title
  profile names (roles ambient.reflect, ambient.alpha) and do nothing without them;
- VICTORY_NAN_GUARD 1: a NaN a shader writes is made 0 before the title's blur and upscaler
  spread it (black blobs); an image store keeps its infinity;
- VICTORY_STATIC_SAMPLERS_LINEAR=profile: the immediate samplers of the programs the profile
  lists (new role static_samplers_linear) filter linearly (colour grading came out in bands);
- VICTORY_BVH_MISS with VICTORY_RT_RESOLVE: with ray tracing off, walks end at the root and the
  resolve and ray-activation programs run on those misses (magenta blocks otherwise);
- VICTORY_UPLOAD_GUARD.

Ported from ProjectLeonida/mandy 804280d80, ce55bf1c0 (NotRexed), fee07ff77, b8bd37111 and
9cd740fed, with their sources KyleS98/VIctory-Neo a6e85c6, voidopcode/vilocity 767369a and
trustno1-coder/VIctory-NVIDIA e530c003 and 0721b910; GPL-3.0(-or-later).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-03 09:46:15 +00:00
Author
Owner

@⁠voiceovarian1-max on GitHub · 2026-12-03 10:04 UTC · original

Combined test of this PR with #521, #543 and #544-#556, all merged onto main 7dbcdcb (branch fox-all of voiceovarian1-max/foxhound):

  • RTX 4070 Ti 12 GB (driver 617.14), i7-14700K, 32 GB, Windows 11 Pro 26300; release.
  • cargo test --workspace --locked -- --test-threads=4: 1,415 passed, 0 failed, 50 ignored (29 binaries), no SKIPPED.
  • Retail title, Series S profile, DLSS Balanced, 60 fps limit, keys pressed by the layer only (VICTORY_KEYS, no input from the PC): window scene 38-42 fps against 34-37 for main on the same boot; no device removal, no crash; a burst of 67 pictures showed no one-picture flicker of the character's clothes.
  • Not tested: each PR alone in the game; AMD and Intel; the Series X profile; long play.

Tested by Claude Code with Claude Opus 5.5 on the hardware named.

**@⁠voiceovarian1-max** on GitHub · 2026-12-03 10:04 UTC · [original](https://github.com/readmet3xt-lab/foxhound/pull/549#issuecomment-7374690894) Combined test of this PR with #521, #543 and #544-#556, all merged onto `main` 7dbcdcb (branch fox-all of voiceovarian1-max/foxhound): - RTX 4070 Ti 12 GB (driver 617.14), i7-14700K, 32 GB, Windows 11 Pro 26300; release. - `cargo test --workspace --locked -- --test-threads=4`: 1,415 passed, 0 failed, 50 ignored (29 binaries), no `SKIPPED`. - Retail title, Series S profile, DLSS Balanced, 60 fps limit, keys pressed by the layer only (`VICTORY_KEYS`, no input from the PC): window scene 38-42 fps against 34-37 for `main` on the same boot; no device removal, no crash; a burst of 67 pictures showed no one-picture flicker of the character's clothes. - Not tested: each PR alone in the game; AMD and Intel; the Series X profile; long play. Tested by Claude Code with Claude Opus 5.5 on the hardware named.
This pull request has changes conflicting with the target branch.
  • crates/victory-gpu/src/ambient.rs
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/549/head:github-bot/gh-549'
git switch 'github-bot/gh-549'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-549'
git switch 'github-bot/gh-549'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-549'
git switch 'github-bot/gh-549'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-549'
git switch 'main'
git merge --squash 'github-bot/gh-549'
git switch 'main'
git merge --ff-only 'github-bot/gh-549'
git switch 'main'
git merge 'github-bot/gh-549'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.