Commit Graph

8 Commits

Author SHA1 Message Date
Matthew Gordon 2ce14e25d8 Add //#include macro
You can now include WGSL files in other WGSL files
2024-12-12 10:23:34 -04:00
Matthew Gordon 5c208a73ec Remove unused field from struct 2024-12-12 10:23:19 -04:00
Matthew Gordon 7f7b5261d2 Trick Cargo into adding shader files as dependencies
Add the context of the shader sources with include_bytes!() so that
Cargo will recompile the rust source if the shader source changes.
2024-12-09 22:37:09 -04:00
Matthew Gordon 77755b3eb5 Stub in source_reader module 2024-12-09 21:54:29 -04:00
Matthew Gordon 5226578593 Better error reporting, including validating WGSL file 2024-12-09 21:00:54 -04:00
Matthew Gordon 395e641250 Create proc macro for loading single WGSL file
Now to add features.
2024-12-07 12:08:28 -04:00
Matthew Gordon b9f236c5bc Add *~ to .gitignore 2024-12-07 12:07:33 -04:00
Matthew Gordon 9448ee9f58 Initial commit 2024-12-06 21:31:57 +00:00