コミットグラフ
3525 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri 0bccf6ec57 Switch ID2D1Shader.PixelOptions to a property 2023-09-28 00:12:17 +02:00
Sergio Pedri 586e3c1f8c Merge pull request #572 from Sergio0694/dev/resource-texture-descriptions-memory
Generate D2D1 resource texture descriptions as file local ReadOnlyMemory<T>
2023-09-28 00:09:43 +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 99110fb0a6 Merge pull request #571 from Sergio0694/dev/shader-descriptions-memory
Generate D2D1 input descriptions as file local ReadOnlyMemory<T>
2023-09-27 22:42:22 +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 62988f10fe Merge pull request #570 from Sergio0694/dev/input-types-memory
Generate D2D1 input types as file local ReadOnlyMemory<T>
2023-09-27 21:46:46 +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 46a070c03d Update unit tests for new InputTypes property 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 077504566e Merge pull request #569 from Sergio0694/dev/require-csharp-11
Remove language checks for C# 11
2023-09-27 20:26:01 +02:00
Sergio Pedri 514d2921fc Remove language checks for C# 11 2023-09-27 19:37:27 +02:00
Sergio Pedri 53d7b779c4 Merge pull request #568 from Sergio0694/dev/allow-unsafe-blocks
Require <AllowUnsafeBlocks> for D2D1 source generator
2023-09-27 19:32:28 +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 33e0eb6f49 Merge pull request #567 from Sergio0694/dev/fix-aot-ci-sample-test
Don't fail the CI on STATUS_CONTROL_C_EXIT errors
2023-09-27 18:30:42 +02:00
Sergio Pedri 042032db29 Don't fail the CI on STATUS_CONTROL_C_EXIT errors 2023-09-27 17:23:04 +02:00
Sergio Pedri f2188b5a3a Merge pull request #563 from Sergio0694/dev/simplify-type-access-checks
Simplify HasAccessibleTypeWithMetadataName
2023-09-27 17:16:56 +02:00
Sergio Pedri eb3c69549f Simplify HasAccessibleTypeWithMetadataName 2023-09-27 16:19:20 +02:00
Sergio Pedri 9311348ee7 Merge pull request #566 from Sergio0694/dev/extended-effect-metadata
Add [D2DEffectAuthor], [D2DEffectCategory] and [D2DEffectDescription]
2023-09-27 16:19:07 +02:00
Sergio Pedri 4407d78c91 Update unit tests for new custom metadata 2023-09-27 15:03:06 +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 318d56db8f Merge pull request #560 from Sergio0694/dev/effect-metadata
Add [D2DEffectId] and [D2DEffectDisplayName]
2023-09-27 15:02:32 +02:00
Sergio Pedri c2386ebcbd Add tests to ensure default EffectId-s are stable 2023-09-27 14:04:04 +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 37fee87489 Add unit tests for D2D1PixelShaderEffect.GetEffectDisplayName<T>() 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 8acb8b0b1a Add unit tests for D2D1PixelShaderEffect.GetEffectId<T>() 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