shaders: add trait BufferStruct and derive macro

This commit is contained in:
firestar99
2025-09-05 00:23:33 +02:00
parent b1a5ab17c8
commit 987430762c
16 changed files with 631 additions and 20 deletions
Generated
+4
View File
@@ -2136,8 +2136,10 @@ dependencies = [
"graphene-core",
"half",
"log",
"node-macro",
"num-derive",
"num-traits",
"num_enum",
"serde",
"specta",
"spirv-std",
@@ -2186,6 +2188,7 @@ dependencies = [
"ndarray",
"node-macro",
"num-traits",
"num_enum",
"rand 0.9.2",
"rand_chacha 0.9.0",
"serde",
@@ -5524,6 +5527,7 @@ version = "0.9.0"
source = "git+https://github.com/rust-gpu/rust-gpu?rev=c12f216121820580731440ee79ebc7403d6ea04f#c12f216121820580731440ee79ebc7403d6ea04f"
dependencies = [
"bitflags 1.3.2",
"bytemuck",
"glam",
"libm",
"num-traits",