Repository navigation
runtime: bind indexed_raw_srv table buffers in native Mesh86 (Part of #3703) - #3807
Merged
Merged
Conversation
This was referenced Dec 2, 2026
5 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements #3703 item 3b: runtime binding of
ComputeViewKind::indexed_raw_srvfor native slot 86 (Mesh86) pipelines insrc/startup_stubs/native_mesh86.inl, unblocking the runtime side of #3705'sidxen offentable buffer loads now that #3718 / #3639's committed root SRV support is merged onmain(158ef794). Keeps completely clear of #3770 (typed_buffer_srv).make_native_mesh86_root: acceptsComputeViewKind::indexed_raw_srvas a descriptor-table scalar buffer SRV in both mesh and pixel stages (refusing root SRV/CBV sources), requiringarray_count == 1and a dword-aligned reflected striderequired_bytesin[4, 2048](matching the VS/PS validation ind3d12_draw.inl).bind_native_mesh86: checks that the resolved table buffer's stride equalssource.required_bytes, thatview.bytesis a complete record-stride multiple withinUINT_MAXand at leastrequired_bytes, and binds the range through the existing raw SRV and argument-alias guards.Verification
Added source-built end-to-end fixture
startup_mesh86_indexed_raw_{warp,hardware}(tests/startup_mesh86_indexed_raw_check.py) with gfx1013 mesh and pixel stages both executingbuffer_load_dword ... idxen offen(16-byte record stride). Tested on Windows 11 (26200.9974), MSVC19.44, Ninja, Windows SDK10.0.26100.0, WARP (10.0.26100.9818), and NVIDIA GeForce RTX 5080 (driver32.0.16.2140; D3D12 debug layer unavailable on this host):dev): 55/55 Mesh86 tests passed (26 WARP, 25 RTX 5080, 4 host checks; 0 failed, 0 skipped).release): 55/55 Mesh86 tests passed (26 WARP, 25 RTX 5080, 4 host checks; 0 failed, 0 skipped).24vs16) in either stage, zero-stride raw view (0vs16), and unbacked descriptor each painted 0/8 pixels with the expected binding refusal.git diff --check origin/main..HEAD: clean; zero new MSVC/W4warnings in changed lines.Part of #3703.
AI-assisted.