Shaders: a BVH node offset from a root descriptor is computed in 64 bits #2499

Open
Calvix2k wants to merge 2 commits from upstream-pr/2501 into main
Calvix2k commented 2026-11-25 14:54:46 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Calvix2k on 2026-11-25T14:54:46Z.


Fixes #2368 (the shift/add half of it).

What was wrong

With the node's base taken from a root descriptor (the Source::Built path, where the title shifted a root SRV address into place), the node's byte offset was built in 32 bits and then widened:

at = (node & !7) << 3     ; i32
at = at + k (+ dynamic)   ; i32
Nodes::Raw(base + wide64(at, 0))

A BVH larger than 2 GiB has node offsets that do not fit in 32 bits, and << 3 wraps. The explicit-descriptor path a few lines below already does the same shift in 64 bits (wide64(lo, node_hi) then << 3), so the two halves of the same instruction disagreed about the width of the same quantity.

What the change does

For a raw (title-memory) base the offset is now built in 64 bits — the shift of (node & !7), the constant part, and the computed part — and added to the 64-bit base. The buffer-view path keeps the 32-bit form, because that is what D3D12 takes as a buffer's offset; it is a different address space and its limits are the descriptor's.

The computed and constant parts still zero-extend (built_offset gives k as u32, the computed part goes through Cast::ZExt), as before; a negative offset is not what this changes, and the earlier claim that it did was wrong.

Verification

a_node_pointer_above_two_gib_reads_where_it_points is the distinction the review asked for: run_cases gains a high mode that sets bit 29 of the node pointer (a node 4 GiB into the BVH) and has page_table_high map that guest page to a second copy of the nodes 64 KiB further into the host buffer, while the page below holds zeros. On the old 32-bit shift the offset wraps back to the zeros and every case misses the reference; with the 64-bit shift the pointer reads its copy.

Locally, cargo test -p victory-shader --lib --no-run builds and clippy -D warnings is clean. The GPU cases need an SM 6.6 device; this Windows 10 test harness has no Agility opt-in, so they skip here and run in CI (WARP), where the existing BVH tests already run.

I did not touch the second half of #2368's report (descriptor base quantization): the raw base here is the root address from the user data (root_address), which is the whole 40-bit title address rather than the descriptor's >> 8 form, so I could not see a quantization there. If the reporter means a different reconstruction, that should be its own change.

