Decision Workspace
spirv-layout vs shader-reflect vs spirvcross
Side-by-side comparison of Rust crates
34
spirv-layout
growingv0.4.0
SPIRV reflection utility for deriving Vulkan DescriptorSetLayouts
48
shader-reflect
growingv0.2.10
SPIR-V/GLSL/HLSL shader interface reflection to JSON. (CLI)
38
spirvcross
growingv0.1.2
Bindings to SPIRV-Cross API
Core Metrics
| spirv-layout | shader-reflect | spirvcross | |
|---|---|---|---|
| Health Score | 34 | 48 | 38 |
| Total Downloads | 11.9K | 9.7K | 5.8K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 0 |
| Releases | 9 | 9 | 3 |
| Last Updated | 1716d ago | 66d ago | 1043d ago |
| Age | 4y 9m | 4y | 3y 2m |
Health Breakdown
spirv-layout
Maintenance
4
Quality
9
Community
6
Popularity
5
Documentation
10
shader-reflect
Maintenance
12
Quality
14
Community
5
Popularity
5
Documentation
12
spirvcross
Maintenance
4
Quality
14
Community
6
Popularity
4
Documentation
10
Technical Details
| spirv-layout | shader-reflect | spirvcross | |
|---|---|---|---|
| Version | 0.4.0 | 0.2.10 | 0.1.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 1 | 5 | 12 |
| Crate Size | 12KB | 10KB | 1.7MB |
| Features | 0 | 0 | 5 |
| Yanked % | 44.4% | 0.0% | 0.0% |
| Edition | 2021 | 2018 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •shader-reflect leads with a health score of 48/100, but none of the options score above 80.
- •spirv-layout has the most downloads (11.9K), suggesting wider adoption.
- •⚠ spirv-layout, spirvcross have not been updated in over a year.