-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Naga mesh shader SPIR-V writer #8456
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: trunk
Are you sure you want to change the base?
Naga mesh shader SPIR-V writer #8456
Conversation
|
is this almost done ? |
|
Haha yeah its basically done. I merged trunk a while back and now Im getting errors I can't understand (see commit log) but I will no doubt figure it out. I think @cwfitzgerald will get to reviewing it on the 26th, but it'll probably arrive after that. |
|
@inner-daemons so its mainly you who is working on mesh shaders ? |
|
@amarhassam Yeah, I try to post updates to #7197 every now and then, and you can track the status there. I've had 2 people offer to write the HLSL writer and WGSL writer, but not much progress has been made on either I think. Otherwise everything is just me |
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
|
@cwfitzgerald All comments should be addressed, ready for round 2! (=2) |
cwfitzgerald
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some more comments - also tests need to pass.
|
I'll work on fixing the tests... at some point |
|
For future me to enjoy and ponder: |
|
I also have some AMD GPU code from windows that I'll upload at some point but its absolutely unreadable to my eyes. |
Connections
Works towards #7197
Builds on #8370
Description
Add a SPIR-V writer for mesh shaders
All major changes here are in the SPIR-V backend for naga and naga snapshots. Other "changes" are inherited from #8370
Testing
Mesh shader test WGSL is now written to SPIR-V as a snapshot. Mesh shader tests & example use naga-written spirv on vulkan backend.
Squash or Rebase?
Squash
Checklist
cargo fmt.taplo format.cargo clippy --tests. If applicable, add:--target wasm32-unknown-unknowncargo xtask testto run tests.CHANGELOG.mdentry.