Commit graph

809 commits

Author SHA1 Message Date
chyyran
e930f90a9c capi: allow building on stable by gating #[doc] comments 2024-09-15 03:10:45 -04:00
chyyran
2f988d5b1d rt: add stable feature to build ShaderPassArtifacts via Box<dyn CompileReflectShader> 2024-09-15 03:10:45 -04:00
chyyran
e0a5c90103 reflect: implement stable FromCompilation 2024-09-15 03:10:45 -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
c291d9d85f capi: remove dependency on try_blocks
Uses an IIFE + return type changes to remove the need for try blocks
2024-09-14 21:26:19 -04:00
chyyran
8b2ff57ee8 reflect: replace let_chains with Option::filter 2024-09-14 02:11:18 -04:00
chyyran
3d9139b4e0 rt(d3d11): replace let_chains with stable alternatives 2024-09-14 02:11:18 -04:00
chyyran
b432a1e02d rt(d3d12): replace let_chains with stable alternatives 2024-09-14 02:11:18 -04:00
chyyran
ab9ab6fe68 rt(gl): use Option::filter instead of let_chains 2024-09-14 02:11:18 -04:00
chyyran
0ba4c482b3 rt(vk): use Option::filter instead of let_chains 2024-09-14 02:11:18 -04:00
chyyran
57f9a13ee7 rt(wgpu): use Option::filter instead of let_chains 2024-09-14 02:11:18 -04:00
chyyran
2661effab4 chore: Release 2024-09-13 17:31:17 -04:00
chyyran
02288554b9 rt(mtl): fix history buffer off-by-one by buffering the history read. 2024-09-13 17:21:03 -04:00
chyyran
98d8d91c66 capi: undo const qualification of chain in _filter_chain_get_param and _filter_chain_get_active_pass_count
This should be done over an ABI bump, even if the headers weren't updated.
2024-09-13 17:21:03 -04:00
chyyran
6f5b342c1b build: fix dev-dependencies on non-apple 2024-09-13 17:21:03 -04:00
chyyran
bec0482513 ci: trigger ci 2024-09-13 01:18:11 -04:00
chyyran
e24beede0b rt(mtl): draw final pass to output targets 2024-09-13 00:59:12 -04:00
chyyran
22b2118e97 rt(mtl): don't resize if the requested format differs from optimal format 2024-09-13 00:59:12 -04:00
chyyran
856f69113d rt(mtl): don't make mipmapper for history if not needed 2024-09-13 00:59:12 -04:00
chyyran
477d0ae67c rt(wgpu): draw final pass to output targets 2024-09-13 00:59:12 -04:00
chyyran
e68da7b984 rt(gl): draw final pass to output targets 2024-09-13 00:59:12 -04:00
chyyran
666588ef0d rt(vk): draw final pass to output targets 2024-09-13 00:59:12 -04:00
chyyran
336f540ce9 rt(d3d9): draw final pass to output targets 2024-09-13 00:59:12 -04:00
chyyran
894d19eb81 rt(d3d12): draw final pass to output targets 2024-09-13 00:59:12 -04:00
chyyran
1bf5d7efca rt(d3d11): draw final pass to output targets 2024-09-13 00:59:12 -04:00
chyyran
c9205bc922 rt(mtl): remove internal_frame_count 2024-09-12 00:30:23 -04:00
chyyran
cebc7a939a rt(mtl): fix faulty history but only copying one mipmap slice of texture
rt(mtl): push history before doing writing

This does make the metal backend one frame behind compared to the other stuff but eh
2024-09-12 00:30:23 -04:00
chyyran
fe48fd03a5 test(mtl): update the metal test 2024-09-12 00:30:23 -04:00
chyyran
50580cfc3b chore: Release 2024-09-08 11:23:08 -04:00
chyyran
075a2981e1 rt(gl): fix glShaderSource going past the buffer 2024-09-08 11:20:38 -04:00
chyyran
a7dd40a79f ci: allow c_str_literals to maintain a lower MSRV 2024-09-06 23:42:18 -04:00
chyyran
fd8d6f6ab8 chore: Release 2024-09-06 23:01:07 -04:00
chyyran
c5fdffa6aa dep: update cargo.lock 2024-09-06 22:45:07 -04:00
chyyran
090e268c4a doc: improve docs 2024-09-06 22:45:07 -04:00
chyyran
8856a78eb8 api: expose FastHashMap and ShortString 2024-09-06 22:45:07 -04:00
chyyran
ec3add1616 rt(params): rename get_parameter -> parameter_value 2024-09-06 22:45:07 -04:00
chyyran
f83fd1e98f ci: debug is broken on windows 7 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
c9a6411394 deps: consolidate and update dependencies 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
c447e40583 rt: redesign parameters to be thread-safe across FFI using arcswap and atomicusize
This should allow C FFI consumers to modify frame parameters from a different thread without it being UB.
2024-09-06 22:45:07 -04:00
chyyran
ae76bf9cc1 rt(d3d12): pull out descriptor heap implementation into its own crate 2024-09-06 22:45:07 -04:00
chyyran
e934f175ef rt(d3d12): stop leaking transition barriers 2024-08-25 23:59:29 -04:00
chyyran
2e7c3b3273 rt(d3d12): use gpu_allocator instead of CreateCommittedResource 2024-08-25 01:26:25 -04:00
chyyran
e90c27ebbd rt(vk): use manuallydrop for VulkanBuffer rather than Option 2024-08-25 01:26:25 -04:00
chyyran
8fb5d48a1e chore: Release 2024-08-21 20:13:23 -04:00
chyyran
b7fd3bc507 runtime: fix image swizzle for remainder 2024-08-21 20:12:10 -04:00
chyyran
af05cc5bd8 ci: build for windows 7 2024-08-21 01:40:29 -04:00