diff options
| author | Tim Elery <timelery@gmail.com> | 2026-11-21 13:21:04 -0800 |
|---|---|---|
| committer | Tim Elery <timelery@gmail.com> | 2026-11-21 13:21:04 -0800 |
| commit | bb4fc2e28610844d8c62237d0da5199aa7e2d78b (patch) | |
| tree | 8f44dfd3786974db353dfb025f12741dffd9d277 /runtime/src | |
| parent | aae4d99e10784eb21b4f14d08470c79613b9e7fe (diff) | |
rdna2spirv: seed mesh v5 as groupIndex * NumThreads + lane
The game's mesh entry reads v5 on the first active lane and shifts it right
by 7 to get the meshlet/group index. Seeding v5 with the bare linear group
index made that resolve to groupIndex >> 7, so every group below 128 mapped
to meshlet 0. Seed v5 per invocation as linearGroupIndex * NumThreads (PSV0,
128 in this corpus) + LocalInvocationIndex, matching the NGG vertex-ID slot
and TomBox's mesh ABI (gid.x * numThreads + gi).
Not verified on Xbox hardware.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src')
0 files changed, 0 insertions, 0 deletions