Cover painted texture recheck lifetime #2651

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

@⁠julioleaosaphira on GitHub · 2026-11-29 15:33 UTC · original
julioleaosaphira:test/painted-recheck-lifetime-20261129 → main · +47 −5 · 1 files · 1 commits · draft

What it changes

Follow-up to #1573: preserve regression coverage for the recheck lifetime of painted textures. Extract the existing unchanged-texture scheduling decision into a small pure helper; its production behaviour, defaults and environment switches stay the same.

Two synthetic tests check that:

  • a texture already marked PAINTED remains watched through 1,024 unchanged checks, for intervals of 1, 4 and 120 frames;
  • ordinary textures retain the finite 576-frame schedule with the switch on or off, and an inactive painted marker retires safely.

No game files, GPU fixtures or new dependencies. This is test coverage, not a claim to fix remaining face corruption or improve FPS.

How it was tested

Base: main 829188e9; Windows 11 x64, pinned Rust 1.98.1, RTX 5060 Ti 16 GB. New tests do not initialise a GPU.

  • Before: no focused coverage of this scheduling decision.
  • After: cargo test --profile diag --features diagnostics --locked -p victory-gpu --lib painted_texture_tests -- --test-threads=1: 2 passed.
  • Diagnostics validation locally included the minimal build repair from #2593, kept off this PR branch. The diagnostics application build passed.
  • Full diagnostics GPU library suite, serial: 989 passed, 1 failed, 59 ignored. The remaining failure is the existing bgrx_plane_selects_a_typed_view assertion addressed by #2632. A parallel run also failed places_written_after_sending_are_learned; that test passed alone and in the serial suite.
  • Changed-file asset policy: 1 file passed. git diff --check passed.
  • Existing main blockers remain: strict Clippy stops in victory-shader (unused imports and while_immutable_condition); whole-tree asset policy rejects the unchanged heap_sites/frame_users.rs literal run. No policy or lint suppression is added here.
  • Shader wave sizes / gameplay FPS: not applicable; shader translation is unchanged. No visual fix has been validated.

Checked for overlap

  • Searched current PRs and main before starting and again after the morning merge. #1573 and #1706 are now merged; this adds only focused lifetime tests. Related build/test repairs #2593 and #2632 are left to their existing authors.
**@⁠julioleaosaphira** on GitHub · 2026-11-29 15:33 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2651) `julioleaosaphira:test/painted-recheck-lifetime-20261129` → `main` · +47 −5 · 1 files · 1 commits · draft ## What it changes Follow-up to #1573: preserve regression coverage for the recheck lifetime of painted textures. Extract the existing unchanged-texture scheduling decision into a small pure helper; its production behaviour, defaults and environment switches stay the same. Two synthetic tests check that: - a texture already marked PAINTED remains watched through 1,024 unchanged checks, for intervals of 1, 4 and 120 frames; - ordinary textures retain the finite 576-frame schedule with the switch on or off, and an inactive painted marker retires safely. No game files, GPU fixtures or new dependencies. This is test coverage, not a claim to fix remaining face corruption or improve FPS. ## How it was tested Base: main 829188e9; Windows 11 x64, pinned Rust 1.98.1, RTX 5060 Ti 16 GB. New tests do not initialise a GPU. - Before: no focused coverage of this scheduling decision. - After: cargo test --profile diag --features diagnostics --locked -p victory-gpu --lib painted_texture_tests -- --test-threads=1: 2 passed. - Diagnostics validation locally included the minimal build repair from #2593, kept off this PR branch. The diagnostics application build passed. - Full diagnostics GPU library suite, serial: 989 passed, 1 failed, 59 ignored. The remaining failure is the existing bgrx_plane_selects_a_typed_view assertion addressed by #2632. A parallel run also failed places_written_after_sending_are_learned; that test passed alone and in the serial suite. - Changed-file asset policy: 1 file passed. git diff --check passed. - Existing main blockers remain: strict Clippy stops in victory-shader (unused imports and while_immutable_condition); whole-tree asset policy rejects the unchanged heap_sites/frame_users.rs literal run. No policy or lint suppression is added here. - Shader wave sizes / gameplay FPS: not applicable; shader translation is unchanged. No visual fix has been validated. ## Checked for overlap - [x] Searched current PRs and main before starting and again after the morning merge. #1573 and #1706 are now merged; this adds only focused lifetime tests. Related build/test repairs #2593 and #2632 are left to their existing authors.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 15:35:55 +00:00
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

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

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-2651'
git switch 'github-bot/gh-2651'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-2651'
git switch 'github-bot/gh-2651'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-2651'
git switch 'main'
git merge --squash 'github-bot/gh-2651'
git switch 'main'
git merge --ff-only 'github-bot/gh-2651'
git switch 'main'
git merge 'github-bot/gh-2651'
git push origin 'main'
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!2651
No description provided.