Commit graph

596 commits

Author SHA1 Message Date
Ronny Chan 62b0d590ad
capi: fix loader PFN type renames 2023-01-26 10:14:21 -05:00
chyyran fb827b7c24 vk: reallow usage of render passes for environments where dynamic rendering is not available
This implementation is greatly simplified compared to the older implementation where framebuffers were attached to output targets. Instead, the graphics pipeline object will create new framebuffers on the fly. The suggestion is still to use dynamic rendering for best performance.
2023-01-25 23:45:10 -05:00
chyyran 9397233a0c reflect: don't need error trait bound 2023-01-21 15:47:52 -05:00
chyyran 5d4eafe3bf deps: upgrade deps 2023-01-21 14:31:57 -05:00
chyyran e415e46200 chore: Release 2023-01-21 02:33:50 -05:00
chyyran 341d8825c6 build: switch to custom fork of spirv_cross temporarily 2023-01-21 02:33:09 -05:00
chyyran 9cdf646681 build: only build d3d11 stuff for windows 2023-01-21 01:54:06 -05:00
chyyran 7f01c9aad3 capi: fix height/width order 2023-01-21 00:33:44 -05:00
chyyran c20104703b capi: fix type renames 2023-01-21 00:15:09 -05:00
chyyran e1eb0ccb22 capi: fix outdated header definition 2023-01-20 23:43:45 -05:00
chyyran 08ca2963c5 doc: document reflect module 2023-01-19 18:59:39 -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 8dd60e2a5c doc: un-exempt librashader-runtime and add docs to show when they should be used. 2023-01-19 01:23:51 -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 422253b42b doc: clean up docs 2023-01-18 19:39:36 -05:00
chyyran e887b7cf35 docs: add crate docs to helper crates 2023-01-16 23:09:07 -05:00
Ronny Chan 3cdd44f5bb
ci: allow build to continue if os fails 2023-01-16 20:24:13 -05:00
chyyran 479015d223 api: clean up spirv-cross related apis 2023-01-16 19:35:23 -05:00
chyyran acca9ce6f6 d3d11: update to windows-rs 0.44 2023-01-16 18:45:02 -05:00
chyyran a2363c30a7 doc: document UniformStorage::inner_ubo 2023-01-16 01:09:38 -05:00
Ronny Chan 657a688180
ci: fix artifacts path 2023-01-16 01:06:15 -05:00
chyyran e947271f9a vk: write uniforms directly to host-visible mapped memory 2023-01-16 00:22:23 -05:00
chyyran fceda0e99d chore: Release 2023-01-15 20:06:59 -05:00
chyyran aea440f194 reflect: remove rspirv
When naga is more mature (i.e. with support for COMBINED_IMAGE_SAMPLER), `naga::Module` handles everything we need with a more ergonomic API
2023-01-15 20:06:36 -05:00
chyyran c059e7c566 fmt: run cargo fmt 2023-01-15 18:21:17 -05:00
Ronny Chan b0948dd951
ci: only upload compiled outputs 2023-01-15 18:17:56 -05:00
Ronny Chan 4d0d833879
ci: cache vulkan 2023-01-15 18:14:27 -05:00
chyyran e133290293 vk: fix hello triangle build 2023-01-15 17:59:57 -05:00
chyyran ae2fc6b745 vk: initialize scaled framebuffers to SHADER_READ_ONLY_OPTIMAL 2023-01-15 17:57:19 -05:00
chyyran d9d75d760c vk: use explicit tranisition for hello triangle 2023-01-15 17:21:10 -05:00
Ronny Chan 14f94e8346
ci: fix vulkan SDK 2023-01-15 15:59:53 -05:00
chyyran d97e16b31a rt: reduce image dependencies 2023-01-15 15:49:02 -05:00
Ronny Chan 6548cab4f5
ci: add vulkan sdk 2023-01-15 15:45:46 -05:00
Ronny Chan d2bec2fb3c
ci: use nightly Rust 2023-01-15 15:23:19 -05:00
Ronny Chan 219b4d9ef8
ci: add build action 2023-01-15 15:13:32 -05:00
chyyran 40e4ce908f preprocess: store parameters in FxHashMap 2023-01-15 14:06:38 -05:00
chyyran 3b89c065fa fmt: run cargo fmt 2023-01-15 12:17:27 -05:00
chyyran ed3b61a931 uniforms: make bounds more general 2023-01-15 12:16:57 -05:00
chyyran 19e8da7d85 chore: general cleanup 2023-01-15 11:08:13 -05:00
chyyran 6c593dda79 chore: Release 2023-01-15 03:20:59 -05:00
chyyran fdb5bb0e51 vk/gl: properly handling mipmap settings 2023-01-15 03:20:38 -05:00
chyyran 05ec73a11c fmt: run cargo fmt 2023-01-15 03:06:09 -05:00
chyyran 3691f6579c chore: Release 2023-01-15 03:01:50 -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 173ffc53e4 chore: Release 2023-01-14 20:13:33 -05:00
chyyran 831ba3d357 docs: more surgically avoid linux linking to windows symbols 2023-01-14 20:13:15 -05:00