Skip to content

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

Merged
ThatRecompDev merged 1 commit into
ThatRecompDev:mainfrom
guialmm:fix/mesh-fallback-table-only
Nov 27, 2026
Merged

ThatRecompDev merged 1 commit into
ThatRecompDev:mainfrom
guialmm:fix/mesh-fallback-table-only

Conversation

@guialmm

@guialmm guialmm commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

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.
@ThatRecompDev

Copy link
Copy Markdown
Owner

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
ThatRecompDev merged commit 2fca600 into ThatRecompDev:main Nov 27, 2026
ThatRecompDev added a commit that referenced this pull request Nov 27, 2026
@ThatRecompDev

Copy link
Copy Markdown
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants