Commit graph

92 commits

Author SHA1 Message Date
chyyran
3cdf3aa105 doc(d3d12): clean up docs for d3d12 2023-02-06 01:25:06 -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
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
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
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
c2bef7f985 d3d12: upload shaders 2023-02-01 02:08:50 -05:00
chyyran
82ad516db0 d3d11/vk: render intermediate passes with identity matrix 2023-01-31 00:53:55 -05:00
chyyran
b996d60e9b test(d3d11): make args test harness 2023-01-30 19:48:54 -05:00
chyyran
18e1f758cd rt: apply filter settings before drawing frame 2023-01-30 19:30:23 -05:00
chyyran
abcd3bdc24 d3d11: set the proper sampler for each pass input 2023-01-29 22:19:08 -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
3c13dc8277 test(d3d11): allow hello_triangle to take image as input 2023-01-29 21:19:18 -05:00
chyyran
2d6a967c7f d3d11: generate mipmaps for inputs if requested 2023-01-29 19:04:34 -05:00
chyyran
8b6481abc1 fmt: run clippy and rustfmt 2023-01-29 02:30:58 -05:00
Ronny Chan
dffea95370
reflect: allow binding uniform names to both UBO and Push Constants (#4) 2023-01-29 01:57:09 -05:00
chyyran
b0dde6eda2 d3d11/vk: fix default mvp 2023-01-28 13:11:14 -05:00
chyyran
43b7d6fb53 preprocess: support latin-1 encoding 2023-01-28 11:58:59 -05:00
chyyran
1e99c169db d3d11: rebind vertices each pass 2023-01-27 01:22:53 -05:00
chyyran
cc97be6a0c d3d11: default to -O3 for compiling shaders 2023-01-27 00:27:06 -05:00
chyyran
3d0bdd0eac test: update slang-shaders repo 2023-01-27 00:07:12 -05:00
chyyran
cdf94cee1f capi(d3d11): Don't drop passed in COM pointers 2023-01-26 23:12:56 -05:00
chyyran
9cdf646681 build: only build d3d11 stuff for windows 2023-01-21 01:54:06 -05:00
chyyran
ef8b72b220 reflect: use a marker trait to remove need for macro when spelling out compilation artifact opaque type 2023-01-19 18:44:08 -05:00
chyyran
261710d639 reflect: move GlslangCompilation up a level and remove intermediate modules in reflect::front 2023-01-19 01:06:17 -05:00
chyyran
b3dd378b5b reflect: simplify shaderpassmeta type declarations with a macro 2023-01-19 00:37:37 -05:00
chyyran
fc54c7f65c reflect: move compile_preset_passes from librashader-runtime into librashader-reflect 2023-01-18 21:58:13 -05:00
chyyran
4e51704e35 reflect: abstract away preset compilation 2023-01-18 20:56:08 -05:00
chyyran
e887b7cf35 docs: add crate docs to helper crates 2023-01-16 23:09:07 -05:00
chyyran
acca9ce6f6 d3d11: update to windows-rs 0.44 2023-01-16 18:45:02 -05:00
chyyran
40e4ce908f preprocess: store parameters in FxHashMap 2023-01-15 14:06:38 -05:00
chyyran
19e8da7d85 chore: general cleanup 2023-01-15 11:08:13 -05:00
chyyran
05ec73a11c fmt: run cargo fmt 2023-01-15 03:06:09 -05:00
chyyran
c3a532d729 rt: unify semantics binding logic 2023-01-15 03:01:23 -05:00
chyyran
474cf37e68 pass: remove (extremely rare) stderr debug logs 2023-01-15 00:30:15 -05:00
chyyran
831ba3d357 docs: more surgically avoid linux linking to windows symbols 2023-01-14 20:13:15 -05:00
chyyran
e320e093e2 build: fix missing symbols on linux 2023-01-14 18:56:31 -05:00
chyyran
e6f1361199 doc: document image handles 2023-01-14 15:10:40 -05:00
chyyran
2e2713a21b capi: expose FilterChainParameters to capi 2023-01-14 09:36:26 -05:00
chyyran
ba24181450 test: fix tests 2023-01-14 01:58:22 -05:00
chyyran
3e628093ae capi: finish capi for vulkan 2023-01-13 18:10:20 -05:00
chyyran
45d03fbfb8 capi: resolve name conflicts due to conflicting struct names in each module 2023-01-13 18:10:20 -05:00
chyyran
589538d8b2 doc: completely doc librashader crate 2023-01-13 03:19:58 -05:00
chyyran
e2ac7a1bfa common: unify viewport types 2023-01-13 02:54:16 -05:00
chyyran
abaebe56cc api: remove FilterChain trait 2023-01-13 02:32:21 -05:00
chyyran
43bd53a92b chore: general clean up and format 2023-01-13 01:48:04 -05:00