Commit graph

957 commits

Author SHA1 Message Date
Alex Janka 04113b66f7 nightly rust-toolchain.toml 2024-10-23 13:41:08 +11:00
chyyran cbdbdafecd chore: Release 2024-10-06 16:07:06 -04:00
Ronny Chan ffcb8ba1d1
doc: Update BROKEN_SHADERS.md
[skip ci]
2024-10-06 15:44:05 -04:00
chyyran 941275199b build: unpin cc 2024-10-06 15:32:18 -04:00
chyyran 525c311844 cli: allow raw-id for spirv output 2024-10-06 15:32:18 -04:00
chyyran 2fe66d958f reflect: put vars to end with running link pass to fix naga ordering 2024-10-06 15:31:34 -04:00
chyyran ed8bf637a9 cli: size_of not in prelude 2024-10-06 13:13:19 -04:00
chyyran 7555bb9024 build: make librashader-reflect features-table more consistent 2024-10-06 12:49:47 -04:00
chyyran 562e1e5f18 doc(msrv): bump msrv to 1.78
Available in debian 12 as rustc-web
2024-10-06 03:06:41 -04:00
chyyran 13b44e1639 cargo: revert lockfile version 2024-10-06 03:04:04 -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 4abd48eb24 capi(presets): support d3d9_hlsl VID-DRV 2024-10-03 00:26:59 -04:00
chyyran 0007bd6d98 doc: update preset_ctx_set_runtime doc 2024-10-03 00:22:33 -04:00
chyyran 72c72dafa0 capi(d3d12): remove unintentional IMAGE_TYPE infix for LIBRA_D3D12_IMAGE_TYPE 2024-10-03 00:18:50 -04:00
chyyran 0fde712f3c doc: update librashader::reflect docs 2024-10-02 19:07:09 -04:00
chyyran 2323b18710 capi(ld): add LIBRA_RUNTIME_D3D9 define commented out 2024-10-02 19:07:09 -04:00
chyyran 5978f95f76 reflect: make ShaderPassArtifact simpler as PassResource already includes the source data 2024-10-02 19:07:09 -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 f189468f6d ci: don't build cli for windows 7 2024-10-02 19:07:09 -04:00
chyyran fc47fb4c5a doc: typo 2024-10-02 01:09:23 -04:00
chyyran fc7739d9ab ci: update github actions 2024-10-02 01:02:46 -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 796b03b42b test: rework tests to work with ShaderPresetPack 2024-10-02 00:16:11 -04:00
chyyran 742a1c8658 dep: update glslang 2024-10-01 23:59:29 -04:00
chyyran 7c03a7e3fe doc(pack): reword doc on ShaderPresetPack 2024-10-01 23:25:52 -04:00
chyyran 4ba6effc2f rt(mtl): fix test 2024-10-01 23:25:52 -04:00
chyyran 32c99d9f4a rt: implement filter chain loading in terms of pack 2024-10-01 23:25:52 -04:00
chyyran 75b70cc0e6 cli: add pack command to create a preset pack 2024-10-01 23:25:52 -04:00
chyyran 828464c351 rt(image): helper to load image from shaderpack TextureBuffer 2024-10-01 23:25:52 -04:00
chyyran c19593e289 pack: implement shader pack library to preload resources from disk 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 f14f45b3b1 rt: separate out meta information for textures 2024-10-01 23:25:52 -04:00
chyyran 859d16e64e rt: separate out meta information to its own struct 2024-10-01 23:25:52 -04:00
chyyran b395b94a40 doc(abi2): add migration details for libra_source_image_d3d12_t layout 2024-09-30 18:01:57 -04:00
Ronny Chan 90a9ee754d
doc: fix migration api typo 2024-09-30 11:38:13 -04:00
chyyran 34b50059ca doc(d3d12,vk): clear up language for barriers
also remove useless `libra_PFN_vkGetInstanceProcAddr`
2024-09-30 11:35:38 -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 c526b7043a capi(d3d12): change the layout so that descriptor is first in libra_source_image_d3d12_t 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 40691cc406 rt(d3d12): allow creating output view from a resource ref 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 b123f63a6e doc(reflect): fix link 2024-09-29 01:41:41 -04:00
chyyran 4285ad2bd1 rt(d3d12): allow a pipeline to be available for multiple formats without recompilation 2024-09-29 01:04:11 -04:00
chyyran c57e502b78 rt(d3d12): make images with OwnedFramebuffer provenance use ManuallyDrop 2024-09-29 01:04:11 -04:00
chyyran 7edff0ae35 rt(d3d12): allow manually specifying the strategy to get a manuallydrop for luts 2024-09-29 01:04:11 -04:00
chyyran dedde05c83 rt(d3d12): move update subresources to lut 2024-09-29 01:04:11 -04:00