Commit graph

135 commits

Author SHA1 Message Date
chyyran f14f45b3b1 rt: separate out meta information for textures 2024-10-01 23:25:52 -04:00
chyyran 859d16e64e rt: separate out meta information to its own struct 2024-10-01 23:25:52 -04:00
chyyran 7a13136f9a capi(d3d12): allow d3d12 to optionally use a resource handle with chain-managed descriptors 2024-09-30 11:35:38 -04:00
chyyran 0cb3880d7f rt(d3d12): allow construction of D3D12InputImage without a descriptor handle 2024-09-30 11:35:38 -04:00
chyyran 33d95ac399 rt(d3d12): allow creating input view without a CPU handle 2024-09-30 11:35:38 -04:00
chyyran 40691cc406 rt(d3d12): allow creating output view from a resource ref 2024-09-30 11:35:38 -04:00
chyyran 3c20c83bc9 rt(d3d12): use InterfaceRef for D3D12InputImage to avoid refcount for input image 2024-09-30 11:35:38 -04:00
chyyran 4285ad2bd1 rt(d3d12): allow a pipeline to be available for multiple formats without recompilation 2024-09-29 01:04:11 -04:00
chyyran c57e502b78 rt(d3d12): make images with OwnedFramebuffer provenance use ManuallyDrop 2024-09-29 01:04:11 -04:00
chyyran 7edff0ae35 rt(d3d12): allow manually specifying the strategy to get a manuallydrop for luts 2024-09-29 01:04:11 -04:00
chyyran dedde05c83 rt(d3d12): move update subresources to lut 2024-09-29 01:04:11 -04:00
chyyran 341fbceb82 rt(d3d12): derive clone on D3D12InputImage 2024-09-25 22:00:10 -04:00
chyyran 0a87bcc657 rt: respect viewport extents when rendering 2024-09-22 02:06:47 -04:00
chyyran f0a7970b44 rt: add viewport extent separate from output texture dimensions 2024-09-22 02:06:47 -04:00
chyyran 763c05755d rt: mark error types as non_exhaustive 2024-09-22 02:06:47 -04:00
chyyran d6f8950bdc rt: only draw last pass twice if the last pass is needed as feedback 2024-09-15 15:46:31 -04:00
chyyran 2f988d5b1d rt: add stable feature to build ShaderPassArtifacts via Box<dyn CompileReflectShader> 2024-09-15 03:10:45 -04:00
chyyran b432a1e02d rt(d3d12): replace let_chains with stable alternatives 2024-09-14 02:11:18 -04:00
chyyran 894d19eb81 rt(d3d12): draw final pass to output targets 2024-09-13 00:59:12 -04:00
chyyran c3033cfbbf reflect: port to spirv-cross2 2024-09-06 22:45:07 -04:00
chyyran c447e40583 rt: redesign parameters to be thread-safe across FFI using arcswap and atomicusize
This should allow C FFI consumers to modify frame parameters from a different thread without it being UB.
2024-09-06 22:45:07 -04:00
chyyran ae76bf9cc1 rt(d3d12): pull out descriptor heap implementation into its own crate 2024-09-06 22:45:07 -04:00
chyyran e934f175ef rt(d3d12): stop leaking transition barriers 2024-08-25 23:59:29 -04:00
chyyran 2e7c3b3273 rt(d3d12): use gpu_allocator instead of CreateCommittedResource 2024-08-25 01:26:25 -04:00
chyyran ac66b1b6f6 style: fix warnings 2024-08-09 00:56:44 -04:00
chyyran 3fb6e3843e dep: update to windows 0.58 2024-08-02 00:56:28 -04:00
chyyran 3cda5b706d rt(d3d12): get rid of size in inputview 2024-08-02 00:16:52 -04:00
chyyran 0a9fa16855 rt: update for new TAIT scope rules 2024-06-14 18:17:36 -04:00
chyyran 10ad2d927c rt(d3d12): make descriptor heap lockfree 2024-02-28 18:30:59 -05:00
chyyran 7719b939f9 rt(d3d11): upgrade to windows 0.52 2024-02-26 21:17:30 -05:00
chyyran c7d1d347a4 rt: unify drawquad type 2024-02-22 01:16:42 -05:00
chyyran 95ac8adc20 rt(d3d12,d3d11): remove unused COLOR attribute in quad 2024-02-22 01:16:42 -05:00
chyyran 7ef3780222 fmt: cargo fmt 2024-02-19 12:39:44 -05:00
chyyran 50aa582fa8 reflect(d3d12): fakesign dxil blobs to avoid needing dxil.dll 2024-02-19 09:54:19 -05:00
chyyran 6fbc4b3075 fmt: cargo fmt 2024-02-14 20:50:17 -05:00
chyyran b348e8591f lib: use a faster hashmap implementation 2024-02-14 20:50:17 -05:00
chyyran cc93e37701 reflect: get rid of redundant shader compiler argument 2024-02-14 03:08:09 -05:00
chyyran 1aedb1bea7 rt: auto-impl parameters 2024-02-14 03:08:09 -05:00
chyyran daf30c83c0 rt: add Rotation, TotalSubFrames, CurrentSubFrame uniform semantics 2024-02-12 01:58:05 -05:00
chyyran 3c3f024ef8 preset: add original scaletype
As defined in https://github.com/libretro/RetroArch/pull/15937
2024-02-12 01:58:05 -05:00
chyyran 4762055dc1 reflect(msl): naga msl implementation 2024-02-11 15:48:01 -05:00
chyyran d0a5224c10 dep: upgrade librashader-spirv-cross 2024-02-11 15:48:01 -05:00
chyyran c67e9f4801 reflect: move folder structure around to be a little better 2024-02-11 15:48:01 -05:00
chyyran e1f62fc984 reflect: remove ShaderOutputCompiler and just delegate to FromCompilation 2024-02-11 15:48:01 -05:00
chyyran b98d86a940 reflect: allow specifying output toolchain 2024-02-11 15:48:01 -05:00
chyyran 252f685967 reflect: abstract away output compiler into its own trait 2024-02-11 15:48:01 -05:00
chyyran a7ca391ef6 reflect: abstract away input compiler from compilation 2024-02-11 15:48:01 -05:00
chyyran abbec84594 rt(d3d12): rename quad_render to draw_quad 2024-02-11 15:48:01 -05:00
chyyran 2fbc7f92da capi: add preset_ctx C API 2024-02-09 02:49:31 -05:00
chyyran 4da6c98655 rt: add driver context + path context for FilterChain::load_with_path 2024-02-09 02:02:13 -05:00