upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src
diff options
context:
space:
mode:
authorTim Elery <timelery@gmail.com>2026-11-21 13:21:04 -0800
committerTim Elery <timelery@gmail.com>2026-11-21 13:21:04 -0800
commitbb4fc2e28610844d8c62237d0da5199aa7e2d78b (patch)
tree8f44dfd3786974db353dfb025f12741dffd9d277 /runtime/src
parentaae4d99e10784eb21b4f14d08470c79613b9e7fe (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