Commit graph

24 commits

Author SHA1 Message Date
Alex Janka c56b0a7701 shaders can be either a path or a string 2024-10-23 14:01:09 +11:00
chyyran cbdbdafecd chore: Release 2024-10-06 16:07:06 -04:00
chyyran 525c311844 cli: allow raw-id for spirv output 2024-10-06 15:32:18 -04:00
chyyran ed8bf637a9 cli: size_of not in prelude 2024-10-06 13:13:19 -04:00
chyyran 240aae1bcf chore: Release 2024-10-06 01:05:35 -04:00
chyyran 95a489ee12 cli(render): allow specifying output dimensions 2024-10-05 23:12:25 -04:00
chyyran 3ee5e66c0d presets: make naming more consistent
* `ShaderPassConfig` -> `PassConfig`
* `ShaderPassData` -> `PassResource`
* `TextureData` -> `TextureResource`
* `ShaderPresetResource` -> `LoadedResource`
* `ShaderPassMeta` -> `PassMeta`

* `ShaderPreset::shaders` -> `ShaderPreset::passes`
* `ShaderPreset::shader_count` -> `ShaderPreset::pass_count`

* `ShaderPresetPack::shaders` -> `ShaderPresetPack::passes`
* `ShaderPresetPack::shader_count` -> `ShaderPresetPack::pass_count`
2024-10-02 19:07:09 -04:00
chyyran 4a8a9ee444 chore: Release 2024-10-02 00:28:10 -04:00
chyyran 756cbe63d9 cli: fix cli Cargo.toml 2024-10-02 00:27:11 -04:00
chyyran 75b70cc0e6 cli: add pack command to create a preset pack 2024-10-01 23:25:52 -04:00
chyyran 1bbbd784d8 preset: make ShaderPassConfig and TextureConfig type aliases to PathReference 2024-10-01 23:25:52 -04:00
chyyran 4273a833e8 pack: add librashader-pack
also consolidate rayon dependency
2024-10-01 23:25:52 -04:00
chyyran 7a13136f9a capi(d3d12): allow d3d12 to optionally use a resource handle with chain-managed descriptors 2024-09-30 11:35:38 -04:00
chyyran 0cb3880d7f rt(d3d12): allow construction of D3D12InputImage without a descriptor handle 2024-09-30 11:35:38 -04:00
chyyran 33d95ac399 rt(d3d12): allow creating input view without a CPU handle 2024-09-30 11:35:38 -04:00
chyyran 3c20c83bc9 rt(d3d12): use InterfaceRef for D3D12InputImage to avoid refcount for input image 2024-09-30 11:35:38 -04:00
chyyran 7d483f2e08 rt(d3d9): take viewport by reference to avoid AddRef/Release 2024-09-28 14:46:16 -04:00
chyyran 7b7fd99b92 rt(d3d11): take viewport by reference to avoid AddRef/Release 2024-09-28 14:46:16 -04:00
chyyran 28931ae50a rt(d3d12): update d3d12-descriptor-heap 2024-09-28 14:46:16 -04:00
chyyran da53c3df59 cli(render): make frame inclusive to ensure correct feedback and history behaviour 2024-09-27 01:12:02 -04:00
chyyran 84e78f4e48 cli(render): add ability to specify frame options 2024-09-27 01:12:02 -04:00
chyyran 91f8089277 cli(render): add ability to specify params and passes enabled 2024-09-27 01:12:02 -04:00
chyyran 3993f57271 doc(cli): document CLI 2024-09-27 01:12:02 -04:00
chyyran 55ff7a93f2 cli: rename librashader-test -> librashader-cli 2024-09-27 01:12:02 -04:00