Commit graph

913 commits

Author SHA1 Message Date
chyyran 44b2a797b4 test: add test for shader preprocess 2023-02-08 03:37:21 -05:00
chyyran 2128945c06 test: add test for shader preprocess 2023-02-08 03:28:27 -05:00
chyyran 85497e47c1 build: untangle spirv-to-dxil from non-d3d12 paths 2023-02-08 03:21:28 -05:00
chyyran ccc2539e2f chore: Release 2023-02-08 03:09:03 -05:00
chyyran 48a1b28665 presets: greatly improve path resolution logic and parsing of invalid constructs 2023-02-08 03:06:25 -05:00
chyyran 4947eff4d1 doc(rt): doc scaling 2023-02-08 00:04:46 -05:00
chyyran 59e0b5da86 rt: unify render target logic 2023-02-07 23:14:39 -05:00
chyyran 06161b5aad rt: make scale framebuffers a lot nicer to use 2023-02-07 22:02:08 -05:00
chyyran 45dbdc6157 chore: Release 2023-02-07 20:05:12 -05:00
chyyran 79ed9c222a doc: clarify build dependencies 2023-02-07 20:05:03 -05:00
chyyran d1771a8b25 api: fix feature flags to allow building a proper subset of librashader 2023-02-07 18:50:33 -05:00
chyyran 07b20fecdc d3d11: fall back to singlethreaded shader compile if device was single threaded 2023-02-07 17:27:44 -05:00
chyyran dcc6280b4f doc: document cmake dependency 2023-02-07 03:02:13 -05:00
chyyran 796e0c05a4 api: fix feature flags 2023-02-07 02:59:57 -05:00
chyyran d9a97de131 rt: doc FilterPassMeta 2023-02-07 02:55:15 -05:00
chyyran d6e1f2ca16 chore: Release 2023-02-07 02:32:55 -05:00
chyyran 6d75dc5100 fmt: general format and clean up 2023-02-07 02:31:08 -05:00
chyyran c8a1d4d196 rt: abstract framebuffer scaling into common code 2023-02-07 02:12:47 -05:00
chyyran 5ffcf005a0 d3d11: set and restore blend state between passes and disable unneeded CPU access write 2023-02-07 00:51:35 -05:00
chyyran c5b2b50d16 d3d11: make default cpu access none 2023-02-06 23:34:32 -05:00
chyyran 4e8047932b gl: make input MVP apply to all internal passes 2023-02-06 23:11:39 -05:00
chyyran d6b492c614 doc: Vulkan runtime is not limited to 1.3 anymore 2023-02-06 22:05:29 -05:00
chyyran 3eae38f815 fmt: cargo fmt 2023-02-06 21:56:30 -05:00
chyyran 7ba2b26baa d3d12: optimize barriers 2023-02-06 21:56:24 -05:00
chyyran f14f918068 d3d12: use HV 2016 when compiling HLSL pipelines 2023-02-06 21:24:55 -05:00
chyyran c818ef13f7 docs(reflect): Update docs to reflect that uniforms can be bound to both UBO and Push Constants 2023-02-06 19:34:01 -05:00
chyyran cb4dc418cd chore: Release 2023-02-06 19:23:06 -05:00
chyyran 3ad67d9539 dep: upgrade to spirv-to-dxil 0.3 2023-02-06 19:22:53 -05:00
chyyran 8588021a6e chore: Release 2023-02-06 02:48:40 -05:00
chyyran 9703f1fb19 doc: fix docs.rs 2023-02-06 02:48:29 -05:00
chyyran 36d13fe185 doc(readme): typo 2023-02-06 02:31:36 -05:00
chyyran 37cb3493ca chore: Release 2023-02-06 02:21:19 -05:00
chyyran 403b676ea4 doc: indicate need for Vulkan SDK 2023-02-06 02:20:11 -05:00
chyyran 4dcbdadb4f capi: publish d3d12 2023-02-06 02:17:30 -05:00
chyyran 9a898f2cba build: try letting cmake take care of meson and ninja. 2023-02-06 01:42:43 -05:00
chyyran 3cdf3aa105 doc(d3d12): clean up docs for d3d12 2023-02-06 01:25:06 -05:00
chyyran ec619ec5e2 d3d12: clean up API for d3d12 2023-02-06 01:05:19 -05:00
chyyran d32ad8e3b2 options: fix frame-direction docs 2023-02-06 00:26:27 -05:00
chyyran 3db89e5351 vk/11/12: bind VBO only once per frame to save on draw calls. 2023-02-06 00:23:37 -05:00
chyyran d4525ee23e dx12: render identity MVP in intermediate passes 2023-02-05 23:26:14 -05:00
chyyran 99954f011f dx12: fix mipmapping 2023-02-05 23:20:01 -05:00
chyyran 1fe4b47981 dx12: use versionedrootsignature 2023-02-05 22:31:34 -05:00
chyyran fd48d88fdd dx12: use persistently bound buffers 2023-02-05 22:24:58 -05:00
chyyran f077f86bad dx12: cleanup and micro-opts 2023-02-05 21:49:55 -05:00
chyyran 621d1da3c2 dx12: reduce initializations of dxc 2023-02-05 21:17:16 -05:00
chyyran 227cae6405 fmt: clean up d3d12 2023-02-05 20:05:22 -05:00
chyyran 34b334fd7f d3d12: enable parallel shader compilation
Turns out the weird errors were because of mipmapping
2023-02-05 20:03:59 -05:00
chyyran a3589cc794 d3d12: make panic free 2023-02-05 19:58:51 -05:00
chyyran f5fe3e37ef rt(d3d11/vk): allow for parallel shader compilation
OpenGL is for obvious reasons incompatible, and for DX12 the graphics pipeline creation has to be on the main thread so there isn't that much gain to be had.
2023-02-05 19:53:45 -05:00
chyyran b81b2b1d25 fmt: run clippy 2023-02-05 18:34:30 -05:00