コミットグラフ
1469 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri 365066cb23 Add local TerraFX fork and polyfills for D2D1Interop project 2022-04-24 21:03:14 +02:00
Sergio Pedri 2717a569d5 Remove incorrect return and TerraFX type reference 2022-04-24 21:03:14 +02:00
Sergio Pedri 8511779b41 Remove ComputeSharp reference from D2D1Interop 2022-04-24 21:03:13 +02:00
Sergio Pedri 41be84bfe4 Remove metaprogramming support from D2D1Interop
This also allows ID2D1Shader to be much simpler, with just 2 APIs
2022-04-24 21:03:13 +02:00
Sergio Pedri 5d1f3927d3 Add D2D1InteropServices.LoadShaderBytecode overload 2022-04-24 21:03:13 +02:00
Sergio Pedri 60b966cb74 Add GetPixelShaderConstantBufferForD2D1DrawInfo API 2022-04-24 21:03:13 +02:00
Sergio Pedri 8afb6ba2e1 Add D2D1ReflectionServices APIs 2022-04-24 21:03:13 +02:00
Sergio Pedri d67e13ac58 Rename D2D1 InteropServices type 2022-04-24 21:03:13 +02:00
Sergio Pedri 36b4e4c0cf Minor API tweaks 2022-04-24 21:03:13 +02:00
Sergio Pedri 8ccf10a367 Add LoadShaderBytecode API 2022-04-24 21:03:13 +02:00
Sergio Pedri 97bfa49d47 Add SetPixelShaderConstantBufferForD2D1DrawInfo API 2022-04-24 21:03:13 +02:00
Sergio Pedri 4f6c0f2d82 Add D2D1 shader interfaces 2022-04-24 21:03:13 +02:00
Sergio Pedri 8aa6a5936a Add D2D1 intrinsics 2022-04-24 21:03:13 +02:00
Sergio Pedri 0326de6a8c Add D2D attribute types 2022-04-24 21:03:13 +02:00
Sergio Pedri d605b345df Move code to new ComputeSharp.D2D1Interop project 2022-04-24 21:03:13 +02:00
Sergio Pedri ae6d68d7a1 Move D2D1 compilation code to D2D1ShaderCompiler 2022-04-24 21:03:13 +02:00
Sergio Pedri 64acffe886 Remove d3dcompiler_47.dll
This library ships with Windows (it's in System32), no need to bundle it
2022-04-24 21:03:13 +02:00
Sergio Pedri 750383392f Add prototype to compile a shader with linking support 2022-04-24 21:03:13 +02:00
Sergio Pedri a119df7658 Add initial prototype to build a D2D1 pixel shader 2022-04-24 21:03:12 +02:00
Sergio Pedri beeb6882b4 Rename CompileShader to Compile 2022-04-24 21:03:12 +02:00
Sergio Pedri 0be83e1089 Add CompileShader overload with custom parameters 2022-04-24 21:03:12 +02:00
Sergio Pedri 3de7ebeb75 Update ComputeSharp.WinUI to WASDK 1.0.3 2022-04-23 22:42:40 +02:00
Sergio Pedri 76d9fcc2d8 Simplify AddSource calls in source generators 2022-04-01 15:20:24 +02:00
Sergio Pedri c72aa88478 Fix a crash when disposing a shader panel 2022-03-05 23:16:05 +01:00
Sergio Pedri c32e5b3f1a Improve CsWinRT native IUnknown object retrieval 2022-02-04 01:40:29 +01:00
Sergio Pedri 05a0145887 Add missing [UnmanagedFunctionPointer] delegate attributes 2022-02-04 01:18:41 +01:00
Sergio Pedri 9e9536486d Fix a memory leak in the UWP swap chain interop logic 2022-02-01 14:57:58 +01:00
Sergio Pedri 00e818fc3b Fix ID3D12InfoQueue messages not being displayed in Release builds 2022-02-01 10:05:45 +01:00
Sergio Pedri 4acaf8c001 Fix refresh rate detection on devices with no GPU outputs 2022-01-31 20:06:20 +01:00
Sergio Pedri e00d2ec748 Fix build error for CMPS0001 analyzer rule 2022-01-31 16:49:13 +01:00
Sergio Pedri 00b88cbb99 Add custom .targets file to issue an error on VS2019 2022-01-31 15:35:08 +01:00
Sam Harwell 11358ce5c0 Avoid target-typed new for release tracking analyzer
See https://github.com/dotnet/roslyn-analyzers/issues/5828
2022-01-30 19:03:08 -08:00
Sergio Pedri 704e535747 Improve IShader source generator cancellation support 2022-01-30 13:58:37 +01:00
Sergio Pedri 284b632c45 Add global namespace support to source generators 2022-01-30 13:04:01 +01:00
Sergio Pedri 6ff4b3103c Leverage [CallerArgumentExpression] to remove nameof(...) uses 2022-01-29 18:37:33 +01:00
Sergio Pedri d0e1df9d04 Improve exceptions in ID3D12DescriptorHandleAllocator 2022-01-29 18:37:33 +01:00
Sergio Pedri 0b1b3e3391 Switch to CommunityToolkit.Diagnostics 8.0.0 Preview 1 2022-01-29 18:37:33 +01:00
Sergio Pedri 5c17ea5401 Add app config switch to enable the debug mode 2022-01-29 17:48:19 +01:00
Sergio Pedri 7c39dbba98 Add device removed reason to debug output 2022-01-29 17:47:38 +01:00
Sergio Pedri 8ef486249b Remove leftover polyfills 2022-01-29 17:11:58 +01:00
Sergio Pedri 276f9da199 Fix computation of compositor refresh rate
Cannot use DwmGetCompositionTimingInfo as it fails WACK
2022-01-29 17:11:58 +01:00
Sergio Pedri ccc491d0e6 Adjust dynamic resolution based on refresh rate
This removes the fixed target of 60fps
2022-01-29 17:11:58 +01:00
Sergio Pedri 2c3c428fc9 Add missing trailing dots to exception messages 2022-01-29 12:35:45 +01:00
Sergio Pedri 0d6d890a14 Minor code refactoring 2022-01-27 01:34:28 +01:00
Sergio Pedri 84bc3730b2 Use ComputeContext backend for one-shot APIs 2022-01-27 01:30:59 +01:00
Sergio Pedri c3d1056a7b Add ArgumentNullException validation for public params 2022-01-22 18:48:24 +01:00
Sergio Pedri 9cb5c35287 Add missing GraphicsResourceHelper APIs to support new interfaces 2022-01-22 16:47:56 +01:00
Sergio Pedri c81eecfd64 Add new Transition and AsReadOnly extensions for writeable textures 2022-01-22 16:47:56 +01:00
Sergio Pedri f01fc0ebfb Update source generators for non-normalized texture interfaces 2022-01-22 16:47:56 +01:00
Sergio Pedri 4d97f62494 Add readonly wrappers for non-normalized textures 2022-01-22 15:40:42 +01:00