mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-10-30 14:01:39 +00:00
3049f63cad
* [spv-in] New two pass parser based * [spv-in] Allow expressions defined in dominant block in different scopes * Make the patch non breaking * [spv-in] Allow scope transfers in phi instructions * [spv-in] Remove unused stuff * [spv-in] Handle switch merges as breaks * Remove no longer needed stuff * Revert some changes to prepare to merge * Remove dead code * Don't spill into local if in scope * [spv-in] Documentation, comments, some renaming for clarity. * Address comments Co-authored-by: Jim Blandy <jimb@red-bean.com>
63 lines
1.7 KiB
TOML
63 lines
1.7 KiB
TOML
[package]
|
|
name = "naga"
|
|
version = "0.6.0"
|
|
authors = ["Naga Developers"]
|
|
edition = "2018"
|
|
description = "Shader translation infrastructure"
|
|
homepage = "https://github.com/gfx-rs/naga"
|
|
repository = "https://github.com/gfx-rs/naga/tree/v0.5"
|
|
keywords = ["shader", "SPIR-V", "GLSL", "MSL"]
|
|
license = "MIT OR Apache-2.0"
|
|
exclude = ["bin/**/*", "tests/**/*", "Cargo.lock", "target/**/*"]
|
|
resolver = "2"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
|
|
[dependencies]
|
|
# MSRV warning: bitflags 1.3 requires Rust-1.46
|
|
bitflags = "1"
|
|
bit-set = "0.5"
|
|
codespan-reporting = { version = "0.11.0", optional = true }
|
|
fxhash = "0.2"
|
|
log = "0.4"
|
|
num-traits = "0.2"
|
|
spirv = { version = "0.2", optional = true }
|
|
thiserror = "1.0.21"
|
|
serde = { version = "1.0", features = ["derive"], optional = true }
|
|
petgraph = { version ="0.6", optional = true }
|
|
pp-rs = { version = "0.2.1", optional = true }
|
|
hexf-parse = { version = "0.2.1", optional = true }
|
|
|
|
[features]
|
|
default = []
|
|
dot-out = []
|
|
glsl-in = ["pp-rs"]
|
|
glsl-validate = []
|
|
glsl-out = ["petgraph"]
|
|
msl-out = []
|
|
serialize = ["serde"]
|
|
deserialize = ["serde"]
|
|
spv-in = ["petgraph", "spirv"]
|
|
spv-out = ["spirv"]
|
|
wgsl-in = ["codespan-reporting", "hexf-parse"]
|
|
wgsl-out = []
|
|
hlsl-out = []
|
|
span = ["codespan-reporting"]
|
|
|
|
[dev-dependencies]
|
|
diff = "0.1"
|
|
ron = "0.6"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
spirv = { version = "0.2", features = ["deserialize"] }
|
|
rspirv = "0.10"
|
|
env_logger = "0.8"
|
|
|
|
[workspace]
|
|
members = [".", "cli"]
|
|
|
|
# Include "cli", so that `cargo run` runs the CLI by default. Include ".", so
|
|
# that `cargo test` includes naga's own tests by default (but note, using the
|
|
# features that `cli/Cargo.toml` requests).
|
|
default-members = [".", "cli"]
|