rust-gpu icon indicating copy to clipboard operation
rust-gpu copied to clipboard

VK_EXT_mesh_shader, version 2

Open Firestar99 opened this issue 1 year ago • 1 comments

!!! builds on top of PR #1118, which needs to be merged first

Adds support for VK_EXT_mesh_shader, rebased from the abandoned PR #1019 by @BeastLe9enD. Note that I have split the PR in two parts: PR #1118 handles updating to a more recent rspirv version, whereas this PR only handles the additions needed for VK_EXT_mesh_shader support.

(Sorry if the diff currently looks horrid, as it currently shows 2 PRs in one. As soon as the other PR is merged, I'll rebase this one and the diff should be way easier to review on github)

Firestar99 avatar Feb 01 '24 14:02 Firestar99

I've successfully used mesh shaders generated by this branch in a small demo: I had a workgroup size of 1 with each invocation processing a single triangle and was able to render the "lantern" model from glTF-sample-assets. Proper meshlets to be implemented and tested soon.

Firestar99 avatar Mar 01 '24 12:03 Firestar99