<!-- greyfinch-sync:Marvisak/VIctory:issue:5493725757 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2501). Originally posted by [Calvix2k](https://github.com/Calvix2k) on 2026-11-25T14:54:46Z. --- Fixes #2368 (the shift/add half of it). ### What was wrong With the node's base taken from a **root descriptor** (the `Source::Built` path, where the title shifted a root SRV address into place), the node's byte offset was built in 32 bits and then widened: ``` at = (node & !7) << 3 ; i32 at = at + k (+ dynamic) ; i32 Nodes::Raw(base + wide64(at, 0)) ``` A BVH larger than 2 GiB has node offsets that do not fit in 32 bits, and `<< 3` wraps. The explicit-descriptor path a few lines below already does the same shift in 64 bits (`wide64(lo, node_hi)` then `<< 3`), so the two halves of the same instruction disagreed about the width of the same quantity. ### What the change does For a raw (title-memory) base the offset is now built in 64 bits — the shift of `(node & !7)`, the constant part, and the computed part — and added to the 64-bit base. The **buffer-view** path keeps the 32-bit form, because that is what D3D12 takes as a buffer's offset; it is a different address space and its limits are the descriptor's. The computed and constant parts still **zero-extend** (`built_offset` gives `k` as `u32`, the computed part goes through `Cast::ZExt`), as before; a negative offset is not what this changes, and the earlier claim that it did was wrong. ### Verification `a_node_pointer_above_two_gib_reads_where_it_points` is the distinction the review asked for: `run_cases` gains a `high` mode that sets bit 29 of the node pointer (a node 4 GiB into the BVH) and has `page_table_high` map that guest page to a second copy of the nodes `64 KiB` further into the host buffer, while the page below holds zeros. On the old 32-bit shift the offset wraps back to the zeros and every case misses the reference; with the 64-bit shift the pointer reads its copy. Locally, `cargo test -p victory-shader --lib --no-run` builds and clippy `-D warnings` is clean. The GPU cases need an SM 6.6 device; this Windows 10 test harness has no Agility opt-in, so they skip here and run in CI (WARP), where the existing BVH tests already run. I did not touch the second half of #2368's report (descriptor base quantization): the raw base here is the root address from the user data (`root_address`), which is the whole 40-bit title address rather than the descriptor's `>> 8` form, so I could not see a quantization there. If the reporter means a different reconstruction, that should be its own change.
DenRakEiw commented 2026-11-25 14:57:54 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by DenRakEiw on 2026-11-25T14:57:54Z.

Review: APPROVED


Verified against origin/main (940d32f) on Windows 11 + NVIDIA GeForce RTX 5090 and WARP:

  • Computing root-descriptor BVH node offsets in 64 bits passes all unit and live GPU BVH intersection tests cleanly (note: overlaps in scope with #2467 / #2402).
  • cargo test -p victory-shader bvh: 14/14 passed on RTX 5090, 14/14 passed on WARP.
  • cargo clippy -p victory-shader --all-targets -- -D warnings: 0 warnings.
  • cargo xtask policy: 183 files ok.

Synthetic tests only (no game files used). AI-assisted (Gemini 4 Neon).

<!-- greyfinch-sync:Marvisak/VIctory:review:6060001417 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2501#pullrequestreview-6060001417). Originally posted by [DenRakEiw](https://github.com/DenRakEiw) on 2026-11-25T14:57:54Z. **Review:** APPROVED --- Verified against `origin/main` (`940d32f`) on Windows 11 + NVIDIA GeForce RTX 5090 and WARP: - Computing root-descriptor BVH node offsets in 64 bits passes all unit and live GPU BVH intersection tests cleanly (note: overlaps in scope with `#2467` / `#2402`). - `cargo test -p victory-shader bvh`: 14/14 passed on RTX 5090, 14/14 passed on WARP. - `cargo clippy -p victory-shader --all-targets -- -D warnings`: 0 warnings. - `cargo xtask policy`: 183 files ok. Synthetic tests only (no game files used). AI-assisted (Gemini 4 Neon).
oni-swr commented 2026-11-25 15:11:20 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by oni-swr on 2026-11-25T15:11:20Z.

Review: COMMENTED


Side-by-side check of #2501 (ca57ed43) and #2467 (c79cb207). Both change only the Source::Built + root_address (Nodes::Raw) arm of crates/victory-shader/src/emit/lower/bvh.rs, for #2368. I read both diffs in full.

Overlap: both stop shifting the node offset in 32 bits and then zero-extending it. Both build base64 + (node << 3) + k (+ dynamic) in 64 bits. The Nodes::Buffer fallback is unchanged in behaviour in both.

Differences

#2501 #2467
image_bvh64 high node word (node_hi) still ignored on this arm; only lo<<3 is widened folded in: ptr = lo | node_hi<<32, then <<3
dynamic term ZExt to 64 bits SExt to 64 bits
k constant i64 ZExt of the 32-bit value
tests none added one test, a Rust mirror of the arithmetic; it does not call the lowering. It is also not rustfmt-clean (rustfmt --check fails on the test fn signature)
buffer path rewritten in an explicit else branch (same ops) untouched

Edge cases.

  • With node_hi != 0, #2501 still drops the high pointer bits. It fixes the lo<<3 overflow for BVHs above 512 MiB, but not 64-bit pointers. #2467 handles both, and the already-passing intersections_with_64_bit_pointers_on_the_gpu_equal_the_reference test exercises the None path rather than this one.
  • dynamic sign: the two disagree for values >= 2^31. Under #2501, a negative dynamic that used to wrap correctly in 32 bits, with the sum below 2^32, now lands 2^32 too high. Under #2467 it is correct for negative values but wrong for an unsigned offset >= 2^31. Nothing I read in Address.dynamic or built_offset states which is intended. The authors should say, ideally with a test through the real lowering.
  • Neither adds a GPU/WARP test of the Nodes::Raw path, so the new arithmetic is not exercised end to end by the suite.

Supersede or complement? They are alternative fixes to the same lines and will conflict, so only one can merge as written. #2467 is the more complete one (it includes node_hi). #2501 has the cleaner 64-bit constants, and its comment about negative offsets does not match its own ZExt of dynamic. If #2467 is picked, its dynamic sign question and a real lowering test should be settled first.

Verification (Windows, VICTORY_D3D12_WARP=1, WARP only):

  • #2501 ca57ed43289e97748adb277cbfcbcec4994dcc0e: cargo test -p victory-shader --locked --lib — 247 passed, 0 failed, 3 ignored; ... --lib bvh — 14 passed, 0 failed, 0 ignored. rustfmt clean.
  • #2467 c79cb207dcbea305a35f91a541b6bea0a522f9d8: cargo test -p victory-shader --locked --lib — 248 passed, 0 failed, 3 ignored; ... --lib bvh — 15 passed, 0 failed, 0 ignored (includes its new test).

AI-assisted (Claude Code / Claude Sonnet 5.5)

<!-- greyfinch-sync:Marvisak/VIctory:review:6060223582 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2501#pullrequestreview-6060223582). Originally posted by [oni-swr](https://github.com/oni-swr) on 2026-11-25T15:11:20Z. **Review:** COMMENTED --- Side-by-side check of #2501 (`ca57ed43`) and #2467 (`c79cb207`). Both change only the `Source::Built` + `root_address` (`Nodes::Raw`) arm of `crates/victory-shader/src/emit/lower/bvh.rs`, for #2368. I read both diffs in full. **Overlap:** both stop shifting the node offset in 32 bits and then zero-extending it. Both build `base64 + (node << 3) + k (+ dynamic)` in 64 bits. The `Nodes::Buffer` fallback is unchanged in behaviour in both. **Differences** | | #2501 | #2467 | |---|---|---| | `image_bvh64` high node word (`node_hi`) | still ignored on this arm; only `lo<<3` is widened | folded in: `ptr = lo \| node_hi<<32`, then `<<3` | | `dynamic` term | `ZExt` to 64 bits | `SExt` to 64 bits | | `k` | constant `i64` | `ZExt` of the 32-bit value | | tests | none added | one test, a Rust mirror of the arithmetic; it does not call the lowering. It is also not rustfmt-clean (`rustfmt --check` fails on the test fn signature) | | buffer path | rewritten in an explicit else branch (same ops) | untouched | **Edge cases.** - With `node_hi != 0`, #2501 still drops the high pointer bits. It fixes the `lo<<3` overflow for BVHs above 512 MiB, but not 64-bit pointers. #2467 handles both, and the already-passing `intersections_with_64_bit_pointers_on_the_gpu_equal_the_reference` test exercises the `None` path rather than this one. - `dynamic` sign: the two disagree for values >= 2^31. Under #2501, a negative `dynamic` that used to wrap correctly in 32 bits, with the sum below 2^32, now lands 2^32 too high. Under #2467 it is correct for negative values but wrong for an unsigned offset >= 2^31. Nothing I read in `Address.dynamic` or `built_offset` states which is intended. The authors should say, ideally with a test through the real lowering. - Neither adds a GPU/WARP test of the `Nodes::Raw` path, so the new arithmetic is not exercised end to end by the suite. **Supersede or complement?** They are alternative fixes to the same lines and will conflict, so only one can merge as written. #2467 is the more complete one (it includes `node_hi`). #2501 has the cleaner 64-bit constants, and its comment about negative offsets does not match its own `ZExt` of `dynamic`. If #2467 is picked, its `dynamic` sign question and a real lowering test should be settled first. **Verification** (Windows, `VICTORY_D3D12_WARP=1`, WARP only): - #2501 `ca57ed43289e97748adb277cbfcbcec4994dcc0e`: `cargo test -p victory-shader --locked --lib` — 247 passed, 0 failed, 3 ignored; `... --lib bvh` — 14 passed, 0 failed, 0 ignored. rustfmt clean. - #2467 `c79cb207dcbea305a35f91a541b6bea0a522f9d8`: `cargo test -p victory-shader --locked --lib` — 248 passed, 0 failed, 3 ignored; `... --lib bvh` — 15 passed, 0 failed, 0 ignored (includes its new test). AI-assisted (Claude Code / Claude Sonnet 5.5)
Marvisak commented 2026-11-25 16:09:32 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T15:57:13Z.


Automated triage for the maintainers.

Merge candidate. In Lower::bvh (crates/victory-shader/src/emit/lower/bvh.rs), a root-descriptor BVH now computes its node offset in 64 bits: the shift by 3, the constant and the dynamic part. This matches the explicit-descriptor path, so a node more than 2 GiB into the BVH no longer wraps. The buffer-view path keeps its 32-bit offset, which is what D3D12 takes.

On your reply: both points are addressed.

  • The negative-offset claim is gone, and the code zero-extends consistently.
  • a_node_pointer_above_two_gib_reads_where_it_points tells the two forms apart. It sets bit 29 of the node pointer, and page_table_high maps the page at TITLE + 4 GiB (level-1 index + 16) to a copy of the nodes HIGH bytes into the buffer, with zeros at the low address. The old 32-bit shift would read zeros and fail against the reference.

Optional nit: page_table_high fills its new level-2 block with zeros, not [null, 0] like page_table, so the other pages in that region map to view 0. That is harmless here, since only the one page is read.

CI: passing.


Generated by Claude Code

<!-- greyfinch-sync:Marvisak/VIctory:comment:7167460126 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2501#issuecomment-7167460126). Originally posted by [Marvisak](https://github.com/Marvisak) on 2026-11-25T15:57:13Z. --- <!-- victory-triage v1 head=d916d06661e0820c483abf57a4963325bc61cf42 verdict=merge-candidate at=2026-11-25T16:45:09Z --> Automated triage for the maintainers. **Merge candidate.** In `Lower::bvh` (`crates/victory-shader/src/emit/lower/bvh.rs`), a root-descriptor BVH now computes its node offset in 64 bits: the shift by 3, the constant and the dynamic part. This matches the explicit-descriptor path, so a node more than 2 GiB into the BVH no longer wraps. The buffer-view path keeps its 32-bit offset, which is what D3D12 takes. On your reply: both points are addressed. - The negative-offset claim is gone, and the code zero-extends consistently. - `a_node_pointer_above_two_gib_reads_where_it_points` tells the two forms apart. It sets bit 29 of the node pointer, and `page_table_high` maps the page at `TITLE` + 4 GiB (level-1 index + 16) to a copy of the nodes `HIGH` bytes into the buffer, with zeros at the low address. The old 32-bit shift would read zeros and fail against the reference. Optional nit: `page_table_high` fills its new level-2 block with zeros, not `[null, 0]` like `page_table`, so the other pages in that region map to view 0. That is harmless here, since only the one page is read. CI: passing. --- _Generated by [Claude Code](https://claude.ai/code)_
Calvix2k commented 2026-11-25 17:05:09 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Calvix2k on 2026-11-25T16:39:06Z.


The two points are addressed in d916d06:

  • The "negative offset" claim is gone from the commit and this body — the code zero-extends, as it did; that sentence was wrong.
  • a_node_pointer_above_two_gib_reads_where_it_points is the distinguishing test: bit 29 of the node pointer, the page table maps that page 4 GiB higher to a second copy of the nodes, zeros below. The old 32-bit shift wraps to the zeros and every case misses; the 64-bit one reads the copy. page_table_high adds the level-1 entry for the 256 MiB region 4 GiB up and a block for it.

CI is green on the rebased head.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7168320668 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2501#issuecomment-7168320668). Originally posted by [Calvix2k](https://github.com/Calvix2k) on 2026-11-25T16:39:06Z. --- The two points are addressed in `d916d06`: - The "negative offset" claim is gone from the commit and this body — the code zero-extends, as it did; that sentence was wrong. - `a_node_pointer_above_two_gib_reads_where_it_points` is the distinguishing test: bit 29 of the node pointer, the page table maps that page 4 GiB higher to a second copy of the nodes, zeros below. The old 32-bit shift wraps to the zeros and every case misses; the 64-bit one reads the copy. `page_table_high` adds the level-1 entry for the 256 MiB region 4 GiB up and a block for it. CI is green on the rebased head.
fyernald commented 2026-11-25 17:33:11 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by fyernald on 2026-11-25T17:33:11Z.

Review: APPROVED


Verified on RTX 3080 (617.42), Windows 10 (19045) plus WARP, main 67e8ae1 + #486 + #2596 (the suite crashes on NVIDIA without #2596, #2571). cargo test -p victory-shader --lib --locked -- --test-threads=1: 268 passed, 3 failed (the #1835 ones, also on the base). a_node_pointer_above_two_gib_reads_where_it_points passes on real hardware.

Zero-extending dynamic is right. built_offset gives the byte offset the descriptor adds to the root address, which the console adds with an unsigned carry, and k is treated as unsigned too.

#2467 targets the same path and also takes the wide node word's high bits (node_hi), which the explicit-descriptor path on main already uses. That part isn't here. If node_hi matters on the root-descriptor path, it could be added on top of this PR, which has the end-to-end test.

<!-- greyfinch-sync:Marvisak/VIctory:review:6062134186 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2501#pullrequestreview-6062134186). Originally posted by [fyernald](https://github.com/fyernald) on 2026-11-25T17:33:11Z. **Review:** APPROVED --- Verified on **RTX 3080 (617.42), Windows 10 (19045)** plus WARP, `main` `67e8ae1` + #486 + #2596 (the suite crashes on NVIDIA without #2596, #2571). `cargo test -p victory-shader --lib --locked -- --test-threads=1`: 268 passed, 3 failed (the #1835 ones, also on the base). `a_node_pointer_above_two_gib_reads_where_it_points` passes on real hardware. Zero-extending `dynamic` is right. `built_offset` gives the byte offset the descriptor adds to the root address, which the console adds with an unsigned carry, and `k` is treated as unsigned too. #2467 targets the same path and also takes the wide node word's high bits (`node_hi`), which the explicit-descriptor path on `main` already uses. That part isn't here. If `node_hi` matters on the root-descriptor path, it could be added on top of this PR, which has the end-to-end test.
rminzao commented 2026-11-26 02:07:15 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by rminzao on 2026-11-26T01:52:56Z.


Tested head d916d06 on Windows 11 with an RTX 4050 Laptop (595.97), WARP and an Intel UHD (31.0.101.4146), running cargo test -p victory-shader --lib bvh:

RTX 4050 WARP Intel UHD
this PR 15 passed 15 passed 11 passed, 4 failed
a_node_pointer_above_two_gib_reads_where_it_points on the base's lower/bvh.rs fails fails —

The new test is a real regression test: it fails without the change on both devices where the BVH suite is green. The 4 Intel failures, the new test among them, are the 1-ULP box distances (1118671093 vs …094) that every BVH GPU test shows on this driver. They come from fused multiply-adds (#1856) and have nothing to do with this change.

One gap, which the triage also flagged: the Source::Built path still widens the node pointer with a zero high word (wide64(self, lo, zero)). So the issue's third counterexample (lo=5, hi=1, base + 32 GiB) still reads at the base. The explicit-descriptor path below uses wide64(lo, node_hi). #2467 makes that same one-word change on this path (node_hi.unwrap_or(zero)). The test here passes on #2467's lowering too (WARP, 15 passed). Using node_hi here, and adding a hi case to run_cases if page_table_high can map that far, would cover all three counterexamples.

Adding k and the computed part to the 64-bit offset separately matches resource::Address::offset ("added modulo 2^32, with carry into the high half"). #2467 sums them in 32 bits first, which drops that carry when the two parts overflow together.

AI-assisted (Claude Code).

<!-- greyfinch-sync:Marvisak/VIctory:comment:7180237777 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2501#issuecomment-7180237777). Originally posted by [rminzao](https://github.com/rminzao) on 2026-11-26T01:52:56Z. --- Tested head d916d06 on Windows 11 with an RTX 4050 Laptop (595.97), WARP and an Intel UHD (31.0.101.4146), running `cargo test -p victory-shader --lib bvh`: | | RTX 4050 | WARP | Intel UHD | |---|---|---|---| | this PR | 15 passed | 15 passed | 11 passed, 4 failed | | `a_node_pointer_above_two_gib_reads_where_it_points` on the base's `lower/bvh.rs` | fails | fails | — | The new test is a real regression test: it fails without the change on both devices where the BVH suite is green. The 4 Intel failures, the new test among them, are the 1-ULP box distances (`1118671093` vs `…094`) that every BVH GPU test shows on this driver. They come from fused multiply-adds (#1856) and have nothing to do with this change. One gap, which the triage also flagged: the `Source::Built` path still widens the node pointer with a zero high word (`wide64(self, lo, zero)`). So the issue's third counterexample (`lo=5, hi=1`, base + 32 GiB) still reads at the base. The explicit-descriptor path below uses `wide64(lo, node_hi)`. #2467 makes that same one-word change on this path (`node_hi.unwrap_or(zero)`). The test here passes on #2467's lowering too (WARP, 15 passed). Using `node_hi` here, and adding a `hi` case to `run_cases` if `page_table_high` can map that far, would cover all three counterexamples. Adding `k` and the computed part to the 64-bit offset separately matches `resource::Address::offset` ("added modulo 2^32, with carry into the high half"). #2467 sums them in 32 bits first, which drops that carry when the two parts overflow together. _AI-assisted (Claude Code)._
fuzeofficlal commented 2026-11-26 02:20:37 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by fuzeofficlal on 2026-11-26T02:20:37Z.

Review: COMMENTED


Reviewed and verified against main (63bcca43) on Windows 11 (RTX 5090 + WARP + dxil.dll, VICTORY_D3D12_DEBUG=1) — clean fix and ready to merge:

  • Computing (lo << 3) + k + zext(dynamic) in 64-bit i64 before adding wide64(root_lo, root_hi) in crates/victory-shader/src/emit/lower/bvh.rs:125-161 (and setting flags::INT64) eliminates 32-bit shift truncation for BVHs above 2 GiB without touching emit/lower.rs.

Local verification:

  • victory-shader: bvh + emit::lower::tests 48/48 passed on RTX 5090, bvh 15/15 passed on WARP (dxil.dll + DEBUG=1), including a_node_pointer_above_two_gib_reads_where_it_points
  • cargo clippy --all-targets -- -D warnings + cargo xtask policy (191 files ok): 0 warnings
<!-- greyfinch-sync:Marvisak/VIctory:review:6067704219 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2501#pullrequestreview-6067704219). Originally posted by [fuzeofficlal](https://github.com/fuzeofficlal) on 2026-11-26T02:20:37Z. **Review:** COMMENTED --- Reviewed and verified against `main` (`63bcca43`) on Windows 11 (RTX 5090 + WARP + `dxil.dll`, `VICTORY_D3D12_DEBUG=1`) — clean fix and ready to merge: - Computing `(lo << 3) + k + zext(dynamic)` in 64-bit `i64` before adding `wide64(root_lo, root_hi)` in `crates/victory-shader/src/emit/lower/bvh.rs:125-161` (and setting `flags::INT64`) eliminates 32-bit shift truncation for BVHs above 2 GiB without touching `emit/lower.rs`. **Local verification**: - `victory-shader`: `bvh` + `emit::lower::tests` **48/48 passed** on **RTX 5090**, `bvh` **15/15 passed** on **WARP** (`dxil.dll` + `DEBUG=1`), including `a_node_pointer_above_two_gib_reads_where_it_points` - `cargo clippy --all-targets -- -D warnings` + `cargo xtask policy` (`191 files ok`): 0 warnings
Calvix2k commented 2026-11-26 18:52:59 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Calvix2k on 2026-11-26T18:52:59Z.


Thanks for running the three backends. The Intel UHD result (11 passed, 4 failed) is the interesting one — could you paste the four names? On an AMD host I cannot reproduce an Intel driver's behaviour, but if they are the node-pointer tests they may be reading an address the UHD driver does not keep resident, and the test should say so rather than the lowering being wrong.

The RTX 4050 and WARP results (15/15) plus the base failing the same test on lower/bvh.rs is exactly the comparison this needed.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7200955858 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2501#issuecomment-7200955858). Originally posted by [Calvix2k](https://github.com/Calvix2k) on 2026-11-26T18:52:59Z. --- Thanks for running the three backends. The Intel UHD result (11 passed, 4 failed) is the interesting one — could you paste the four names? On an AMD host I cannot reproduce an Intel driver's behaviour, but if they are the node-pointer tests they may be reading an address the UHD driver does not keep resident, and the test should say so rather than the lowering being wrong. The RTX 4050 and WARP results (15/15) plus the base failing the same test on `lower/bvh.rs` is exactly the comparison this needed.
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/2501:upstream-pr/2501'
git switch 'upstream-pr/2501'

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/2501'
git switch 'upstream-pr/2501'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2501'
git switch 'upstream-pr/2501'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2501'
git switch 'main'
git merge --squash 'upstream-pr/2501'
git switch 'main'
git merge --ff-only 'upstream-pr/2501'
git switch 'main'
git merge 'upstream-pr/2501'
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
Marvisak/VIctory!2499
No description provided.