blob: 5cf538ec96cb767d1555c556a0950267fe1227c7 [file] [edit]
[package]
name = "vello_shaders"
version = "0.1.0"
edition.workspace = true
license.workspace = true
repository.workspace = true
[features]
default = ["compile", "wgsl", "msl"]
compile = ["naga", "thiserror"]
# Enabling this feature applies a transformation that converts all storage bindings
# to have the `read_write` access mode. For WGSL shaders, this affects the bind group
# layout of all pipelines and changes the usage scope of storage buffers. For MSL shaders,
# this removes the `const` qualifier from entry-point parameters in the `device` address
# space. This allows bindings with mixed access modes to be backed by suballocations from
# the same the buffer object.
#
# This feature doesn't apply to the fine stage where all storage bindings are readonly and
# the same access mode restrictions do not apply.
#
# Enabling this feature may have a performance impact and is not recommended.
force_rw_storage = []
# Target shading language variants of the vello shaders to link into the library.
wgsl = []
msl = []
[dependencies]
naga = { version = "0.13", features = ["wgsl-in", "msl-out", "validate"], optional = true }
thiserror = { version = "1.0.40", optional = true }
[build-dependencies]
naga = { version = "0.13", features = ["wgsl-in", "msl-out", "validate"] }
thiserror = "1.0.40"