コミットグラフ
2408 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri e69f083b29 Update and rename source generator files 2023-09-28 00:36:56 +02:00
Sergio Pedri 60028ce00c Switch ID2D1Shader.HlslSource to a property 2023-09-28 00:29:23 +02:00
Sergio Pedri ca77bab1f2 Remove ID2D1Shader.GetOutputBuffer method and generation 2023-09-28 00:12:18 +02:00
Sergio Pedri a71c4db7dd Add ID2D1Shader.ChannelDepth property and generate it 2023-09-28 00:12:17 +02:00
Sergio Pedri 81dd2e2b7e Add ID2D1Shader.BufferPrecision property and generate it 2023-09-28 00:12:17 +02:00
Sergio Pedri d5c00e048a Rename PixelOptions helper class in generator 2023-09-28 00:12:17 +02:00
Sergio Pedri 0bccf6ec57 Switch ID2D1Shader.PixelOptions to a property 2023-09-28 00:12:17 +02:00
Sergio Pedri 070990d4d4 Update ComputeSharp.D2D1.UI code for new APIs 2023-09-27 23:19:00 +02:00
Sergio Pedri 76ae699797 Remove LoadResourceTextureDescriptions<TLoader> API 2023-09-27 22:49:30 +02:00
Sergio Pedri b17b7c70fe Generate resource texture descriptions as ReadOnlyMemory<T> 2023-09-27 22:48:59 +02:00
Sergio Pedri e37fd8e6d9 Remove LoadInputDescriptions<TLoader> API 2023-09-27 21:50:26 +02:00
Sergio Pedri ac7d9648d3 Generate input descriptions as ReadOnlyMemory<T> 2023-09-27 21:50:08 +02:00
Sergio Pedri f61cee8fdf Optimize generated Memory<T> for input types 2023-09-27 20:54:35 +02:00
Sergio Pedri be95b2bfc8 Remove leftover GetInputTypesSwitchExpression method 2023-09-27 20:54:35 +02:00
Sergio Pedri 5829bfe9ec Handle InputTypes generation for no inputs 2023-09-27 20:54:35 +02:00
Sergio Pedri 41ca3a0b1d Rename and update source generator files 2023-09-27 20:54:27 +02:00
Sergio Pedri a6b87b551c Generate input types as ReadOnlyMemory<T> 2023-09-27 20:54:11 +02:00
Sergio Pedri 514d2921fc Remove language checks for C# 11 2023-09-27 19:37:27 +02:00
Sergio Pedri 3e88c1ca1d Add MissingAllowUnsafeBlocksCompilationOptionAnalyzer 2023-09-27 18:39:29 +02:00
Sergio Pedri 24ac70faa4 Disable D2D1 generator if unsafe blocks are not allowed 2023-09-27 18:30:53 +02:00
Sergio Pedri eb3c69549f Simplify HasAccessibleTypeWithMetadataName 2023-09-27 16:19:20 +02:00
Sergio Pedri 308eab5fbc Add APIs to get other metadata, update effect XML 2023-09-27 15:03:06 +02:00
Sergio Pedri e5daf558ec Enable assembly defaults, update analyzer 2023-09-27 15:03:06 +02:00
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 01b32fd0ad Add new metadata attributes 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 23cd90d481 Add D2D1PixelShaderEffect.GetEffectDisplayName<T>() API 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 4066899e44 Add D2D1PixelShaderEffect.GetEffectId<T>() API 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 8c7f464876 Add D2DEffectDisplayNameAttribute type 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 2dea566d18 Add D2DEffectIdAttribute type 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 94d4e0fe2c Remove unnecessary dependency in ComputeSharp.D2D1.WinUI 2023-09-27 03:20:47 +02:00
Sergio Pedri 307ff46c93 Update NuGet packages for 2.1 release 2023-09-27 03:19:18 +02:00
Sergio Pedri 10406e0870 Return rented array to array pool 2023-09-21 23:04:01 +02:00
Sergio Pedri a23b438b5d Remove string allocation in ID3DIncludeForD2DHelpers.Open 2023-09-12 16:29:12 +02:00
Sergio Pedri 1a6a1297ae Remove Regex.Replace call in D3DCompiler 2023-09-06 23:16:53 +02:00
Sergio Pedri 46d96252a0 Enable GenerateDocumentationFile everywhere 2023-09-02 19:58:48 +02:00
Sergio Pedri b15c034ce5 Fix some incorrect signatures in Win2D ABI type bindings 2023-08-01 13:09:53 +02:00
Sergio Pedri f94215f951 Update NuGet packages to latest stable 2023-07-29 14:35:25 +02:00
Sergio Pedri 79bbaa3136 Add workaround for custom WinRT components with CsWinRT
See https://github.com/microsoft/CsWinRT/issues/1319
2023-07-28 19:49:40 +02:00