Add opt-in neutral probe light workaround for false red/blue flashes #851

Manually merged
github merged 1 commit from github-bot/gh-851 into main 2026-11-28 19:42:53 +00:00 AGit
Owner

@⁠t90 on GitHub · 2026-11-28 07:43 UTC · original
t90:contribute/police-light-workaround → main · +256 −6 · 4 files · 1 commits · merged 2026-11-28 19:39 UTC

Diffuse screen-probe lighting can flash red/blue on nearby surfaces without a corresponding light source. The existing ambient fallback can be skipped when depth is unavailable, leaving this output visible.

VICTORY_PROBE_NEUTRAL= optionally replaces the direct diffuse resolve output with neutral irradiance before later material and interface composition. It has no depth dependency. Unset/zero leaves existing behavior unchanged; the F1 NEUTRAL PROBE LIGHT row selects 0.3 or off and requires restart.

The replacement is limited to nonempty direct diffuse resolves with a supported R32_UINT 2D output and mip-zero color-plane UAV. It does not replace indirect dispatches or unrelated resources. It suppresses legitimate indirect color as well as erroneous color; this is a workaround, not a repair of the original probe calculation.

Validation:

  • @⁠t90 observed the false red/blue illumination disappear with neutral probe light enabled, and reported the phone screen rendered correctly after limiting the intervention to this path.
  • GPU regression checks cover neutral packed output and depth-independent operation; rejection checks cover resource/UAV format, mip, plane, and role.
  • Both neutral-probe GPU/scope regression tests passed; asset policy:294 files passed.

No game captures, shader dumps, assets, or machine-specific launcher paths are included.

Local check detail: both workspace Clippy configurations (--all-targets, with and without --all-features) pass with command-line allowances for three lint classes already failing in unchanged upstream code: manual_is_multiple_of (descriptor.rs and shadow.rs), let_and_return (shader emit tests), and some_filter (gameinput.rs). No lint allowances were added to source or CI. Strict upstream CI can still report those existing failures. The complete workspace test suite was not run locally; the listed focused GPU/correctness tests were run on these isolated branches.

Additional play-test report pending isolation: both headlamp lenses and road illumination were reported absent in the combined Series S build. The gray composition formula only adds scene brightness; no explicit headlight disable exists in the profile code. A same-car/night comparison with neutral probe light off, then a console-profile comparison if needed, remains pending. This report has not been attributed to the probe workaround.

**@⁠t90** on GitHub · 2026-11-28 07:43 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/851) `t90:contribute/police-light-workaround` → `main` · +256 −6 · 4 files · 1 commits · merged 2026-11-28 19:39 UTC Diffuse screen-probe lighting can flash red/blue on nearby surfaces without a corresponding light source. The existing ambient fallback can be skipped when depth is unavailable, leaving this output visible. VICTORY_PROBE_NEUTRAL=<level> optionally replaces the direct diffuse resolve output with neutral irradiance before later material and interface composition. It has no depth dependency. Unset/zero leaves existing behavior unchanged; the F1 NEUTRAL PROBE LIGHT row selects 0.3 or off and requires restart. The replacement is limited to nonempty direct diffuse resolves with a supported R32_UINT 2D output and mip-zero color-plane UAV. It does not replace indirect dispatches or unrelated resources. It suppresses legitimate indirect color as well as erroneous color; this is a workaround, not a repair of the original probe calculation. Validation: - @⁠t90 observed the false red/blue illumination disappear with neutral probe light enabled, and reported the phone screen rendered correctly after limiting the intervention to this path. - GPU regression checks cover neutral packed output and depth-independent operation; rejection checks cover resource/UAV format, mip, plane, and role. - Both neutral-probe GPU/scope regression tests passed; asset policy:294 files passed. No game captures, shader dumps, assets, or machine-specific launcher paths are included. Local check detail: both workspace Clippy configurations (--all-targets, with and without --all-features) pass with command-line allowances for three lint classes already failing in unchanged upstream code: manual_is_multiple_of (descriptor.rs and shadow.rs), let_and_return (shader emit tests), and some_filter (gameinput.rs). No lint allowances were added to source or CI. Strict upstream CI can still report those existing failures. The complete workspace test suite was not run locally; the listed focused GPU/correctness tests were run on these isolated branches. Additional play-test report pending isolation: both headlamp lenses and road illumination were reported absent in the combined Series S build. The gray composition formula only adds scene brightness; no explicit headlight disable exists in the profile code. A same-car/night comparison with neutral probe light off, then a console-profile comparison if needed, remains pending. This report has not been attributed to the probe workaround.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 14:29:02 +00:00
github-bot referenced this pull request from a commit 2026-11-28 19:41:56 +00:00
github manually merged commit 017f3f3c9b into main 2026-11-28 19:42:53 +00:00
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!851
No description provided.