F2 explainer: draws skipped on purpose are not "shaders that cannot be converted yet" #2496

Open
PranThow wants to merge 1 commit from upstream-pr/2496 into main
PranThow commented 2026-11-29 13:39:00 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by PranThow on 2026-11-29T13:39:00Z.


[pr-fix] [area: gpu, advisor]

What it changes

With ray tracing off, the F2 explainer showed:

NOTE: 15 DRAWS SKIPPED, THEIR SHADERS CANNOT BE CONVERTED YET
TRY: NOTHING ON YOUR SIDE. A LATER BUILD FIXES THESE

while the same run's log said 0 shaders do not translate failed=0 untranslated=0. The explainer counted every dropped draw and dispatch (draw::DROPPED), and those include drops made by choice: the structure builder's stages while it is off (is_builder && !builder_runs()), and pipelines left out on purpose (make::left_out: VICTORY_LEAVE_OUT, the water light, ray-tracing passes without the builder).

Drops now say whether they were on purpose (count_dropped(on_purpose), with pipeline::left_out / Pending::is_left_out), and the explainer reads only the others (draw::dropped_not_on_purpose). The F3 panel's DROPPED, take_dropped and the 5-second line are unchanged. 4 files, +47/-11.

How it was tested

  • GPU and profile: RTX 5080 16 GB, Ryzen 9 9950X3D2, 64 GB, Windows 11; Series X, 3840x2160 output, DLSS Performance, DLSS frame generation 2x, ray tracing off
  • Before (the release victory.exe): F2 showed NOTE: 15 DRAWS SKIPPED, THEIR SHADERS CANNOT BE CONVERTED YET; log: 0 shaders do not translate
  • After (this branch, built on windows-latest, F3 shows BUILD ADVISOR-TEST): the note is gone; F3 still shows DROPPED 239 / DROPPED 273 in the same area, so the drops are still counted, only no longer reported as translation failures
  • For shader changes, the wave sizes tested: no shader change
  • cargo test passed for the crates it touches: yes, cargo test -p victory-gpu --locked on windows-latest: 915 passed, 0 failed, 57 ignored

Screenshots

Same area, same settings (Series X, 4K, DLSS Performance, FG 2x, ray tracing off).

Before (release victory.exe): F2 reports skipped draws as untranslatable shaders, while the log says 0 shaders do not translate.

Before: F2 shows NOTE: 15 DRAWS SKIPPED

After (this branch, F3 shows BUILD ADVISOR-TEST): the false note is gone, and F3 still counts DROPPED 239.

After: no skipped-draws note, F3 shows DROPPED 239

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches. Related: #2006 and #1526 (dropped draws counted by reason in the 5-second line) and #1967 (builder skips separated from DROPPED) touch the same counter for the log; none changes what the F2 explainer reports. This is kept small so it rebases onto either.

Note: on main as of 829188e, cargo clippy -D warnings already fails in victory-shader (emit/lower/analysis.rs, emit/lower.rs), the --all-features build fails in victory-gpu (host.rs, copystat.rs, fetchmem.rs), and cargo xtask policy flags crates/victory-loader/src/heap_sites/frame_users.rs. None of these are in the files this changes.

🤖 Generated with Claude Code

https://claude.ai/code/session_015tK7xjqzeXHD9EeGKKHj43

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5551262985 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2496). Originally posted by [PranThow](https://github.com/PranThow) on 2026-11-29T13:39:00Z. --- [pr-fix] [area: gpu, advisor] ## What it changes With ray tracing off, the F2 explainer showed: > NOTE: 15 DRAWS SKIPPED, THEIR SHADERS CANNOT BE CONVERTED YET > TRY: NOTHING ON YOUR SIDE. A LATER BUILD FIXES THESE while the same run's log said `0 shaders do not translate failed=0 untranslated=0`. The explainer counted every dropped draw and dispatch (`draw::DROPPED`), and those include drops made by choice: the structure builder's stages while it is off (`is_builder && !builder_runs()`), and pipelines left out on purpose (`make::left_out`: `VICTORY_LEAVE_OUT`, the water light, ray-tracing passes without the builder). Drops now say whether they were on purpose (`count_dropped(on_purpose)`, with `pipeline::left_out` / `Pending::is_left_out`), and the explainer reads only the others (`draw::dropped_not_on_purpose`). The F3 panel's `DROPPED`, `take_dropped` and the 5-second line are unchanged. 4 files, +47/-11. ## How it was tested - GPU and profile: RTX 5080 16 GB, Ryzen 9 9950X3D2, 64 GB, Windows 11; Series X, 3840x2160 output, DLSS Performance, DLSS frame generation 2x, ray tracing off - Before (the release `victory.exe`): F2 showed `NOTE: 15 DRAWS SKIPPED, THEIR SHADERS CANNOT BE CONVERTED YET`; log: `0 shaders do not translate` - After (this branch, built on `windows-latest`, F3 shows `BUILD ADVISOR-TEST`): the note is gone; F3 still shows `DROPPED 239` / `DROPPED 273` in the same area, so the drops are still counted, only no longer reported as translation failures - For shader changes, the wave sizes tested: no shader change - `cargo test` passed for the crates it touches: yes, `cargo test -p victory-gpu --locked` on `windows-latest`: 915 passed, 0 failed, 57 ignored ## Screenshots Same area, same settings (Series X, 4K, DLSS Performance, FG 2x, ray tracing off). **Before** (release `victory.exe`): F2 reports skipped draws as untranslatable shaders, while the log says `0 shaders do not translate`. <img width="1456" height="819" alt="Before: F2 shows NOTE: 15 DRAWS SKIPPED" src="https://github.com/user-attachments/assets/7b8ec482-a307-450a-9dc0-02928ff78fa5" /> **After** (this branch, F3 shows `BUILD ADVISOR-TEST`): the false note is gone, and F3 still counts `DROPPED 239`. <img width="1456" height="819" alt="After: no skipped-draws note, F3 shows DROPPED 239" src="https://github.com/user-attachments/assets/58e4e265-ea7c-4c25-8200-7a5fd7b96373" /> ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. Related: #2006 and #1526 (dropped draws counted by reason in the 5-second line) and #1967 (builder skips separated from `DROPPED`) touch the same counter for the log; none changes what the F2 explainer reports. This is kept small so it rebases onto either. Note: on `main` as of 829188e, `cargo clippy -D warnings` already fails in `victory-shader` (`emit/lower/analysis.rs`, `emit/lower.rs`), the `--all-features` build fails in `victory-gpu` (`host.rs`, `copystat.rs`, `fetchmem.rs`), and `cargo xtask policy` flags `crates/victory-loader/src/heap_sites/frame_users.rs`. None of these are in the files this changes. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_015tK7xjqzeXHD9EeGKKHj43
copilot-pull-request-reviewer[bot] commented 2026-11-29 13:39:09 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by copilot-pull-request-reviewer[bot] on 2026-11-29T13:39:09Z.

Review: COMMENTED


Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:review:6103117925 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2496#pullrequestreview-6103117925). Originally posted by [copilot-pull-request-reviewer[bot]](https://github.com/apps/copilot-pull-request-reviewer) on 2026-11-29T13:39:09Z. **Review:** COMMENTED --- Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/2496:upstream-pr/2496'
git switch 'upstream-pr/2496'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/2496'
git switch 'upstream-pr/2496'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2496'
git switch 'upstream-pr/2496'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2496'
git switch 'main'
git merge --squash 'upstream-pr/2496'
git switch 'main'
git merge --ff-only 'upstream-pr/2496'
git switch 'main'
git merge 'upstream-pr/2496'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
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.

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