chyyran
a7ca391ef6
reflect: abstract away input compiler from compilation
2024-02-11 15:48:01 -05:00
chyyran
2450217c29
fmt: cargo fmt
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
80325fda9e
fmt: cargo fmt
2024-02-03 02:42:52 -05:00
chyyran
f5da7d8421
fmt: cargo fmt
2023-07-20 02:40:13 -04:00
chyyran
d1771a8b25
api: fix feature flags to allow building a proper subset of librashader
2023-02-07 18:50:33 -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
5d260e77d5
reflect: expose HLSL SM version
2023-02-01 18:58:21 -05:00
chyyran
8b6481abc1
fmt: run clippy and rustfmt
2023-01-29 02:30:58 -05:00
Ronny Chan
dffea95370
reflect: allow binding uniform names to both UBO and Push Constants ( #4 )
2023-01-29 01:57:09 -05:00
chyyran
43b7d6fb53
preprocess: support latin-1 encoding
2023-01-28 11:58:59 -05:00
chyyran
341d8825c6
build: switch to custom fork of spirv_cross temporarily
2023-01-21 02:33:09 -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
aea440f194
reflect: remove rspirv
...
When naga is more mature (i.e. with support for COMBINED_IMAGE_SAMPLER), `naga::Module` handles everything we need with a more ergonomic API
2023-01-15 20:06:36 -05:00
chyyran
40e4ce908f
preprocess: store parameters in FxHashMap
2023-01-15 14:06:38 -05:00
chyyran
8fca2954b0
fmt: run cargo fmt
2022-12-21 21:39:31 -05:00
chyyran
2baeae494d
vk: pipeline layout stuff
...
also ringbuffer fixes
2022-12-06 01:38:21 -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
964da02c39
reflect: rename non_uniforms to texture_semantics
2022-11-27 23:11:21 -05:00
chyyran
2e5c9c835a
reflect: align push constant buffer sizes to 16 bytes
2022-11-26 23:57:01 -05:00
chyyran
cb8af115c7
gl: don't rename inputs/outputs
2022-11-24 02:24:05 -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
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
1579516d25
fmt: clean up unused items
2022-11-21 16:21:50 -05:00
chyyran
10eb2c3106
gl: implement passfeedback and original history
2022-11-21 02:13:10 -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
b1beb0e46f
reflect: get rid of meaningful indices for variable semantics
2022-11-13 02:07:21 -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
chyyran
301b8bf209
gl: add name mapping to gl compiler
2022-11-09 01:11:25 -05:00
chyyran
f1280202e5
hlsl: implement hlsl reflection
2022-11-07 00:25:11 -05:00
chyyran
d6f47f83ca
fmt: run clippy
2022-10-31 20:29:25 -04:00
chyyran
5ec604e536
chore: run fmt
2022-10-27 20:39:39 -04:00
chyyran
073921b9fb
reflect: implement shader reflection
2022-10-27 02:22:44 -04:00
chyyran
75bbd3eacf
reflect: finish buffer parameter parsing
2022-10-26 01:19:04 -04:00
chyyran
3a0b545ad2
reflect: more work on semantics binding
2022-10-25 22:13:39 -04:00
chyyran
6ab3775b23
reflect: some cursed experiments
2022-10-25 01:47:41 -04:00
chyyran
36a885e55a
reflect: partially implement reflection
2022-10-23 23:22:26 -04:00