Mesh fallback: the table is the only binding, as the loader binds it #67

Manually merged
github merged 1 commit from github-bot/gh-67 into main 2026-11-27 08:00:57 +00:00 AGit
Owner

@⁠guialmm on GitHub · 2026-11-26 22:48 UTC · original
guialmm:fix/mesh-fallback-table-only → main · +15 −64 · 8 files · 1 commits · merged 2026-11-27 08:00 UTC

Option 2 from #9. The fallback's compute shader reads the capacities of u0/u1 with GetDimensions, which is undefined for root descriptors; NVIDIA returns 0 there and every group is dropped, so msfb_ngg_strips_rootdesc drew 0x00badbad. Since the loader always binds the fallback through the table, this removes the root-descriptor variant and its runner support, and the contract in docs/shader-translation.md now says why.

Tests: WARP 549 passed, 0 failed (one variant fewer). On the 3060 the mesh and user-data tests pass (19/19).

AI-assisted (Claude), reviewed and tested by me.

**@⁠guialmm** on GitHub · 2026-11-26 22:48 UTC · [original](https://github.com/ThatRecompDev/five-star-recomp/pull/67) `guialmm:fix/mesh-fallback-table-only` → `main` · +15 −64 · 8 files · 1 commits · merged 2026-11-27 08:00 UTC Option 2 from #9. The fallback's compute shader reads the capacities of u0/u1 with `GetDimensions`, which is undefined for root descriptors; NVIDIA returns 0 there and every group is dropped, so `msfb_ngg_strips_rootdesc` drew `0x00badbad`. Since the loader always binds the fallback through the table, this removes the root-descriptor variant and its runner support, and the contract in docs/shader-translation.md now says why. Tests: WARP 549 passed, 0 failed (one variant fewer). On the 3060 the mesh and user-data tests pass (19/19). AI-assisted (Claude), reviewed and tested by me.
The compute shader reads the capacities of u0 and u1 with GetDimensions,
which is undefined for root descriptors: NVIDIA returns 0 there and drops
every group, so msfb_ngg_strips_rootdesc drew 0x00badbad on an RTX 3060.
Nothing binds the fallback that way (the loader always uses the table), so
the root-descriptor variant and its runner support are removed and the
contract says why.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 03:16:27 +00:00
Author
Owner

@⁠ThatRecompDev on GitHub · 2026-11-26 23:10 UTC · original

agreed, option 2 is the right call since the loader only ever binds the fallback through the table. tested it in the same batch as #61, #62 and #66: 572 passed / 0 failed on WARP, user-data and mesh tests fine on a 4090. will merge it together with those

**@⁠ThatRecompDev** on GitHub · 2026-11-26 23:10 UTC · [original](https://github.com/ThatRecompDev/five-star-recomp/pull/67#issuecomment-7205321300) agreed, option 2 is the right call since the loader only ever binds the fallback through the table. tested it in the same batch as #61, #62 and #66: 572 passed / 0 failed on WARP, user-data and mesh tests fine on a 4090. will merge it together with those
github manually merged commit 2fca600e8d into main 2026-11-27 08:00:57 +00:00
Author
Owner

@⁠ThatRecompDev on GitHub · 2026-11-27 08:01 UTC · original

merged with the batch (976cc3e3), thanks. suite is green on the merged tree.

**@⁠ThatRecompDev** on GitHub · 2026-11-27 08:01 UTC · [original](https://github.com/ThatRecompDev/five-star-recomp/pull/67#issuecomment-7213056266) merged with the batch (976cc3e3), thanks. suite is green on the merged tree.
This discussion has been locked. Commenting is limited to contributors.
No description provided.