Traverse-Research / rspirv-reflect

🦀 Minimal SPIR-V reflection library.
https://traverseresearch.nl
Apache License 2.0
41 stars 10 forks source link

Add utility function to get compute shader group size #21

Closed hrydgard closed 2 years ago

hrydgard commented 2 years ago

Often useful for image processing shaders where you want to tweak the group size during development, and just generally convenient.

Not sure if "group size" is the most correct/general name for this, happy to change it.

hrydgard commented 2 years ago

Oops, seems I hit your lint checks :) Should be trivial to fix though.