Sergio Pedri
|
74ccc5e09f
|
Use collection expressions in D2D shader source generator
|
2023-11-20 23:28:50 +01:00 |
|
Sergio Pedri
|
48f3b847a7
|
Adopt collection expression syntax in generated code
|
2023-11-20 23:28:50 +01:00 |
|
Sergio Pedri
|
d79fdeab71
|
Enable RVA fields again for generated input types
|
2023-11-20 23:28:50 +01:00 |
|
Sergio Pedri
|
c9a5882f43
|
Use collection expressions for empty arrays and spans
|
2023-11-20 23:06:22 +01:00 |
|
Sergio Pedri
|
6d560f08e2
|
Use collection expressions for array initializations
|
2023-11-20 23:06:22 +01:00 |
|
Sergio Pedri
|
9815b8532c
|
Generate GraphicsResourcesLoader type to load resources
|
2023-11-20 22:07:17 +01:00 |
|
Sergio Pedri
|
940cdfdcdc
|
Fix handling empty shaders with just artificial fields
|
2023-11-20 21:11:45 +01:00 |
|
Sergio Pedri
|
6f843e3e85
|
Remove unnecessary partial file
|
2023-11-20 21:11:44 +01:00 |
|
Sergio Pedri
|
3c7d5db340
|
Switch D3D12 generator to shared constant buffer logic
|
2023-11-20 21:11:44 +01:00 |
|
Sergio Pedri
|
5df310f87b
|
Only generate two way marshalling if requested
|
2023-11-20 21:11:44 +01:00 |
|
Sergio Pedri
|
4c5bd8a9da
|
Move constant buffer info gathering logic too
|
2023-11-20 21:11:44 +01:00 |
|
Sergio Pedri
|
545f4b6ca4
|
Move constant buffer syntax to shared project
|
2023-11-20 21:11:44 +01:00 |
|
Sergio Pedri
|
4ee81cabce
|
Add and integrate IConstantBufferInfo interface
|
2023-11-20 21:11:44 +01:00 |
|
Sergio Pedri
|
01282b40c3
|
Improve XML docs for generated constant buffer fields
|
2023-11-20 20:51:41 +01:00 |
|
Sergio Pedri
|
819908db16
|
Fix primary constructor fields in generated D2D1 source
|
2023-11-20 20:51:41 +01:00 |
|
Sergio Pedri
|
041a5c0288
|
Support primary field constructors in buffer marshaller
|
2023-11-20 20:51:40 +01:00 |
|
Sergio Pedri
|
ba9f421c97
|
Simplify and optimize ConstantBuffer.GetInfo method
|
2023-11-20 20:51:40 +01:00 |
|
Sergio Pedri
|
785606dcf4
|
Generate unsafe accessors for fields as extension methods
|
2023-11-20 20:51:40 +01:00 |
|
Sergio Pedri
|
accb602f1f
|
Strip readonly-ness via the generated unsafe accessors
|
2023-11-20 20:51:40 +01:00 |
|
Sergio Pedri
|
531262e6f2
|
Always generate unsafe accessors for all fields
|
2023-11-20 20:51:40 +01:00 |
|
Sergio Pedri
|
2961612f47
|
Correctly generate accessors for nested/unaccessible fields
|
2023-11-20 20:51:40 +01:00 |
|
Sergio Pedri
|
99a0c2b8b6
|
Skip duplicate field accessors for same fields
|
2023-11-20 20:51:40 +01:00 |
|
Sergio Pedri
|
bec001e3b0
|
Simplify constant buffer files in D2D1 generator
|
2023-11-20 20:51:40 +01:00 |
|
Sergio Pedri
|
2fc520c965
|
Emit ConstantBufferMarshaller type in D2D1 generator
|
2023-11-20 20:51:39 +01:00 |
|
Sergio Pedri
|
dc713aedb9
|
Use target-typed new() for diagnostic descriptors
|
2023-10-21 18:03:07 +02:00 |
|
Sergio Pedri
|
ff571c44aa
|
Fix duplicate diagnostic titles
|
2023-10-21 18:01:37 +02:00 |
|
Sergio Pedri
|
2a43123b81
|
Apply some code tweaks to make analysis happy
|
2023-10-19 23:43:22 +02:00 |
|
Sergio Pedri
|
76f27250f4
|
Skip shader fields of not accessible types
|
2023-10-19 14:04:43 +02:00 |
|
Sergio Pedri
|
5b971b1b3d
|
Add NotAccessibleFieldTypeInGeneratedShaderDescriptorAttributeTargetAnalyzerBase
|
2023-10-19 13:59:06 +02:00 |
|
Sergio Pedri
|
e85c8f870a
|
Add NotAccessibleGeneratedShaderDescriptorAttributeTargetAnalyzerBase
|
2023-10-19 11:55:40 +02:00 |
|
Sergio Pedri
|
d5ddf8bf1e
|
Share MissingAllowUnsafeBlocksCompilationOptionAnalyzer
|
2023-10-19 01:59:45 +02:00 |
|
Sergio Pedri
|
786efaf38f
|
Adopt static abstracts in ComputeSharp.D2D1 (and WinUI)
|
2023-10-18 19:21:17 +02:00 |
|
Sergio Pedri
|
14336448f5
|
Bump Roslyn dependencies to 4.7.0
|
2023-10-18 18:20:54 +02:00 |
|
Sergio Pedri
|
ebeaee4adb
|
Share NativeMethods.json file with D3D12 generator
|
2023-10-17 20:15:23 +02:00 |
|
Sergio Pedri
|
896593c8cf
|
Remove unnecessary linked files from D2D1 generator
|
2023-10-17 18:25:29 +02:00 |
|
Sergio Pedri
|
b3a6ba90c3
|
Switch to CsWin32 for DXC APIs in D2D1 generator
|
2023-10-17 18:23:07 +02:00 |
|
Sergio Pedri
|
e6f9261d87
|
Shader FieldInfo models across D2D1/D3D12 generators
|
2023-10-17 00:47:51 +02:00 |
|
Sergio Pedri
|
fb6b94c632
|
Simplify code in diagnostic tests and diagnostic values
|
2023-10-16 14:03:02 +02:00 |
|
Sergio Pedri
|
6fe1ee5743
|
Switch D3D12 generator to use FAWMN on new attribute
|
2023-10-15 23:00:14 +02:00 |
|
Sergio Pedri
|
2545c6c391
|
Refactor D3D12 generator files and helper types
|
2023-10-15 21:28:03 +02:00 |
|
Sergio Pedri
|
f5b38e1af8
|
Update D3D12 generator to implement descriptor interface
|
2023-10-15 21:28:02 +02:00 |
|
Sergio Pedri
|
4f53b3e686
|
Implement generation of IShader.ResourceDescriptorRanges
|
2023-10-14 11:06:18 +02:00 |
|
Sergio Pedri
|
e909262a97
|
Add and adopt WriteSortedUsingDirectives extension
|
2023-10-14 02:28:02 +02:00 |
|
Sergio Pedri
|
2c8d0d2385
|
Share HlslBytecodeInfo model across D3D12/D2D1 generators
|
2023-10-14 00:35:04 +02:00 |
|
Sergio Pedri
|
fa8d9446cd
|
Adopt HlslBytecodeInfo pattern in D3D12 generator
|
2023-10-14 00:35:04 +02:00 |
|
Sergio Pedri
|
eb820c0275
|
Move ComputeSharp.Win32.D2D1 code
|
2023-10-12 23:48:30 +02:00 |
|
Sergio Pedri
|
7228c3353b
|
Centralize defines for SOURCE_GENERATOR
|
2023-10-12 20:22:06 +02:00 |
|
Sergio Pedri
|
5bff682cd5
|
Optimize InputTypes memory manager for downlevel TFMs
|
2023-10-09 18:14:26 +02:00 |
|
Sergio Pedri
|
7506cab338
|
Simplify creating source generator builder types
|
2023-10-09 13:31:41 +02:00 |
|
Sergio Pedri
|
26934553f6
|
Use ImmutableArrayBuilder<T> to build HLSL
|
2023-10-09 12:21:31 +02:00 |
|