Native DXR line and strict RayQuery proofs (63/64 offline) #477

Merged
TaynanGT merged 35 commits from upstream-pr/477 into main 2026-11-30 20:27:36 +00:00
TaynanGT commented 2026-11-30 20:21:53 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-30T20:21:53Z.


Brings the native ray tracing line into main: the 32 RT commits from the local NVIDIA line (already rebased onto the renamed tree), plus today's offline strict DXR proofs.

What's in it

  • Native DXR 1.1 plumbing in the GPU and HLE crates (BLAS/TLAS build, instance snapshots, batch validation, TLAS dispatch bindings). It's all behind the opt-in native-graphics feature, so a normal build doesn't run any of it.
  • Guest BVH walk recognition and RayQuery DXIL emission in vice-tay-shader (emit/walk, emit/rayquery*), also behind experimental-native-dxr.
  • Two changes to the software BVH walk that do reach normal builds: shared coordinate loads before mixed node formats diverge, and skipping page faults for BVH nodes nobody reads (VIctory-NVIDIA #2108 by Ondra97).
  • tools/rtx-offline: strict-dxr-proofs.patch regenerated. On the local 64-shader RT corpus the offline audit now lifts every guest BVH walk to RayQuery in 63 shaders, with no software traversal left and exact triangle vertices, and all 63 pass DXC. 07c93bfb77fecebb is still out (a wave64 append in code not every lane runs). The README says which offline tree the patch applies to and how to run the audit.
  • scripts/prepare-rtx-offline.ps1: undoes the rename that broke it (the pinned workspace still uses victory-shader and VICTORY_NATIVE_RT*).
  • xtask policy: .patch goes on the allowlist, with the same content checks as everything else.

Heads-up for the next launch

vice-tay-shader/src changed, so the translator's cache key changes too: the first run after this retranslates the shaders and warms the pipelines again.

Checked

  • cargo clippy --workspace --all-targets --locked -- -D warnings, with and without --all-features: clean.
  • cargo test --workspace --locked: 2200 passed. The policy test failed on the .patch files before the last commit, and passes now.
  • Offline translator suite: 440/440, including the GPU tests on the RTX.
  • Offline corpus audit: 63/64 native, all 63 DXC-validated.

The six main criteria (boat route A/B, frame time, image) still need checking after merge, like any change to the build that runs the game.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:issue:5573084019 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/477). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-30T20:21:53Z. --- Brings the native ray tracing line into main: the 32 RT commits from the local NVIDIA line (already rebased onto the renamed tree), plus today's offline strict DXR proofs. **What's in it** - Native DXR 1.1 plumbing in the GPU and HLE crates (BLAS/TLAS build, instance snapshots, batch validation, TLAS dispatch bindings). It's all behind the opt-in `native-graphics` feature, so a normal build doesn't run any of it. - Guest BVH walk recognition and RayQuery DXIL emission in `vice-tay-shader` (`emit/walk`, `emit/rayquery*`), also behind `experimental-native-dxr`. - Two changes to the software BVH walk that **do** reach normal builds: shared coordinate loads before mixed node formats diverge, and skipping page faults for BVH nodes nobody reads (VIctory-NVIDIA #2108 by Ondra97). - `tools/rtx-offline`: `strict-dxr-proofs.patch` regenerated. On the local 64-shader RT corpus the offline audit now lifts every guest BVH walk to RayQuery in 63 shaders, with no software traversal left and exact triangle vertices, and all 63 pass DXC. `07c93bfb77fecebb` is still out (a wave64 append in code not every lane runs). The README says which offline tree the patch applies to and how to run the audit. - `scripts/prepare-rtx-offline.ps1`: undoes the rename that broke it (the pinned workspace still uses `victory-shader` and `VICTORY_NATIVE_RT*`). - `xtask policy`: `.patch` goes on the allowlist, with the same content checks as everything else. **Heads-up for the next launch** `vice-tay-shader/src` changed, so the translator's cache key changes too: the first run after this retranslates the shaders and warms the pipelines again. **Checked** - `cargo clippy --workspace --all-targets --locked -- -D warnings`, with and without `--all-features`: clean. - `cargo test --workspace --locked`: 2200 passed. The policy test failed on the `.patch` files before the last commit, and passes now. - Offline translator suite: 440/440, including the GPU tests on the RTX. - Offline corpus audit: 63/64 native, all 63 DXC-validated. The six main criteria (boat route A/B, frame time, image) still need checking after merge, like any change to the build that runs the game.
chatgpt-codex-connector[bot] commented 2026-11-30 20:22:01 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by chatgpt-codex-connector[bot] on 2026-11-30T20:22:01Z.


Codex Review Summary: ❌ Failed

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

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-30T20:21:58.728883Z
We couldn’t complete this review. Comment @codex review to try again.
4baf997 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:TaynanGT/Vice-Tay:comment:7290798169 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/477#issuecomment-7290798169). Originally posted by [chatgpt-codex-connector[bot]](https://github.com/apps/chatgpt-codex-connector) on 2026-11-30T20:22:01Z. --- <!-- codex-pull-request-review-summary --> <!-- codex-review-state:v1 {"code_review":{"commit_sha":"4baf99724323f2829ade29d3b78f823f0f508d9a","has_any_findings":true,"has_unresolved_findings":true,"status":"failed"},"security_review":{"commit_sha":null,"has_any_findings":null,"has_unresolved_findings":null,"status":null}} --> <details> <summary><strong>Codex Review Summary</strong>: ❌ Failed</summary> This comment shows the latest Codex review activity on this pull request. | Review | Status | Commit | Review trigger | | --- | --- | --- | --- | | 📝 **Code Review** | ❌ **Failed** <relative-time datetime="2026-11-30T20:21:58.728883Z">2026-11-30T20:21:58.728883Z</relative-time><br/>We couldn’t complete this review. Comment `@codex review` to try again. | `4baf997` | 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>
chatgpt-codex-connector[bot] commented 2026-11-30 20:22:03 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by chatgpt-codex-connector[bot] on 2026-11-30T20:22:03Z.


You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7290799051 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/477#issuecomment-7290799051). Originally posted by [chatgpt-codex-connector[bot]](https://github.com/apps/chatgpt-codex-connector) on 2026-11-30T20:22:03Z. --- You have reached your Codex usage limits for code reviews. You can see your limits in the [Codex usage dashboard](https://chatgpt.com/codex/cloud/settings/usage).
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
TaynanGT/Vice-Tay!477
No description provided.