chyyran
c0ecae844c
reflect(wgsl): link spirv to remove unused input/outputs
2024-02-15 21:43:02 -05:00
chyyran
cbac011969
reflect(wgsl): only analyze active ubo members
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
cc93e37701
reflect: get rid of redundant shader compiler argument
2024-02-14 03:08:09 -05:00
chyyran
5554703af7
rt(mtl): fix stride asssignment
2024-02-14 03:08:09 -05:00
chyyran
a7b1682a37
rt(mtl): implement filter pass and filter chain logic
2024-02-14 03:08:09 -05:00
chyyran
aca5b5420c
rt(gl): use struct for draw_quad
2024-02-13 02:01:20 -05:00
chyyran
c121087348
rt(vk, wgpu): use structs for quad data
2024-02-13 02:01:20 -05:00
chyyran
849a749f1a
reflect(cross-glsl): don't unset vertex input attributes
2024-02-13 02:01:20 -05:00
chyyran
daf30c83c0
rt: add Rotation
, TotalSubFrames
, CurrentSubFrame
uniform semantics
2024-02-12 01:58:05 -05:00
chyyran
4762055dc1
reflect(msl): naga msl implementation
2024-02-11 15:48:01 -05:00
chyyran
d0a5224c10
dep: upgrade librashader-spirv-cross
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
f9fdb93c0c
dep: update glslang and bitflags
2024-02-08 18:16:10 -05:00
chyyran
37397ff216
lib: add wgpu to librashader library
2024-02-06 19:04:28 -05:00
chyyran
2450217c29
fmt: cargo fmt
2024-02-06 19:04:28 -05:00
chyyran
555ff6f9fc
rt(wgpu): update to wgpu 0.19
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
3eae38f815
fmt: cargo fmt
2023-02-06 21:56:30 -05:00
chyyran
c818ef13f7
docs(reflect): Update docs to reflect that uniforms can be bound to both UBO and Push Constants
2023-02-06 19:34:01 -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
f677666900
d3d12: initial implementation of spirv-to-dxil
2023-02-05 01:05:42 -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
9397233a0c
reflect: don't need error trait bound
2023-01-21 15:47:52 -05:00
chyyran
341d8825c6
build: switch to custom fork of spirv_cross temporarily
2023-01-21 02:33:09 -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
b3dd378b5b
reflect: simplify shaderpassmeta type declarations with a macro
2023-01-19 00:37:37 -05:00
chyyran
fc54c7f65c
reflect: move compile_preset_passes from librashader-runtime into librashader-reflect
2023-01-18 21:58:13 -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