Commit graph

895 commits

Author SHA1 Message Date
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
chyyran 799d409ddb test(gl): Add OpenGL render test 2024-09-25 22:00:10 -04:00
chyyran 79513a301e test(vk): Add Vulkan render test 2024-09-25 22:00:10 -04:00
chyyran 6de2de8d12 test(wgpu): Add WGPU render test
Also rename triangle -> render
2024-09-25 22:00:10 -04:00
chyyran 2904a2ac10 test(d3d11): Add D3D11 triangle test to image 2024-09-25 22:00:10 -04:00
chyyran 341fbceb82 rt(d3d12): derive clone on D3D12InputImage 2024-09-25 22:00:10 -04:00
chyyran c54747d398 deps: update dependencies 2024-09-25 18:16:21 -04:00
chyyran 3888b56c83 rt(d3d9): accept input image by reference 2024-09-25 01:44:36 -04:00
chyyran b0df631651 rt(d3d9): load LUTS as BGRA8
Seems like ARGB8 is incorrect.
2024-09-25 01:44:36 -04:00
chyyran dbfa822f7c rt(d3d9): disable alpha blending 2024-09-25 01:44:36 -04:00
chyyran e7fe96520e rt(gl): ensure framebuffers are bound 2024-09-25 01:44:36 -04:00
chyyran 97ad0d64bf rt(gl): make FilterChain::load_from argument order consistent with other runtimes 2024-09-24 00:49:10 -04:00
chyyran feaebc5f44 fmt(gl): cargo fmt 2024-09-23 23:55:50 -04:00
chyyran ef35e2a620 presets: rename to_hashmap -> into_hashmap 2024-09-23 23:55:27 -04:00
chyyran 987e967269 doc(capi): add error doc for infallible error 2024-09-22 02:06:47 -04:00
chyyran c3469520f9 examples(d3d11): fix d3d11 examples 2024-09-22 02:06:47 -04:00
chyyran 45b98a2bdd rt(gl): use array_init instead of manually doing it with MaybeUninit 2024-09-22 02:06:47 -04:00
chyyran 2ee9eca854 ci: ignore .DS_Store 2024-09-22 02:06:47 -04:00
chyyran 59937aced5 fmt: cargo fmt 2024-09-22 02:06:47 -04:00
chyyran e4eed34c10 capi: const qualify chain in _filter_chain_get_param and _filter_chain_get_active_pass_count"
This reverts commit 98d8d91c66.
2024-09-22 02:06:47 -04:00
chyyran 7abd679bd7 doc: add migration docs 2024-09-22 02:06:47 -04:00
chyyran 41353ac9c4 rt(gl): remove need for explicit external FBO object
Replaced with an internal FBO that is state tracked so as to not recreate it every frame, but will update if necessary
2024-09-22 02:06:47 -04:00
chyyran 4d790e7a7b doc: update ABI versions in version.rs and readme 2024-09-22 02:06:47 -04:00
chyyran aeb0a16cfb rt(vk): allow specifying the queue to use 2024-09-22 02:06:47 -04:00
chyyran 16108838b1 rt(d3d11): remove unneeded transmutes 2024-09-22 02:06:47 -04:00
chyyran 7cfbca7755 rt(wgpu): remove unnecessary output move 2024-09-22 02:06:47 -04:00
chyyran 8467e5cd97 rt(mtl): remove unnecessary output move 2024-09-22 02:06:47 -04:00
chyyran 1e33b4cc03 capi: make viewport optional, defaulting to a viewport that is the entire size of the render target 2024-09-22 02:06:47 -04:00
chyyran eb53699590 capi(include): update headers 2024-09-22 02:06:47 -04:00
chyyran 0cbf8024a7 build: update soname 2024-09-22 02:06:47 -04:00
chyyran 7e354a56a1 capi: upgrade cbindgen to fix syn bug 2024-09-22 02:06:47 -04:00
chyyran 0a87bcc657 rt: respect viewport extents when rendering 2024-09-22 02:06:47 -04:00
chyyran f0a7970b44 rt: add viewport extent separate from output texture dimensions 2024-09-22 02:06:47 -04:00
chyyran e7e6ed8fb8 capi: remove _internal_alloc from libra_preset_param_list_t 2024-09-22 02:06:47 -04:00