Sergio Pedri
|
5811ba60cf
|
Restructure resources info logic, drop unnecessary TypeName field
|
2023-11-20 22:07:18 +01:00 |
|
Sergio Pedri
|
1760c8d3ff
|
Split Resources syntax generation code into partial file
|
2023-11-20 22:07:18 +01:00 |
|
Sergio Pedri
|
e254cc19f3
|
Remove unnecessary parameter
|
2023-11-20 22:07:17 +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
|
777f8537f2
|
Fix handling artificial fields in D3D12 constant buffer
|
2023-11-20 21:11:45 +01:00 |
|
Sergio Pedri
|
e4fb230068
|
Remove unnecessary ResourceInfo.Offset property
|
2023-11-20 21:11:45 +01:00 |
|
Sergio Pedri
|
fcf287c4ad
|
Restructure resources info gathering logic
|
2023-11-20 21:11:45 +01:00 |
|
Sergio Pedri
|
3c7d5db340
|
Switch D3D12 generator to shared constant buffer logic
|
2023-11-20 21:11:44 +01:00 |
|
Sergio Pedri
|
0a7dbb3cfb
|
Add logic to optionally generate artificial fields
|
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
|
876d419b0f
|
Fix conditional Write[If] methods for indented writer
|
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
|
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
|
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
|
91f78969b1
|
Adopt static abstracts in ComputeSharp (and related projects)
|
2023-10-18 20:50:44 +02:00 |
|
Sergio Pedri
|
14336448f5
|
Bump Roslyn dependencies to 4.7.0
|
2023-10-18 18:20:54 +02:00 |
|
Sergio Pedri
|
4410f7d2b1
|
Centralize native libs to cleanup solution explorer
|
2023-10-18 00:16:12 +02:00 |
|
Sergio Pedri
|
b3a6ba90c3
|
Switch to CsWin32 for DXC APIs in D2D1 generator
|
2023-10-17 18:23:07 +02:00 |
|
Sergio Pedri
|
ac79e64e38
|
Add workaround for Span<T> pointer constructor bug
|
2023-10-17 14:31:47 +02:00 |
|
Sergio Pedri
|
54d11f7c8f
|
Add HRESULT.Assert() to D3D12 generator
|
2023-10-17 12:50:27 +02:00 |
|
Sergio Pedri
|
b8ed4c67e5
|
Tweak local ComPtr<T> type for CsWin32
|
2023-10-17 12:47:01 +02:00 |
|
Sergio Pedri
|
e0b2c6a9fd
|
Switch to CsWin32 for DXC APIs in D3D12 generator
|
2023-10-17 12:47:01 +02:00 |
|
Sergio Pedri
|
f0d1172c45
|
Remove HRESULTExtensions from D3D12 generator
|
2023-10-17 03:10:38 +02:00 |
|
Sergio Pedri
|
3fe4491f63
|
Centralize marshalling logic in DxcShaderCompiler
|
2023-10-17 03:10:38 +02:00 |
|
Sergio Pedri
|
862ea5a51b
|
Rename ComputeSharp.Dynamic to ComputeSharp.Dxc
|
2023-10-17 03:10:38 +02:00 |
|
Sergio Pedri
|
4bfff51d71
|
Refactor DXC libraries loading logic in D3D12 generator
|
2023-10-17 01:55:16 +02:00 |
|
Sergio Pedri
|
976e40268c
|
Move ShaderCompiler to D3D12 generator
|
2023-10-17 01:55:16 +02:00 |
|
Sergio Pedri
|
e6f9261d87
|
Shader FieldInfo models across D2D1/D3D12 generators
|
2023-10-17 00:47:51 +02:00 |
|
Sergio Pedri
|
55fd665668
|
Decouple resources model in D3D12 generator
|
2023-10-17 00:43:28 +02:00 |
|
Sergio Pedri
|
fb6b94c632
|
Simplify code in diagnostic tests and diagnostic values
|
2023-10-16 14:03:02 +02:00 |
|
Sergio Pedri
|
c3ed6ead40
|
Add [GeneratedComputeShaderDescriptor] to all shaders
|
2023-10-16 11:20:24 +02:00 |
|
Sergio Pedri
|
ba20d0db76
|
Fix MissingComputeShaderDescriptorOnComputeShaderAnalyzer
|
2023-10-16 11:15:48 +02:00 |
|
Sergio Pedri
|
0f0ecab6fc
|
Fix InvalidGeneratedComputeShaderDescriptorAttributeTargetAnalyzer
|
2023-10-16 11:11:07 +02:00 |
|
Sergio Pedri
|
d6096b525a
|
Add MissingComputeShaderDescriptorOnComputeShaderCodeFixer
|
2023-10-16 10:50:40 +02:00 |
|
Sergio Pedri
|
876e261f6b
|
Add InvalidGeneratedComputeShaderDescriptorAttributeTargetAnalyzer
|
2023-10-15 23:05:35 +02:00 |
|
Sergio Pedri
|
6baf3339fe
|
Add MissingComputeShaderDescriptorOnComputeShaderAnalyzer
|
2023-10-15 23:00:14 +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
|
0f9b975336
|
Rename D3D12 generator type
|
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
|
cecafb8d88
|
Add IComputeShaderDescriptor<T>, adjust namespaces
|
2023-10-15 21:28:02 +02:00 |
|
Sergio Pedri
|
de498f338a
|
Rename IPixelShader<TPixel> to IComputeShader<TPixel>
|
2023-10-15 21:10:59 +02:00 |
|