chyyran
59937aced5
fmt: cargo fmt
2024-09-22 02:06:47 -04:00
chyyran
1bdadaa449
rt(gl): port to OpenGL runtime to glow
2024-09-22 02:06:47 -04:00
chyyran
77b957bf5e
reflect: stop adding null bytes to uniform names
2024-09-22 02:06:47 -04:00
chyyran
57f2dabf0c
reflect: fix CurrentSubFrame
being parsed as TotalSubFrames
2024-09-17 18:27:31 -04:00
chyyran
81840a9e9c
reflect: insert alias semantics for shader name through pragma
2024-09-17 18:27:31 -04:00
chyyran
4cc3c875bf
reflect: allow compilation of boxed trait objects
...
Add a hidden `compile_boxed` function to CompileShader to support this. This is to allow Box<dyn CompileReflectShader> to work.
2024-09-15 03:10:45 -04:00
chyyran
805854b94b
reflect: simplify FromCompilation output signature
...
CompileShader<..> + ReflectShader and be simplified to CompileReflectShader since FromCompilation instances are unique for (Compilation, Reflector)
2024-09-15 03:10:45 -04:00
chyyran
8b2ff57ee8
reflect: replace let_chains
with Option::filter
2024-09-14 02:11:18 -04:00
chyyran
090e268c4a
doc: improve docs
2024-09-06 22:45:07 -04:00
chyyran
c3033cfbbf
reflect: port to spirv-cross2
2024-09-06 22:45:07 -04:00
chyyran
820fb69328
reflect: remove get_prefix from get_texture_semantic/get_unique_semantic
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
977975f4c7
doc: document naga reflect
2024-08-09 00:56:44 -04:00
chyyran
c646086df4
dep: update wgpu
...
need to support caching
2024-08-01 08:37:40 -04:00
chyyran
b7071958bd
rt(d3d9): add a runtime for direct3d 9
2024-03-07 21:09:15 -05:00
chyyran
7a3a690166
reflect: improve error messages
2024-02-24 12:26:37 -05:00
chyyran
b5bc3c11e1
ci: emit github warnings on failure
2024-02-24 12:26:37 -05:00
chyyran
9741ab2cd1
ci: add a full test suite for reflecting things
2024-02-24 12:26:37 -05:00
chyyran
50aa582fa8
reflect(d3d12): fakesign dxil blobs to avoid needing dxil.dll
2024-02-19 09:54:19 -05:00
chyyran
22aa59b598
reflect: move spirv_passes out of naga
2024-02-19 09:54:19 -05:00
chyyran
017a1a6232
fmt: clean up imports and features
2024-02-16 01:19:52 -05:00
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