コミットグラフ
194 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri f9aa96ce3d Generate constant buffer native layout mapping type 2023-09-28 02:13:39 +02:00
Sergio Pedri 32ceaf3def Switch ID2D1Shader.InputCount to a property 2023-09-28 00:55:28 +02:00
Sergio Pedri 0780345ef9 Fix indentation of HLSL source expression 2023-09-28 00:37:45 +02:00
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 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 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 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