mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 23:04:07 +00:00
6f0f551bac
* Add initial pomelo glsl work * Fix ref to glsl_old * Fix idents with numbers in lexer * Use glsl_new for .vert in convert example Controlled by PREFER_GLSL_NEW=1 env var Also add simple test files * Start making parser look like spec * Port 'old' lex.rs to glsl_new * Apply fixes after rebasing * Fix clippy issue * Fix PR comments - Make into optional feature glsl-new - Minor code style improvements
29 lines
722 B
TOML
29 lines
722 B
TOML
[package]
|
|
name = "naga"
|
|
version = "0.1.0"
|
|
authors = ["Dzmitry Malyshau <kvarkus@gmail.com>"]
|
|
edition = "2018"
|
|
description = "Shader translation infrastructure"
|
|
homepage = "https://github.com/gfx-rs/naga"
|
|
repository = "https://github.com/gfx-rs/naga"
|
|
keywords = ["shader", "SPIR-V"]
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[dependencies]
|
|
bitflags = "1"
|
|
fxhash = "0.2"
|
|
log = "0.4"
|
|
num-traits = "0.2"
|
|
spirv = { package = "spirv_headers", version = "1.4.2", optional = true }
|
|
glsl = { version = "4", optional = true }
|
|
pomelo = { version = "0.1.4", optional = true }
|
|
|
|
[features]
|
|
glsl_preprocessor = ["glsl"]
|
|
glsl-new = ["pomelo"]
|
|
|
|
[dev-dependencies]
|
|
env_logger = "0.6"
|
|
ron = "0.5"
|
|
serde = { version = "1", features = ["serde_derive"] }
|