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

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

@⁠PranThow on GitHub · 2026-11-29 13:39 UTC · original
PranThow:advisor-deliberate-skips → main · +47 −11 · 4 files · 1 commits · open

[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

**@⁠PranThow** on GitHub · 2026-11-29 13:39 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2496) `PranThow:advisor-deliberate-skips` → `main` · +47 −11 · 4 files · 1 commits · open [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
With ray tracing off, the explainer showed "NOTE: 15 DRAWS SKIPPED, THEIR
SHADERS CANNOT BE CONVERTED YET / A LATER BUILD FIXES THESE" while the same
run's log said "0 shaders do not translate" (RTX 5080, Series X, 4K, DLSS
performance, 2026-11-29). Its count was every dropped draw and dispatch,
and those include the ones dropped by choice: the structure builder's stages
while it is off, and pipelines left out on purpose (VICTORY_LEAVE_OUT, the
water light, ray-tracing passes without the builder).

Drops now say whether they were on purpose, and the explainer counts only
the others. The F3 panel's DROPPED and the 5-second line are unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015tK7xjqzeXHD9EeGKKHj43
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 13:39:23 +00:00
Author
Owner

@⁠copilot-pull-request-reviewer[bot] on GitHub · 2026-11-29 13:39 UTC · original · reviewed

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.

**@⁠copilot-pull-request-reviewer[bot]** on GitHub · 2026-11-29 13:39 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2496#pullrequestreview-6103117925) · **reviewed** 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 has changes conflicting with the target branch.
  • crates/victory-gpu/src/draw.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/2496/head:github-bot/gh-2496'
git switch 'github-bot/gh-2496'

Merge

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