Commit Graph

15 Commits

Author SHA1 Message Date
firestar99
b1a5ab17c8 node-macro: add CrateIdent struct containing resolved crate paths 2025-09-05 00:23:33 +02:00
firestar99
e3e0fbe75c shader-nodes feature: rename any gpu_node to shader-node 2025-09-05 00:16:04 +02:00
firestar99
676aea33fe shader-nodes feature: put shader nodes behind feature gate 2025-09-05 00:16:04 +02:00
firestar99
1128271b41 shader-rt: correct arg buffer handling 2025-09-05 00:16:04 +02:00
firestar99
16c67ecc68 shader-rt: cleanup codegen with common sym struct 2025-09-05 00:16:04 +02:00
firestar99
2495421990 shader-rt: manual pipeline layout, fixing errors when bindings got DCE'd 2025-09-05 00:16:04 +02:00
firestar99
1c89d7a5f3 shader-rt: correct bindings with derpy arg buffer 2025-09-05 00:16:04 +02:00
firestar99
6a116fdb2b shader-rt: pass WgpuExecutor by reference 2025-09-05 00:16:04 +02:00
firestar99
b25b059b5f shader-rt: connect shader runtime 2025-09-05 00:16:04 +02:00
firestar99
716dcba996 shader-rt: fix impl Context in the wrong places 2025-09-05 00:16:04 +02:00
firestar99
2e660be093 shader-rt: properly cfg out the gpu node 2025-09-05 00:16:04 +02:00
firestar99
17f2da0c59 shader-rt: replace gpu node's args and ret types with Raster<GPU> 2025-09-05 00:16:04 +02:00
firestar99
5981022549 shader-rt: fix recursion when generating shader node 2025-09-05 00:16:04 +02:00
firestar99
6a0c07ab3e shader-rt: initial 2025-09-05 00:16:04 +02:00
Firestar99
a10103311e Shaders: rust-gpu integration to compile shader nodes to WGSL (#3097)
* shaders: shader compilation setup

* nix: use rustc_codegen_spirv.so from nix

* shaders: codegen for per_pixel_adjust shader nodes

* shaders: disable nodes needing bool

* shaders: `#[repr(u32)]` some enums

* shaders: add lint ignores from rust-gpu

* shaders: fix node-macro tests

* gcore-shaders: toml cleanup

* shader-nodes feature: put rust-gpu to wgsl compile behind feature gate

* shaders: fix use TokenStream2

* shaders: allow providing shader externally

* Update iai runner in workflow

---------

Co-authored-by: Timon Schelling <me@timon.zip>
Co-authored-by: Dennis Kobert <dennis@kobert.dev>
2025-09-02 14:10:32 +00:00