Commit graph

928 commits

Author SHA1 Message Date
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
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 2fe7702957 rt(d3d11): avoid QueryInterface in GetSize 2024-09-28 14:46:16 -04:00
chyyran a5c8fcf4f8 doc: missing period 2024-09-27 01:13:37 -04:00
chyyran 629070ea2f ci: build cli 2024-09-27 01:12:02 -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
chyyran 227757a221 cli: parse transpile versions 2024-09-27 01:12:02 -04:00
chyyran a72a593029 reflect: allow indexed and non-indexed semantics to be serialized and deserialized as strings 2024-09-27 01:12:02 -04:00
chyyran 1537c1bcd7 cli: ensure shaders are validated before compile 2024-09-27 01:12:02 -04:00
chyyran 5573f13227 test: add CLI with multiple functions 2024-09-27 01:12:02 -04:00
chyyran bac09ad2a3 reflect: allow validation of shaders without reflecting against semantics 2024-09-27 01:12:02 -04:00
chyyran 31ece05246 reflect: allow more reflection objects to be serializable 2024-09-27 01:12:02 -04:00
chyyran 5ede061975 preprocess: allow shadersource to be serializable with serde 2024-09-27 01:12:02 -04:00
chyyran 1676150858 presets: allow presets to be serializable with serde 2024-09-27 01:12:02 -04:00
chyyran eeda0d02d0 test: make RenderTest trait object safe 2024-09-27 01:12:02 -04:00
chyyran f7a938a00d deps: update dependencies 2024-09-25 22:26:20 -04:00
chyyran 6394b28d40 deps: update dependencies 2024-09-25 22:14:46 -04:00
chyyran 443fa20d22 test: clean up imports and features 2024-09-25 22:00:10 -04:00
chyyran 5c726efe21 test(d3d12): Add D3D12 render test 2024-09-25 22:00:10 -04:00
chyyran d33c2a84b2 test(d3d9): Add Direct3D 9 render test
Something seems to be broken though, it's not rendering the correct channel
2024-09-25 22:00:10 -04:00
chyyran 5a35a2bd1e test(render): reenable cache 2024-09-25 22:00:10 -04:00
chyyran 41034330a7 test(mtl): Add Metal render test 2024-09-25 22:00:10 -04:00
chyyran a7836923d7 test: split test harnesses into features 2024-09-25 22:00:10 -04:00
chyyran 20039b9347 test: abstract test framework 2024-09-25 22:00:10 -04:00