mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-27 22:58:11 +08:00
gpu invert node demo
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
[package]
|
||||
name = "graphene-core-shader"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
description = "Graphene nodes compiled to shaders"
|
||||
authors = ["Graphite Authors <contact@graphite.rs>"]
|
||||
license = "MIT OR Apache-2.0"
|
||||
|
||||
[lib]
|
||||
crate-type = ["rlib", "cdylib"]
|
||||
|
||||
[features]
|
||||
gpu = ["glam/libm"]
|
||||
|
||||
[dependencies]
|
||||
# Workspace dependencies
|
||||
spirv-std = { workspace = true }
|
||||
bytemuck = { workspace = true }
|
||||
glam = { workspace = true, features = [
|
||||
"scalar-math", "bytemuck"
|
||||
] }
|
||||
|
||||
[lints.rust]
|
||||
# the spirv target is not in the list of common cfgs so must be added manually
|
||||
unexpected_cfgs = { level = "warn", check-cfg = [
|
||||
'cfg(target_arch, values("spirv"))',
|
||||
] }
|
||||
Reference in New Issue
Block a user