コミットグラフ
3541 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri 856475d9f8 Remove two unused methods
Note clear why this wasn't failing the build before
2023-09-28 02:19:30 +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 502e5e81fa Implement simple row accessors for matrix types 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 14af53c6a9 Add HierarchyInfo.GetFullyQualifiedTypeName() API 2023-09-28 02:13:17 +02:00
Sergio Pedri 33b85037ac Merge pull request #573 from Sergio0694/dev/shader-interface-properties
Switch all D2D1 interface methods (except bytecode) to properties
2023-09-28 01:47:58 +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 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