Commit graph

35 commits

Author SHA1 Message Date
chyyran 0cb6f6a346 d3d11: be agnostic about deferred contexts
This brings the D3D11 API more in line with the D3D12 and Vulkan runtimes. To get the old behaviour with immediate contexts, just pass a NULL context.
2023-02-10 18:08:13 -05:00
chyyran 121209da10 fmt: clean up warnings 2023-02-09 21:06:58 -05:00
chyyran 336094cad9 d3d11: properly clear history framebuffers 2023-02-09 00:42: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 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 2d2ed22e9a fmt: run cargo fmt 2023-02-05 16:19:22 -05:00
chyyran c28e5195c2 d3d12: texture infrastructure 2023-02-01 02:08:50 -05:00
chyyran 17203692f0 d3d12: make framebuffer 2023-02-01 02:08:50 -05:00
chyyran 964da2874c fmt: format pass 2023-01-29 21:31:38 -05:00
chyyran 92caad292c runtime: scale output framebuffers according to the previous inputs rather than original size. 2023-01-29 21:26:11 -05:00
chyyran 2d6a967c7f d3d11: generate mipmaps for inputs if requested 2023-01-29 19:04:34 -05:00
chyyran acca9ce6f6 d3d11: update to windows-rs 0.44 2023-01-16 18:45:02 -05:00
chyyran e2ac7a1bfa common: unify viewport types 2023-01-13 02:54:16 -05:00
chyyran 43bd53a92b chore: general clean up and format 2023-01-13 01:48:04 -05:00
chyyran 455b56ce8e lib: remove print statements 2023-01-13 00:07:18 -05:00
chyyran 23458917f3 gl: kind of fix mipmap handling needs to check next frame 2023-01-11 19:09:15 -05:00
chyyran 8fca2954b0 fmt: run cargo fmt 2022-12-21 21:39:31 -05:00
chyyran fe573618f8 vk: implement load luts 2022-12-21 21:13:35 -05:00
chyyran e8a1e2f165 d3d11: do a full copy of textures 2022-12-10 01:50:54 -05:00
chyyran 1665770615 rt: move image into runtime 2022-12-01 17:11:42 -05:00
chyyran 5d668a2233 doc: doc preset 2022-12-01 00:24:24 -05:00
chyyran 8fa38c564c d3d11: fix flickering when using feedback 2022-12-01 00:11:41 -05:00
chyyran acab02e401 doc: general add docs and clean up 2022-11-30 22:50:57 -05:00
chyyran 873814b03b d3d11: cleanup error and api 2022-11-30 19:05:12 -05:00
chyyran 6519a78df2 d3d11: make error unboxed 2022-11-30 17:59:55 -05:00
chyyran f044d0e91b d3d11: don't copy texture data, just copy the resource 2022-11-30 01:52:08 -05:00
chyyran 5088e1c55b fmt: run cargo fmt and clippy 2022-11-30 01:38:05 -05:00
chyyran 7acf208f39 d3d11: implement history 2022-11-30 01:35:20 -05:00
chyyran 538672e355 gl: abstract away gl3 and dsa 2022-11-30 00:39:50 -05:00
chyyran c4f1abd411 d3d11: passoutput 2022-11-30 00:39:50 -05:00
chyyran 60fd644a2a d3d11: initialize output buffers 2022-11-29 01:57:04 -05:00
chyyran 4e242bf25e d3d11: sketch out filterpass 2022-11-27 02:21:36 -05:00