mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
When it was introduced it was supposed to allow for fast compiles by skipping glsl specific validation, but as it turns the subset of glsl that's compilable code is already pretty close to the subset of valid glsl code. So the current code gated behind glsl-validate amounts to a single branch that isn't even performance sensitive, and most of the validation is not specific to glsl and is made by naga's validator which can be turned off, so the original goal of fast compile times by disabling validation can still be accomplished.
23 lines
664 B
TOML
23 lines
664 B
TOML
[package]
|
|
name = "naga-cli"
|
|
version = "0.9.0"
|
|
authors = ["Naga Developers"]
|
|
edition = "2018"
|
|
description = "Shader translation command line tool"
|
|
homepage = "https://github.com/gfx-rs/naga"
|
|
repository = "https://github.com/gfx-rs/naga"
|
|
keywords = ["shader", "SPIR-V", "GLSL", "MSL"]
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[[bin]]
|
|
name = "naga"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
naga = { version = "0.9", path = "../", features = ["validate", "span", "wgsl-in", "wgsl-out", "glsl-in", "glsl-out", "spv-in", "spv-out", "msl-out", "hlsl-out", "dot-out", "serialize", "deserialize"] }
|
|
bincode = "1"
|
|
log = "0.4"
|
|
codespan-reporting = "0.11"
|
|
env_logger = "0.9"
|
|
argh = "0.1.5"
|