Commit graph

790 commits

Author SHA1 Message Date
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
chyyran 2f0a3356d9 rel(librashader@0.3.2): doc fix 2024-08-21 01:05:24 -04:00
chyyran 0efaf2b8a0 doc: fix docsrs build on macos 2024-08-21 01:03:44 -04:00
chyyran 436d1fe3cd chore: Release 2024-08-21 00:38:32 -04:00
chyyran 0ce11bac71 doc: promote d3d9 to secondary support
Fixing `global` allows feedback and history, so a lot of things will work.
2024-08-20 23:13:39 -04:00
chyyran bc269c270c rt(d3d9): remove backtrace from Direct3DError 2024-08-20 23:13:39 -04:00
chyyran db3d5d05a6 presets: use crate for extract_if with fully qualified syntax to avoid name collision with unstable std 2024-08-20 23:13:39 -04:00
chyyran 1957f576ca reflect: further improve link i/o pass by ensuring that the output SPIR-V is valid according to Vulkan 1.0 semantics
The pass will now create and reassign types of downgraded outputs to a type with Private storage class, without affecting the type of other outputs.

Downgraded outputs also get removed from the entrypoint interface
2024-08-20 23:13:39 -04:00
chyyran 5560c1ed09 runtime: use a more efficient swizzling implementation without array_chunks_mut 2024-08-20 23:13:39 -04:00
chyyran f8c055524b doc(readme): document shader pre-linkage 2024-08-20 00:10:57 -04:00
chyyran fee92113f1 ci: remove PR full test
Very rare we want to run the full test suite anyways on PRs.
2024-08-20 00:10:57 -04:00
chyyran 45c3c876f4 reflect: remove explicit compile function in favour of TryFrom 2024-08-19 18:33:30 -04:00
chyyran 28f5674a80 presets: remove rustc 1.74 compatibility
MSRV is 1.76
2024-08-19 18:33:30 -04:00
chyyran bffad12ea2 doc(presets): add docstring for ContextItem::key 2024-08-19 18:33:30 -04:00
chyyran 321e30a0f1 capi: extend config_struct macro to handle overrides 2024-08-19 18:33:30 -04:00
chyyran 9b40c10466 reflect: improve inout link algorithm 2024-08-19 18:19:21 -04:00
Ronny Chan cd14bca23a Revert "reflect: improve inout link algorithm"
This reverts commit 1ac78695c6.
2024-08-19 01:53:38 -04:00
chyyran 1ac78695c6 reflect: improve inout link algorithm 2024-08-19 01:40:22 -04:00
chyyran d1e49b7eb4 rt(d3d9): search "global" namespace for register assignments 2024-08-12 01:47:52 -04:00
chyyran 5ef0055e05 rt(d3d9): fix vertex assignments accidentally searching fragment 2024-08-12 01:47:52 -04:00