Cargo Features
[dependencies]
jit-spirv = { version = "0.1.1", default-features = false, features = ["build-from-source", "wgsl", "glsl", "shaderc", "naga"] }
- default = glsl, hlsl, wgsl
-
These default features are set whenever
jit-spirv
is added without
somewhere in the dependency tree.default-features = false - build-from-source = shaderc
-
Enables build-from-source of shaderc
- wgsl default = naga
- hlsl glsl default = shaderc
- shaderc build-from-source? glsl hlsl
-
Enables shaderc, shaderc of jit-spirv-impl
- naga wgsl
-
Enables naga, naga of jit-spirv-impl
jit-spirv has 6 features without comments.