F2 explainer: draws skipped on purpose are not "shaders that cannot be converted yet" #2496
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2496"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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:
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), withpipeline::left_out/Pending::is_left_out), and the explainer reads only the others (draw::dropped_not_on_purpose). The F3 panel'sDROPPED,take_droppedand the 5-second line are unchanged. 4 files, +47/-11.How it was tested
victory.exe): F2 showedNOTE: 15 DRAWS SKIPPED, THEIR SHADERS CANNOT BE CONVERTED YET; log:0 shaders do not translatewindows-latest, F3 showsBUILD ADVISOR-TEST): the note is gone; F3 still showsDROPPED 239/DROPPED 273in the same area, so the drops are still counted, only no longer reported as translation failurescargo testpassed for the crates it touches: yes,cargo test -p victory-gpu --lockedonwindows-latest: 915 passed, 0 failed, 57 ignoredScreenshots
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 says0 shaders do not translate.After (this branch, F3 shows
BUILD ADVISOR-TEST): the false note is gone, and F3 still countsDROPPED 239.Checked for overlap
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
mainas of829188e,cargo clippy -D warningsalready fails invictory-shader(emit/lower/analysis.rs,emit/lower.rs), the--all-featuresbuild fails invictory-gpu(host.rs,copystat.rs,fetchmem.rs), andcargo xtask policyflagscrates/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
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.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.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.