コミットグラフ
2281 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri f8fa071021 Move .targets packing to packaging projects 2022-06-18 13:45:29 +02:00
Sergio Pedri 6e2fd79845 Add missing .targets file to ComputeSharp.D2D1 2022-06-18 13:21:58 +02:00
Sergio Pedri f5d6136b65 Merge pull request #307 from Sergio0694/dev/span-get-constant-buffer
Add zero-alloc D2D1PixelShader.GetConstantBuffer APIs
2022-06-17 16:40:04 +02:00
Sergio Pedri 27511d30fb Merge pull request #308 from Sergio0694/dev/update-nuget
Update NuGet packages
2022-06-17 13:04:52 +02:00
Sergio Pedri 51f3ee8a97 Update .NET Community Toolkit to Preview 4 2022-06-17 12:12:38 +02:00
Sergio Pedri c969d5e34c Update NuGet dependencies to latest stable versions
Includes UWP and WinUI 3 dependencies
2022-06-17 12:06:32 +02:00
Sergio Pedri 584bffa98f Add unit tests for GetConstantBufferSize<T>() 2022-06-17 11:57:48 +02:00
Sergio Pedri aa9ed772ba Add D2D1PixelShader.GetConstantBufferSize<T>() API 2022-06-17 11:52:50 +02:00
Sergio Pedri f9124f3f6f Add unit tests for Span<byte> GetConstantBuffer APIs 2022-06-11 13:48:06 +02:00
Sergio Pedri 3a68b5b38a Add Span<byte> GetConstantBuffer APIs 2022-06-11 13:48:06 +02:00
Sergio Pedri ddea0e8514 Fix generator with out of range simple inputs 2022-06-06 23:21:48 +02:00
Sergio Pedri 6e91ca47b2 Merge pull request #302 from Sergio0694/dev/reserved-custom-types-fields
Rewrite reserved keywords in custom type field names
2022-06-05 15:36:38 +02:00
Sergio Pedri a62f8ec774 Fix build error in ComputeSharp with C# preview 2022-06-05 13:55:49 +02:00
Sergio Pedri da4c42cafa Add unit test for reserved custom types field names 2022-06-05 13:37:22 +02:00
Sergio Pedri 94b40e5d61 Handle keywords in field names for custom types 2022-06-05 13:37:22 +02:00
Sergio Pedri 9e07f66d0b Merge pull request #303 from Sergio0694/dev/update-dependencies
Update NuGet dependencies
2022-06-05 13:36:51 +02:00
Sergio Pedri 6dcb61ceb9 Fix incorrect memory allocations in PixelShaderEffect 2022-06-05 12:48:09 +02:00
Sergio Pedri e2b6975ad3 Update remaining NuGet dependencies 2022-06-04 17:20:00 +02:00
Sergio Pedri 0a86253dc7 Switch ImageProcessing sample to top level statements 2022-06-04 17:12:49 +02:00
Sergio Pedri f0ed5c46cf Update ImageSharp to 2.1.2 2022-06-04 17:11:02 +02:00
Sergio Pedri 0c0b5e096f Update WindowsAppSDK to 1.1.0 2022-06-04 16:54:07 +02:00
Sergio Pedri 8ad84cb71c Merge pull request #301 from Sergio0694/dev/fix-double-literals
Fix double literals rewriting
2022-05-30 00:24:54 +02:00
Sergio Pedri f0c64337c6 Add unit tests for float literals with lowercase 'e' 2022-05-29 23:41:21 +02:00
Sergio Pedri f66342d212 Minor optimization to float literal rewriting 2022-05-29 23:14:25 +02:00
Sergio Pedri 6c4ae61fbe Add unit tests for double literals handling 2022-05-29 17:43:06 +02:00
Sergio Pedri f2c9478631 Fix rewriting of integer double literals 2022-05-29 17:19:52 +02:00
Sergio Pedri 30cd48e37e Merge pull request #292 from Sergio0694/dev/raw-multiline-string-literals
Use raw multiline string literals when possible
2022-05-29 16:13:57 +02:00
Sergio PedriとAshley 772553852c Use pattern matching to check parse options
Co-authored-by: Ashley <[email protected]>
2022-05-29 03:25:40 +02:00
Sergio Pedri ae00acc270 Update all Roslyn-related NuGet packages
This also fixes some build errors in test projects
2022-05-29 03:25:40 +02:00
Sergio Pedri 398ec17fb3 Use raw multiline string literals in DX12 generator as well 2022-05-29 03:25:40 +02:00
Sergio Pedri f2e4dac552 Add extra LF in shaders with no captured values 2022-05-29 03:25:40 +02:00
Sergio Pedri 989f346555 Add missing LF between include and defined constants 2022-05-29 03:25:40 +02:00
Sergio Pedri 502baaca03 Use raw multiline string literals for generated HLSL source
This is optionally enabled when C# preview is used
2022-05-29 03:25:40 +02:00
Sergio Pedri d10ecf6e46 Merge pull request #299 from Sergio0694/dev/id2d1drawinfo-addref
Add missing ID2D1DrawInfo::AddRef calls
2022-05-29 03:25:07 +02:00
Sergio Pedri 5e94c4b3ad Add missing ID2D1DrawInfo::AddRef calls 2022-05-28 13:55:33 +02:00
Sergio Pedri 745f23a3a1 Add missing ArrayPool<byte>.Return-s in D2D1ShaderCompiler 2022-05-28 13:48:59 +02:00
Sergio Pedri b087d42235 Merge pull request #297 from Neme12/use-get-text
Use `GetText` instead of `ToFullString`
2022-05-28 03:53:55 +02:00
Simona Koníčková 1465b5fd9d Use GetText instead of ToFullString 2022-05-28 03:14:22 +02:00
Sergio Pedri b7770934dc Use AttributeData for [D2DCompileOptions] assembly diagnostics (#296) 2022-05-28 03:12:17 +02:00
Sergio Pedri 84b79f0f9b Improve WinUI 3 sample app (#295)
* Fix WinUI sample app crash when closing

* Tweak WinUI 3 sample project files

Also disables ReadyToRun for Debug builds
2022-05-28 00:49:14 +02:00
Sergio Pedri 76a83967dc Add .NET solution filter (without UWP/WinUI projects) 2022-05-27 23:46:15 +02:00
Sergio Pedri f49831567e Use AttributeData for [D2DCompileOptions] assembly diagnostics 2022-05-27 18:37:35 +02:00
Sergio Pedri 77acc47c5b Merge pull request #291 from Sergio0694/dev/assembly-level-d2d1-attributes
Add [D2DEmbeddedBytecode] and [D2DCompileOptions] assembly-level support
2022-05-24 15:44:30 -07:00
Sergio Pedri 7f9b20f1d7 Add unit tests for D2D1 assembly-level attributes 2022-05-25 00:09:12 +02:00
Sergio Pedri 7411c1fe0d Add diagnostics for [D2DCompileOptions] at assembly level 2022-05-24 22:10:15 +02:00
Sergio Pedri f5ea4b7911 Allow D2D1 attributes at assembly level 2022-05-24 02:36:39 +02:00
Sergio Pedri 48b6b4245e Return better errors for shaders requiring doubles when not supported
Closes #288
2022-05-24 01:57:32 +02:00
Sergio Pedri 7b02a1156e Skip recompilation in D2D1ReflectionServices APIs 2022-05-24 01:28:32 +02:00
Sergio Pedri 91d577fb7d Add OutOfMemoryException catch in PSE factory
Closes #285
2022-05-24 01:28:16 +02:00
Sergio Pedri f49eabcb73 Add D2D1PixelShaderEffectProperty type
Closes #237
2022-05-24 00:32:53 +02:00