Commit graph

29 commits

Author SHA1 Message Date
chyyran 87e0405675 presets: properly trim shader name if given through pragma 2024-09-17 18:27:31 -04:00
chyyran cbe6510f76 preprocess: the step argument is optional according to slang-shaders spec 2024-09-16 19:21:18 -04:00
chyyran 090e268c4a doc: improve docs 2024-09-06 22:45:07 -04:00
chyyran 40a56bf165 reflect/preprocess/presets: use SmallString where it makes sense
Most use cases are internal so at least for the runtime consumers there's no API change, but preset parsing
and reflection items are public API so might as well put this as part of 0.4.0
2024-09-06 22:45:07 -04:00
chyyran 350508a7aa preprocess: strip #pragma parameter 2024-02-15 21:43:02 -05:00
chyyran 6fbc4b3075 fmt: cargo fmt 2024-02-14 20:50:17 -05:00
chyyran b348e8591f lib: use a faster hashmap implementation 2024-02-14 20:50:17 -05:00
chyyran f5da7d8421 fmt: cargo fmt 2023-07-20 02:40:13 -04:00
chyyran 8b6481abc1 fmt: run clippy and rustfmt 2023-01-29 02:30:58 -05:00
chyyran 43b7d6fb53 preprocess: support latin-1 encoding 2023-01-28 11:58:59 -05:00
chyyran 4e51704e35 reflect: abstract away preset compilation 2023-01-18 20:56:08 -05:00
chyyran 422253b42b doc: clean up docs 2023-01-18 19:39:36 -05:00
chyyran e887b7cf35 docs: add crate docs to helper crates 2023-01-16 23:09:07 -05:00
chyyran 479015d223 api: clean up spirv-cross related apis 2023-01-16 19:35:23 -05:00
chyyran c059e7c566 fmt: run cargo fmt 2023-01-15 18:21:17 -05:00
chyyran 40e4ce908f preprocess: store parameters in FxHashMap 2023-01-15 14:06:38 -05:00
chyyran f92dc5cae6 fmt: run clippy 2022-12-01 19:16:13 -05:00
chyyran acab02e401 doc: general add docs and clean up 2022-11-30 22:50:57 -05:00
chyyran 60fd644a2a d3d11: initialize output buffers 2022-11-29 01:57:04 -05:00
chyyran 1978350d97 fmt: cleanup unused items 2022-11-21 17:47:38 -05:00
chyyran 1579516d25 fmt: clean up unused items 2022-11-21 16:21:50 -05:00
chyyran 80fa30e54e preprocess: move ShaderSource to preprocess and rename common def libs 2022-11-21 16:13:37 -05:00
chyyran 10eb2c3106 gl: implement passfeedback and original history 2022-11-21 02:13:10 -05:00
chyyran 0f91b9a49e reflect: add reflection crate 2022-10-23 02:36:41 -04:00
chyyran f0ad7ea3c8 chore: run fmt 2022-10-23 00:59:18 -04:00
chyyran 3f83e0fcd0 preprocess: implement stage separator to complete preprocessor 2022-10-22 02:54:06 -04:00
chyyran 394e09678d preprocess: implement meta parsing 2022-10-21 23:37:47 -04:00
chyyran de161373a9 api: do some renaming of structs 2022-10-21 21:04:00 -04:00
chyyran 2f85ea9f24 preprocess: add preprocessor module with include resolver 2022-10-21 01:12:17 -04:00