Commit graph

903 commits

Author SHA1 Message Date
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
chyyran 0506733dad d3d12: implement mipmaps 2023-02-05 18:25:59 -05:00
chyyran 271788b9c6 d3d12: implement history 2023-02-05 18:03:38 -05:00
chyyran 6a1138f0dc d3d12: allow force hlsl 2023-02-05 17:30:55 -05:00
chyyran 2d2ed22e9a fmt: run cargo fmt 2023-02-05 16:19:22 -05:00
chyyran 7d8c137083 rt: abstract reusable bindingmeta ops 2023-02-05 16:19:22 -05:00
Ronny Chan 4e9cc26093
build: install mako 2023-02-05 16:19:18 -05:00
chyyran 66a4b1a648 doc: document d3d12 differences 2023-02-05 02:22:28 -05:00
Ronny Chan 35f5b143c2
build: fix build for spirv-to-dxil 2023-02-05 02:14:15 -05:00
chyyran 72c9548c7a d3d12: use hlsl as a fallback pipeline 2023-02-05 01:54:56 -05:00
chyyran d6ac2c665d reflect: fix expected runtime config options 2023-02-05 01:14:01 -05:00