Commit graph

52 commits

Author SHA1 Message Date
chyyran
a7b1682a37 rt(mtl): implement filter pass and filter chain logic 2024-02-14 03:08:09 -05:00
chyyran
4762055dc1 reflect(msl): naga msl implementation 2024-02-11 15:48:01 -05:00
chyyran
a495b693a6 reflect(msl): implement spirv-cross msl 2024-02-11 15:48:01 -05:00
chyyran
c67e9f4801 reflect: move folder structure around to be a little better 2024-02-11 15:48:01 -05:00
chyyran
e1f62fc984 reflect: remove ShaderOutputCompiler and just delegate to FromCompilation 2024-02-11 15:48:01 -05:00
chyyran
b98d86a940 reflect: allow specifying output toolchain 2024-02-11 15:48:01 -05:00
chyyran
252f685967 reflect: abstract away output compiler into its own trait 2024-02-11 15:48:01 -05:00
chyyran
a7ca391ef6 reflect: abstract away input compiler from compilation 2024-02-11 15:48:01 -05:00
chyyran
121dbc4ed6 reflect(wgsl): properly adjust coordinate space to WGSL-expected 2024-02-06 19:04:28 -05:00
chyyran
4e052159e7 rt(wgpu): create pipeline bind group layouts 2024-02-06 19:04:28 -05:00
chyyran
171c842c97 reflect(wgsl): implement WGSL reflection 2024-02-06 19:04:28 -05:00
chyyran
4dfcdf2725 reflect(wgsl): wgsl compile backend 2024-02-06 19:04:28 -05:00
chyyran
f4bdf160ab build: only build dxil on windows 2023-11-29 03:26:58 -05:00
chyyran
b09a5295ab reflect: update spirv-to-dxil 2023-07-20 02:40:13 -04:00
chyyran
c475a4cd9d reflect: fix feature flag for dxil 2023-02-08 18:47:22 -05:00
chyyran
d1771a8b25 api: fix feature flags to allow building a proper subset of librashader 2023-02-07 18:50:33 -05:00
chyyran
3eae38f815 fmt: cargo fmt 2023-02-06 21:56:30 -05:00
chyyran
3ad67d9539 dep: upgrade to spirv-to-dxil 0.3 2023-02-06 19:22:53 -05:00
chyyran
f5fe3e37ef rt(d3d11/vk): allow for parallel shader compilation
OpenGL is for obvious reasons incompatible, and for DX12 the graphics pipeline creation has to be on the main thread so there isn't that much gain to be had.
2023-02-05 19:53:45 -05:00
chyyran
b81b2b1d25 fmt: run clippy 2023-02-05 18:34:30 -05:00
chyyran
2d2ed22e9a fmt: run cargo fmt 2023-02-05 16:19:22 -05:00
chyyran
d6ac2c665d reflect: fix expected runtime config options 2023-02-05 01:14:01 -05:00
chyyran
f677666900 d3d12: initial implementation of spirv-to-dxil 2023-02-05 01:05:42 -05:00
chyyran
aa87e13201 reflect: add API to compile to DXIL 2023-02-04 18:24:56 -05:00
chyyran
5d260e77d5 reflect: expose HLSL SM version 2023-02-01 18:58:21 -05:00
chyyran
ef8b72b220 reflect: use a marker trait to remove need for macro when spelling out compilation artifact opaque type 2023-01-19 18:44:08 -05:00
chyyran
261710d639 reflect: move GlslangCompilation up a level and remove intermediate modules in reflect::front 2023-01-19 01:06:17 -05:00
chyyran
479015d223 api: clean up spirv-cross related apis 2023-01-16 19:35:23 -05:00
chyyran
403ed5ed13 reflect: rename SpirV to SPIRV 2023-01-13 23:59:16 -05:00
chyyran
8fca2954b0 fmt: run cargo fmt 2022-12-21 21:39:31 -05:00
chyyran
bf840d02e4 reflect: fix spirv fragment output actually was vertex 2022-12-10 01:25:19 -05:00
chyyran
22f87aa7f8 reflect: add FromCompilation<GlslangCompilation> for SpirV 2022-12-05 23:09:59 -05:00
chyyran
e804ffd310 reflect: document and rename some structs 2022-12-01 01:50:16 -05:00
chyyran
5088e1c55b fmt: run cargo fmt and clippy 2022-11-30 01:38:05 -05:00
chyyran
43ec5173c1 reflect: seal ast output mutability after compilation 2022-11-27 23:47:41 -05:00
chyyran
6d11323520 gl: use real texture names when fixing bindings 2022-11-24 02:08:58 -05:00
chyyran
dadfb6ba33 dx11: begin to work on dx11 implementation 2022-11-24 01:37:16 -05:00
chyyran
254875de29 reflect: desugar rpitit into tait to avoid incomplete feature warning 2022-11-21 18:19:43 -05:00
chyyran
1978350d97 fmt: cleanup unused items 2022-11-21 17:47:38 -05:00
chyyran
86ad32ff0a lib: sort out base library structure 2022-11-21 16:53:36 -05:00
chyyran
38ce621664 reflect: make compilation an associated function 2022-11-21 16:28:28 -05:00
chyyran
1579516d25 fmt: clean up unused items 2022-11-21 16:21:50 -05:00
chyyran
090df176c8 gl: fix sampler binding 2022-11-19 22:03:58 -05:00
chyyran
d49fa5307a gl: clean up uniform binding storage 2022-11-19 18:48:54 -05:00
chyyran
dcbdb382e1 presets: allow comments on the same line as a declaration 2022-11-13 01:57:22 -05:00
chyyran
66d1c872ee gl: get some more reflection work done 2022-11-12 01:23:49 -05:00
chyyran
bbefc3ced3 gl: expose compiler in gl result 2022-11-11 02:26:57 -05:00
chyyran
f3d0b2acae fmt: run clippy 2022-11-11 01:53:02 -05:00
chyyran
41f721aa6d reflect: clean up public reflect API a little 2022-11-11 01:44:41 -05:00
chyyran
993359115e reflect: hide spirv details from consumer 2022-11-09 01:51:10 -05:00