Commit Graph

11 Commits

Author SHA1 Message Date
Matthew Gordon 262aa6364d Update rust edition and naga version 2025-05-10 09:19:56 -03:00
Matthew Gordon 439082dad3 Update to reflect changes to proc_macro
I was using the unstable Span::source_file() function which has been
removed. Replaced with Span::local_file().
2025-05-10 09:18:22 -03:00
Matthew Gordon 56c8652c57 Code formatting 2025-05-10 09:17:45 -03:00
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