Sergio Pedri
|
534d90bc55
|
Merge pull request #639 from Sergio0694/dev/updated-dxc
Update DXC compiler to August 2023 release
|
2023-11-21 15:55:56 +01:00 |
|
Sergio Pedri
|
a64e7bbd18
|
Fix a compile error in tests due to DXC warning
|
2023-11-21 15:35:10 +01:00 |
|
Sergio Pedri
|
9d6195ac44
|
Fix Span<T> not supporting pointers on NS2.0
|
2023-11-21 15:35:10 +01:00 |
|
Sergio Pedri
|
aceb42af1b
|
Switch to IDxcCompiler3 and IDxcUtils for DX12 shaders
|
2023-11-21 15:34:32 +01:00 |
|
Sergio Pedri
|
38679dfff0
|
Update DXC native libraries to August 2023 release
|
2023-11-21 15:33:51 +01:00 |
|
Sergio Pedri
|
c30899341b
|
Merge pull request #638 from Sergio0694/dev/d2d-compile-options-analyzer
Add diagnostic for invalid linking D2D compile option
|
2023-11-21 15:32:27 +01:00 |
|
Sergio Pedri
|
fe0f68d921
|
Add unit tests for new analyzer
|
2023-11-21 14:37:14 +01:00 |
|
Sergio Pedri
|
e09007e910
|
Add InvalidD2D1CompileOptionsEnableLinkingOnShaderTypeAnalyzer
|
2023-11-21 14:37:14 +01:00 |
|
Sergio Pedri
|
a736c3009d
|
Improve and optimize IsSimpleInputShader helper
|
2023-11-21 14:37:14 +01:00 |
|
Sergio Pedri
|
054f0d7879
|
Merge pull request #643 from Sergio0694/dev/remove-interface-stubs
Use more static abstracts directly instead of helper methods
|
2023-11-21 14:36:44 +01:00 |
|
Sergio Pedri
|
00776d8a3d
|
Tweak D2D1PixelShader.CreateFromConstantBuffer method
|
2023-11-21 14:16:13 +01:00 |
|
Sergio Pedri
|
50b718b412
|
Use generated descriptor APIs directly
|
2023-11-21 14:15:54 +01:00 |
|
Sergio Pedri
|
eb140ab2cd
|
Merge pull request #657 from Sergio0694/dev/use-ImmutableCollectionsMarshal
Use ImmutableCollectionsMarshal for fast ImmutableArray<T> creation
|
2023-11-21 14:14:47 +01:00 |
|
Sergio Pedri
|
ba70535d30
|
Use ImmutableCollectionsMarshal in .NET 8 projects
|
2023-11-21 13:58:19 +01:00 |
|
Sergio Pedri
|
b1eb81cb2b
|
Merge pull request #656 from Sergio0694/dev/comptr-native-objects
Use ComPtr<T> in all fields of native objects
|
2023-11-21 13:44:19 +01:00 |
|
Sergio Pedri
|
3840dce778
|
Temporarily disable failing Win2D test
See https://github.com/microsoft/Win2D/issues/935
|
2023-11-21 13:05:19 +01:00 |
|
Sergio Pedri
|
c7664916ad
|
Remove leftover ComPtr extensions
|
2023-11-21 12:07:14 +01:00 |
|
Sergio Pedri
|
265de8d1ea
|
Use ComPtr<T> for all fields of native objects
|
2023-11-21 12:07:14 +01:00 |
|
Sergio Pedri
|
423ee790ca
|
Merge pull request #655 from Sergio0694/dev/inline-arrays
Use [InlineArray] where applicable
|
2023-11-21 02:42:39 +01:00 |
|
Sergio Pedri
|
fc56e7b999
|
Use [InlineArray] in GraphicsEffectSourceBuffer
|
2023-11-21 02:10:34 +01:00 |
|
Sergio Pedri
|
fd283ac37f
|
Use [InlineArray] in ResourceTextureManagerBuffer
|
2023-11-21 02:10:34 +01:00 |
|
Sergio Pedri
|
56f07203dc
|
Use [InlineArray] in ResourceTextureManagerBuffer
|
2023-11-21 02:10:34 +01:00 |
|
Sergio Pedri
|
341c40fd2a
|
Merge pull request #654 from Sergio0694/dev/generated-collection-expressions
Use collection expressions in generated code
|
2023-11-20 23:53:22 +01:00 |
|
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
|
4ecf0b26cb
|
Merge pull request #653 from Sergio0694/dev/use-primary-constructors
Use primary constructors and collection expressions
|
2023-11-20 23:26:53 +01:00 |
|
Sergio Pedri
|
e3e6f89038
|
Use auto-properties in attributes to enforce readonly
|
2023-11-20 23:06:22 +01:00 |
|
Sergio Pedri
|
0e24e68b10
|
Use collection expressions in more cases in tests
|
2023-11-20 23:06:22 +01:00 |
|
Sergio Pedri
|
a3c0d167f8
|
Use collection expressions for stackalloc expressions
|
2023-11-20 23:06:22 +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
|
8dc70916ac
|
Use collection expressions to create empty collections
|
2023-11-20 23:06:22 +01:00 |
|
Sergio Pedri
|
358f378796
|
Replace ToArray() with collection expressions
|
2023-11-20 23:06:22 +01:00 |
|
Sergio Pedri
|
6897ecfcb2
|
Use primary constructors in remaining projects
|
2023-11-20 23:06:22 +01:00 |
|
Sergio Pedri
|
46a6b25756
|
Use primary constructors in published projects
|
2023-11-20 23:06:21 +01:00 |
|
Sergio Pedri
|
531e3c3b35
|
Merge pull request #652 from Sergio0694/dev/primary-constructors-resources
Support primary constructor parameters for DX12 shader resources
|
2023-11-20 22:35:42 +01:00 |
|
Sergio Pedri
|
8229ccd810
|
Suppress warning for unused field in benchmark project
|
2023-11-20 22:17:54 +01:00 |
|
Sergio Pedri
|
cf8969a77e
|
Fix generated field accessors for resource fields
|
2023-11-20 22:07:18 +01:00 |
|
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
|
16e49f523a
|
Merge pull request #651 from Sergio0694/dev/primary-constructors-net8-shared
Support primary constructor parameters for DX12 shaders
|
2023-11-20 22:06:15 +01:00 |
|
Sergio Pedri
|
e3222c8d62
|
Fix generated code for shaders with bool fields
|
2023-11-20 21:11:45 +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
|
6f843e3e85
|
Remove unnecessary partial file
|
2023-11-20 21:11:44 +01:00 |
|