GPU: VICTORY_BVH_SKIP drops chosen structure-builder pipelines (diagnostics) #579

Open
Revens2 wants to merge 1 commit from upstream-pr/579 into main
Revens2 commented 2026-11-25 02:30:45 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by Revens2 on 2026-11-25T02:30:45Z.


What is in it

  • Diagnostics build only (--features diagnostics): every pipeline of the ray-tracing structure builder is logged with its creation index and shader hash (ray-tracing structure builder pipeline index=N shaders=[...]).
  • VICTORY_BVH_SKIP=3,10-12 drops the dispatches of the builder pipelines with those indices (same path as VICTORY_SKIP_PIPELINES), so a stage can be bisected without knowing hashes in advance. Other stages keep running; this is not a way to run the builder.
  • Unit test for the index/range parser.

Tested

  • cargo test -p victory-gpu --features diagnostics --locked: 121 passed, 0 failed, 1 ignored. cargo build --workspace --locked ok.
  • In game (RTX 5070, 32 lanes, #36 merged locally, VICTORY_BVH_BUILDER=1): used to bisect #16, results in the comment on that issue.

Not tested

  • Non-diagnostics builds: the switch is compiled out there (no change in behaviour).
  • Other GPUs.

AI use
Claude Code (Claude Sonnet 5.5) wrote the change and ran the bisection runs.

Refs #16.

🤖 Generated with Claude Code

<!-- greyfinch-sync:fxceless/victory-fork:issue:6595814216 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/579). Originally posted by [Revens2](https://github.com/Revens2) on 2026-11-25T02:30:45Z. --- **What is in it** - Diagnostics build only (`--features diagnostics`): every pipeline of the ray-tracing structure builder is logged with its creation index and shader hash (`ray-tracing structure builder pipeline index=N shaders=[...]`). - `VICTORY_BVH_SKIP=3,10-12` drops the dispatches of the builder pipelines with those indices (same path as `VICTORY_SKIP_PIPELINES`), so a stage can be bisected without knowing hashes in advance. Other stages keep running; this is not a way to run the builder. - Unit test for the index/range parser. **Tested** - `cargo test -p victory-gpu --features diagnostics --locked`: 121 passed, 0 failed, 1 ignored. `cargo build --workspace --locked` ok. - In game (RTX 5070, 32 lanes, #36 merged locally, `VICTORY_BVH_BUILDER=1`): used to bisect #16, results in the comment on that issue. **Not tested** - Non-diagnostics builds: the switch is compiled out there (no change in behaviour). - Other GPUs. **AI use** Claude Code (Claude Sonnet 5.5) wrote the change and ran the bisection runs. Refs #16. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
chatgpt-codex-connector[bot commented 2026-11-25 03:06:34 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by chatgpt-codex-connector[bot] on 2026-11-25T02:30:57Z.


Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-25T02:32:51.508778Z 8c69004 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

<!-- greyfinch-sync:fxceless/victory-fork:comment:7150822273 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/579#issuecomment-7150822273). Originally posted by [chatgpt-codex-connector[bot]](https://github.com/chatgpt-codex-connector%5Bbot%5D) on 2026-11-25T02:30:57Z. --- <!-- codex-pull-request-review-summary --> <!-- codex-review-state:v1 {"code_review":{"commit_sha":"8c690046a2f07dbccdc208472f1ee55354be6f16","has_any_findings":false,"has_unresolved_findings":false,"status":"completed"},"security_review":{"commit_sha":null,"has_any_findings":null,"has_unresolved_findings":null,"status":null}} --> <details> <summary><strong>Codex Review Summary</strong>: ✅ Completed</summary> This comment shows the latest Codex review activity on this pull request. | Review | Status | Commit | Review trigger | | --- | --- | --- | --- | | 📝 **Code Review** | ✅ **Completed** <relative-time datetime="2026-11-25T02:32:51.508778Z">2026-11-25T02:32:51.508778Z</relative-time> | `8c69004` | PR opened | <details> <summary>ℹ️ About Codex in GitHub</summary> <br/> [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@codex review" or "@codex security review". Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. </details> </details>
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/579:upstream-pr/579'
git switch 'upstream-pr/579'

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/579'
git switch 'upstream-pr/579'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/579'
git switch 'upstream-pr/579'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/579'
git switch 'main'
git merge --squash 'upstream-pr/579'
git switch 'main'
git merge --ff-only 'upstream-pr/579'
git switch 'main'
git merge 'upstream-pr/579'
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
fxceless/victory-fork!579
No description provided.