コミットグラフ
254 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri 8f2afaef99 Remove EffectIdInfo model 2023-09-28 20:29:35 +02:00
Sergio Pedri 55de6a88c5 Update library to use new HLSL bytecode properties
oops
2023-09-28 16:11:46 +02:00
Sergio Pedri ed24a3e4dc Improve generated HLSL bytecode MemoryManager<T> 2023-09-28 16:11:46 +02:00
Sergio Pedri fe49828288 Generate HLSL bytecode as ReadOnlyMemory<T> 2023-09-28 16:11:46 +02:00
Sergio Pedri 423c87cab8 Add and generate ID2D1Shader.CompileOptions 2023-09-28 16:11:15 +02:00
Sergio Pedri 70b9aa9588 Add and generate ID2D1Shader.ShaderProfile 2023-09-28 16:11:15 +02:00
Sergio Pedri 800925a70a Always assume [SkipLocalsInit] can be used in generator 2023-09-28 14:47:05 +02:00
Sergio Pedri 0d5370c941 Generate both dispatch methods in same file 2023-09-28 02:14:33 +02:00
Sergio Pedri 55e415d1b1 Use generated constant buffer type in InitializeFromDispatchData 2023-09-28 02:13:39 +02:00
Sergio Pedri bfc44bb6d9 Use generated constant buffer type in LoadDispatchData 2023-09-28 02:13:39 +02:00
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