Structure builder and rays: dispatches counted in threads, empty slots never entered, pages that are not there never hit; vertex signatures as DXC orders them

From DexNom/VIctory (GPL-3.0-or-later) bc3cd4b0 and 5f4c3df4:
- DispatchX's flag 0x20 says the counts are threads (bc3cd4b0). Taken for
  groups, a rehydration stage ran up to 64 times its threads and stored over
  the structures after its own. The lanes past the count leave at once, in
  every builder program of one dimension without a group barrier (there: in
  two, by digest). VICTORY_THREAD_DIMENSIONS=0: as before.
- A child that is not there may have inverted infinite bounds: it was entered
  at minus infinity, came first and ended the walk (bc3cd4b0).
- A node in a page without a copy reads zeros, a child and a box: no hit
  (bc3cd4b0).
- Signature rows in the order of their names; vertex outputs interpolated as
  the title's PSV0 says; an unread input packed beside a per-vertex one is
  constant too (5f4c3df4), with their tests.
Every shader is translated again.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
localandClaude Opus 5.5 committed 2026-11-25 09:39:18 -06:00
1 parent 0769cc9dc8
commit bc83b16387
11 files changed
+443 -44

No files matched your search

@@ -295,6 +295,12 @@ fn scene() -> (Scene, Vec<Vec<Case>>) {
let ids2 = [8, bvh::NONE, 24, 0x1fff_fffc];
box_nodes.push((s.add(nodes::box32(ids2, around), 32), 5));
box_nodes.push((s.add(nodes::box16(ids2, around), 16), 4));
// A child that is not there with inverted infinite bounds (the title's
// builder leaves such slots): every ray "enters" it at minus infinity.
let mut empty = lined;
empty[1] = [f32::INFINITY, f32::INFINITY, f32::INFINITY, f32::NEG_INFINITY, f32::NEG_INFINITY, f32::NEG_INFINITY];
let ids3 = [0x105, bvh::NONE, 0x304, 0x400];
box_nodes.push((s.add(nodes::box32(ids3, empty), 32), 5));
// Random boxes.
for n in 0..6 {
let boxes: [[f32; 6]; 4] = std::array::from_fn(|_| {