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

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

@⁠Revens2 on GitHub · 2026-11-25 02:30 UTC · original
Revens2:fix/issue-16-bvh-skip → main · +64 −1 · 1 files · 1 commits · open

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

**@⁠Revens2** on GitHub · 2026-11-25 02:30 UTC · [original](https://github.com/fxceless/victory-fork/pull/579) `Revens2:fix/issue-16-bvh-skip` → `main` · +64 −1 · 1 files · 1 commits · open **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)
Each builder pipeline is logged with its creation index and shader hash;
VICTORY_BVH_SKIP=3,10-12 drops those pipelines' dispatches, to find which
stage leaves the title with bad data (#16).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:46:46 +00:00
Author
Owner

@⁠chatgpt-codex-connector[bot] on GitHub · 2026-11-25 02:30 UTC · original · edited 2026-11-25 02:32 UTC

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.

**@⁠chatgpt-codex-connector[bot]** on GitHub · 2026-11-25 02:30 UTC · [original](https://github.com/fxceless/victory-fork/pull/579#issuecomment-7150822273) · edited 2026-11-25 02:32 UTC <!-- 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 has changes conflicting with the target branch.
  • crates/victory-gpu/src/pipeline.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/579/head:github-bot/gh-579'
git switch 'github-bot/gh-579'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-579'
git switch 'github-bot/gh-579'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-579'
git switch 'github-bot/gh-579'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-579'
git switch 'main'
git merge --squash 'github-bot/gh-579'
git switch 'main'
git merge --ff-only 'github-bot/gh-579'
git switch 'main'
git merge 'github-bot/gh-579'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.