コミットグラフ
171 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri dd8f221905 Add new effect metadata properties and generation 2023-09-27 15:03:06 +02:00
Sergio Pedri 2f0d5695b3 Unify metadata info and syntax code in generator 2023-09-27 15:03:06 +02:00
Sergio Pedri 8edc54748f Update ID2D1Shader interface and generator 2023-09-27 15:03:06 +02:00
Sergio Pedri fd62b28d82 Fix and simplify EffectId hashing logic 2023-09-27 14:04:04 +02:00
Sergio Pedri 2c1ab945b2 Remove unnecessary diagnostic parameters 2023-09-27 14:04:04 +02:00
Sergio Pedri 9d5e412f7d Add InvalidEffectDisplayNameValueAnalyzer 2023-09-27 14:04:04 +02:00
Sergio Pedri 8cbb3c958e Add InvalidEffectIdValueAnalyzer 2023-09-27 14:04:04 +02:00
Sergio Pedri 7fc302312d Filter newlines from effect display names 2023-09-27 14:04:04 +02:00
Sergio Pedri 321430b6da Support [EffectDisplayName] in source generator 2023-09-27 14:04:04 +02:00
Sergio Pedri e37395e871 Support [D2DEffectId] in source generator 2023-09-27 14:04:04 +02:00
Sergio Pedri 3303c0f2f3 Generate EffectId from derived type identifiers 2023-09-27 14:04:04 +02:00
Sergio Pedri c31572f68f Add ID2D1Shader.EffectId property 2023-09-27 14:04:04 +02:00
Sergio Pedri 97a2df23d5 Add ID2D1Shader.EffectDisplayName property 2023-09-27 14:04:03 +02:00
Sergio Pedri aad8dd8d95 Remove some null suppressions, add [NotNullWhen] 2023-06-14 23:19:13 +02:00
Sergio Pedri 75cb16384c Set EnforceExtendedAnalyzerRules in analyzers 2023-06-06 21:18:33 +02:00
Sergio Pedri fde55833f6 Update NuGet packages to latest stable 2023-06-06 20:42:13 +02:00
Sergio Pedri 3b3863c6f8 Update all NuGet packages to latest stable 2023-05-01 23:39:32 +02:00
Sergio Pedri 4f67284158 Centralize more NuGet/package info in .props file 2023-04-22 03:06:26 +02:00
Sergio Pedri 5c07089cb3 Remove NuGetizer dependency, unify .props files 2023-04-22 02:15:59 +02:00
Sergio Pedri c35b2d9394 Use throw helpers in more places, add ObjectDisposedExceptionExtensions 2023-02-26 14:06:07 +01:00
Sergio Pedri a09a817b5c Centralize polyfills in a single ComputeSharp.NetStandard project 2023-01-15 15:33:54 +01:00
Sergio Pedri 786cf599f4 Switch to PolySharp, remove local polyfills 2023-01-15 15:33:54 +01:00
Sergio Pedri 742a697b27 Fix incorrect filename in shared project 2022-11-24 18:06:48 +01:00
Sergio Pedri 22e1f5e730 Update .NET 7 NuGet packages to latest stable 2022-11-24 18:06:48 +01:00
Sergio Pedri 45c20f9c3e Switch even more type check APIs to zero-alloc 2022-10-29 16:16:11 +02:00
Sergio Pedri b24e6b4c0d Minor code refactorings 2022-10-29 16:03:31 +02:00
Sergio Pedri c14dd305ae Remove unnecessary extension 2022-10-29 15:57:55 +02:00
Sergio Pedri 49791db39e Remove unnecessary property from HierarchyInfo 2022-10-29 15:56:15 +02:00
Sergio Pedri 4da8809fe9 Bump Roslyn toolset to 4.4.0-4.final 2022-10-22 19:11:54 +02:00
Sergio Pedri 01a80f1e33 Update source generator and fix default shader profile codegen 2022-10-21 17:22:59 +02:00
Sergio Pedri ac89019292 Remove IEqualityComparerExtensions 2022-10-20 03:27:45 +02:00
Sergio Pedri 4def9f65a9 Switch to EquatableArray<T> in ComputeSharp.D2D1 models 2022-10-20 03:24:31 +02:00
Sergio Pedri eec5404f7c Centralize byte formatting code into shared helper type 2022-10-16 05:44:20 -07:00
Sergio Pedri f2ed8a2d3b More minor code style tweaks (remove extra blank lines, etc.) 2022-10-15 09:10:18 -07:00
Sergio Pedri d910922ef5 Use blocks for all if statements 2022-10-15 09:10:18 -07:00
Sergio Pedri ce1097e7d9 Add parentheses for clarity where needed (IDE0048) 2022-10-15 09:10:18 -07:00
Sergio Pedri 553c7a4014 Add necessary parentheses and use target-typed new() expressions 2022-10-15 09:10:18 -07:00
Sergio Pedri b2afb88f30 Switch methods to block bodies 2022-10-15 09:10:18 -07:00
Sergio Pedri 16c0fc9aab Use explicit types everywhere 2022-10-15 09:10:18 -07:00
Sergio Pedri 9343ac7f7b Add explicit discards to all value returning expressions 2022-10-15 09:10:18 -07:00
Sergio Pedri 746f132182 Adjust field visibility, fix naming violations in non test projects 2022-10-15 09:10:18 -07:00
Sergio Pedri e94636b80c Run dotnet format whitespace 2022-10-15 09:10:18 -07:00
Sergio Pedri 6131b7f9b0 Fix C# 11 check in D2D1 source generator
Used the wrong local in dab94bdae7
2022-10-11 19:01:28 +02:00
Sergio Pedri dab94bdae7 Only emit raw multiline string literals when possible 2022-10-08 15:05:52 +02:00
Sergio Pedri 3fb94daaa2 Add diagnostic for missing [D2DInputCount] attribute 2022-10-07 16:12:31 -07:00
Sergio Pedri 631618d311 Add missing initial clear of stackalloc'd buffers 2022-10-08 00:04:23 +02:00
Sergio Pedri 69515867e6 Move [SkipLocalsInit] logic to .targets file 2022-10-08 00:04:23 +02:00
Sergio Pedri 983e874f4d Add [SkipLocalsInit] to all projects 2022-10-07 22:42:25 +02:00
Sergio Pedri 883d99ca9f Use pooled array builders in all generators 2022-10-07 09:14:17 -07:00
Sergio Pedri d4b1e71c39 Remove allocations when validating D2D1 input indices 2022-10-07 09:14:17 -07:00