コミットグラフ
3663 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri 392cf5c0a5 Merge pull request #592 from Sergio0694/dev/refactor-pse-shared-state
Refactor global state for built-in pixel shader effects
2023-10-08 17:59:05 +02:00
Sergio Pedri 9fbae2968e Fix a bug in ComPtr<T>.CopyTo when targeting same object 2023-10-08 17:11:36 +02:00
Sergio Pedri cfbfc2886b More code refactoring and style tweaks 2023-10-07 20:28:19 +02:00
Sergio Pedri 2022a73754 Improve PixelShaderEffect.Factory method 2023-10-07 19:57:48 +02:00
Sergio Pedri 73e0367951 Use throw helpers in pixel shader effect, add more checks 2023-10-07 19:30:34 +02:00
Sergio Pedri 11d1ad92cf Use Marshal.GetHRForException everywhere 2023-10-07 12:56:44 +02:00
Sergio Pedri 011accfc26 Add try/catch to pixel shader effect methods 2023-10-07 12:56:44 +02:00
Sergio Pedri 6c75fc32c6 Remove some leftover extensions 2023-10-07 12:56:44 +02:00
Sergio Pedri 4ec0b1e43e Add ComPtr<T>.Release to simplify native objects 2023-10-07 12:56:44 +02:00
Sergio Pedri 3b31b9abe2 Remove unnecessary NativeMemory.Free branches 2023-10-07 12:56:44 +02:00
Sergio Pedri 38f1d37d17 Rename file to match new Globals types 2023-10-05 10:50:15 +02:00
Sergio Pedri 73c492ba2b Refactor shared state for built-in pixel shader effect 2023-10-05 10:50:15 +02:00
Sergio Pedri 3b5eb66d74 Merge pull request #591 from Sergio0694/dev/tweaks
Minor refactoring, remove unnecessary code
2023-10-05 10:31:45 +02:00
Sergio Pedri 73d31317ba Move all exception types to root namespaces 2023-10-04 21:01:16 +02:00
Sergio Pedri d79eee3f7e Remove FormatInterpolatedStringHandler 2023-10-04 21:01:16 +02:00
Sergio Pedri 817c4118ae Remove TryWriteFormatInterpolatedStringHandler 2023-10-04 21:01:16 +02:00
Sergio Pedri 64395f818c Move API calls outside of lock in D2D1EffectXmlFactory 2023-10-04 21:01:16 +02:00
Sergio Pedri afd4649a55 Simplify code in all exception types 2023-10-04 21:01:16 +02:00
Sergio Pedri 3be6767584 Merge pull request #590 from Sergio0694/dev/d2d-source-generator-indented
Rewrite D2DPixelShaderSourceGenerator to be simpler and faster
2023-10-04 01:44:08 +02:00
Sergio Pedri 7679ae2d2b Rewrite D2DPixelShaderSourceGenerator with new infra 2023-10-04 00:31:51 +02:00
Sergio Pedri 1afd5a02d3 Merge pull request #589 from Sergio0694/dev/partial-record-struct
Fix handling partial record struct types, add test
2023-10-04 00:31:01 +02:00
Sergio Pedri d6160e5a12 Fix handling partial record struct types, add test 2023-10-03 23:09:25 +02:00
Sergio Pedri 57ecb78f9f Merge pull request #587 from Sergio0694/dev/generated-marshaller-attribute
Add [D2DGeneratedPixelShaderDescriptor] attribute and use FAWMN
2023-10-03 23:03:39 +02:00
Sergio Pedri 112a4af860 Correctly insert attribute after built-in D2D attributes 2023-10-03 21:14:24 +02:00
Sergio Pedri 1013cfb6f3 Add FixAllProvider and unit tests with multiple diagnostics 2023-10-03 19:22:22 +02:00
Sergio Pedri 610fc5808e Simplify HlslBytecodeInfoKey model 2023-10-03 01:15:04 +02:00
Sergio Pedri 1029ad2622 Add ComputeSharp.D2D1.Tests.SourceGenerators to CI script 2023-10-02 03:22:02 +02:00
Sergio Pedri d992600689 Add tests for missing descriptor attribute code fixer 2023-10-02 03:22:02 +02:00
Sergio Pedri 21f410e7c4 Add blank ComputeSharp.D2D1.Tests.SourceGenerators project 2023-10-02 03:22:02 +02:00
Sergio Pedri 681e48d3fc Automatically add using directive from code fixer 2023-10-02 03:22:02 +02:00
Sergio Pedri c6be57e407 Improve shared .props to manage analyzer projects 2023-10-02 03:22:02 +02:00
Sergio Pedri c64ae73a7f Remove unnecessary token parameter in code fixer 2023-10-02 03:22:02 +02:00
Sergio Pedri a426bb74d7 Update shared .targets to also pack code fixer projects 2023-10-02 03:22:02 +02:00
Sergio Pedri afb467f1ff Add InvalidD2DGeneratedPixelShaderDescriptorAttributeTargetAnalyzer 2023-10-02 03:22:02 +02:00
Sergio Pedri ec77fb7e6f Rename D2D1 generator file names and generated name 2023-10-02 03:22:02 +02:00
Sergio Pedri 80221ce0cd Update code fixer to add attribute right after D2D ones 2023-10-01 20:28:30 +02:00
Sergio Pedri caf35addfa Add MissingPixelShaderDescriptorOnPixelShaderCodeFixer 2023-10-01 20:28:30 +02:00
Sergio Pedri e343035efe Add blank ComputeSharp.D2D1.CodeFixers project 2023-10-01 15:40:18 +02:00
Sergio Pedri 821bc6ba0d Add MissingPixelShaderDescriptorOnPixelShaderAnalyzer 2023-10-01 15:40:18 +02:00
Sergio Pedri 933dca22ed Rename to D2DGeneratedPixelShaderDescriptorAttribute 2023-10-01 14:09:43 +02:00
Sergio Pedri 4d7f288364 Add [D2DGeneratedShaderMarshaller] to all shader types 2023-10-01 14:04:40 +02:00
Sergio Pedri 6b9895ed74 Switch D2D1 generator to use ForAttributeWithMetadataName 2023-10-01 14:00:12 +02:00
Sergio Pedri 0759ca9f2e Add D2DGeneratedShaderMarshallerAttribute type 2023-10-01 13:56:51 +02:00
Sergio Pedri 4ab55e8a30 Merge pull request #586 from Sergio0694/dev/only-valid-xml-props
Only declare valid resource texture manager properties in effect XML
2023-10-01 13:49:22 +02:00
Sergio Pedri be17050d5e Update unit tests for new effect XML behavior 2023-10-01 12:27:45 +02:00
Sergio Pedri 0ff34c6275 Remove invalid properties from effect XML text 2023-10-01 12:27:44 +02:00
Sergio Pedri 678f197b91 Merge pull request #585 from Sergio0694/dev/shared-effect-xml
Unify effect XML building logic, optimize on .NET 6
2023-10-01 12:27:19 +02:00
Sergio Pedri dba631bf3b Rename ArrayPoolBufferWriter type for consistency 2023-10-01 11:33:52 +02:00
Sergio Pedri 277b9a6354 Improve concurrency in D2D1EffectXmlFactory 2023-10-01 01:16:17 +02:00
Sergio Pedri a2a9a07806 Remove leftover PinnedBufferMemoryManager type 2023-10-01 01:05:36 +02:00