gpu invert node demo

This commit is contained in:
Firestar99
2025-06-05 16:00:36 +02:00
parent eb8605a0b3
commit bf2673428a
12 changed files with 1531 additions and 26 deletions
+27
View File
@@ -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"))',
] }