Sergio Pedri
|
35bc8ce649
|
Minor code tweaks to DX12 generator
|
2023-12-17 12:17:21 +01:00 |
|
Sergio Pedri
|
ac66eb7827
|
Add RequiresDoublePrecisionSupportAttribute
|
2023-12-17 12:17:21 +01:00 |
|
Sergio Pedri
|
d98e57d67d
|
Merge pull request #721 from Sergio0694/dev/d2d-requires-double-precision-support
Add [D2DRequiresDoublePrecisionSupport] attribute
|
2023-12-17 12:16:54 +01:00 |
|
Sergio Pedri
|
5d58622ddf
|
Move D2D reflection code to D2D generator only
|
2023-12-17 02:39:45 +01:00 |
|
Sergio Pedri
|
76752e2e47
|
Add InvalidD2DRequiresDoublePrecisionSupportAnalyzer and tests
|
2023-12-16 18:13:32 +01:00 |
|
Sergio Pedri
|
ed953c6bf1
|
Add diagnostic tests for double precision attribute
|
2023-12-16 18:13:32 +01:00 |
|
Sergio Pedri
|
0051423caa
|
Add diagnostics for incorrect double precision annotations
|
2023-12-16 18:13:32 +01:00 |
|
Sergio Pedri
|
f16dcab8fd
|
Add check for double precision in D2D1 generator
|
2023-12-16 17:34:20 +01:00 |
|
Sergio Pedri
|
034eeb3610
|
Add D2DRequiresDoublePrecisionSupportAttribute
|
2023-12-16 16:18:40 +01:00 |
|
Sergio Pedri
|
c71770f7ec
|
Merge pull request #720 from Sergio0694/dev/d2d-enable-runtime-compilation
Add [D2DEnableRuntimeCompilation] and analyzers
|
2023-12-16 16:17:55 +01:00 |
|
Sergio Pedri
|
8474eec869
|
Add D2DEnableRuntimeCompilationOnAssemblyAnalyzer and tests
|
2023-12-16 13:30:58 +01:00 |
|
Sergio Pedri
|
3722eb3026
|
Add more diagnostics for [D2DEnableRuntimeCompilation]
|
2023-12-16 13:19:55 +01:00 |
|
Sergio Pedri
|
2d03612a1d
|
Add [D2DEnableRuntimeCompilation] to test projects
|
2023-12-16 03:11:19 +01:00 |
|
Sergio Pedri
|
f603434310
|
Add tests for D2DRuntimeCompilationDisabledAnalyzer
|
2023-12-16 02:35:24 +01:00 |
|
Sergio Pedri
|
37af7113e6
|
Add D2DRuntimeCompilationDisabledAnalyzer
|
2023-12-16 02:26:02 +01:00 |
|
Sergio Pedri
|
eb5a1d4acf
|
Add D2DEnableRuntimeCompilationAttribute type
|
2023-12-16 02:14:58 +01:00 |
|
Sergio Pedri
|
1ffa43ed34
|
Use semicolon token type declarations if possible
|
2023-12-16 00:04:59 +01:00 |
|
Sergio Pedri
|
347ae52d83
|
Merge pull request #719 from Sergio0694/dev/opportunistic-stackalloc
Use stackalloc to marshal constant buffer if possible
|
2023-12-15 22:04:11 +01:00 |
|
Sergio Pedri
|
eab0bfbdd5
|
Use stackalloc to marshal constant buffer if possible
|
2023-12-14 22:20:47 +01:00 |
|
Sergio Pedri
|
8c1a54768b
|
Merge pull request #718 from Sergio0694/dev/drop-factory-target-reflection
Avoid rooting IUnknown metadata info
|
2023-12-14 19:02:18 +01:00 |
|
Sergio Pedri
|
82152af1d6
|
Avoid rooting IUnknown metadata info
|
2023-12-14 17:59:07 +01:00 |
|
Sergio Pedri
|
77dab312d4
|
Merge pull request #715 from Sergio0694/dev/rename-transform-mappers
Refactor D2DTransformMapper<T> APIs
|
2023-12-14 17:58:50 +01:00 |
|
Sergio Pedri
|
6093d7b01b
|
Move internal ID2D1DrawTransformMapperInterop type
|
2023-12-14 17:41:15 +01:00 |
|
Sergio Pedri
|
771c585bae
|
Seal D2D1DrawTransformMapper<T, TParameters> methods
|
2023-12-14 16:43:50 +01:00 |
|
Sergio Pedri
|
755c82d7bd
|
Rename mapper type to D2D1DrawTransformMapper<T>
|
2023-12-14 16:43:50 +01:00 |
|
Sergio Pedri
|
726bac4818
|
Move transform mapper factory methods into same type
Simplify names
|
2023-12-14 16:43:50 +01:00 |
|
Sergio Pedri
|
d6ed7dd696
|
Merge pull request #717 from Sergio0694/dev/fix-rewriting-recursion
Handle recursive members in HLSL rewriting
|
2023-12-14 16:43:18 +01:00 |
|
Sergio Pedri
|
07e929f9af
|
Add unit test for recursive rewriting handling
|
2023-12-14 16:23:22 +01:00 |
|
Sergio Pedri
|
4b6edfd070
|
Handle recursive members when rewriting HLSL
|
2023-12-14 16:08:09 +01:00 |
|
Sergio Pedri
|
b1094ba061
|
Fix invalid arguments passed to HLSL rewriters
|
2023-12-14 15:56:08 +01:00 |
|
Sergio Pedri
|
161040818f
|
Merge pull request #716 from Sergio0694/dev/forward-declarations
Use forward declarations for user types and all methods
|
2023-12-14 14:51:08 +01:00 |
|
Sergio Pedri
|
b13a9f6b0e
|
Add unit tests for forward declarations
|
2023-12-14 11:46:06 +01:00 |
|
Sergio Pedri
|
8d5d24ea44
|
Adopt HlslSourceHelper type to generate HLSL sources
|
2023-12-13 14:22:25 +01:00 |
|
Sergio Pedri
|
4bbe96af12
|
Add HlslSourceHelper helper type
|
2023-12-13 14:22:25 +01:00 |
|
Sergio Pedri
|
fb3439556c
|
Use forward declarations wherever possible
|
2023-12-13 14:22:25 +01:00 |
|
Sergio Pedri
|
bd8e881055
|
Merge pull request #714 from Sergio0694/dev/simplify-hlsl-source-generation
Use global aliases to simplify HLSL generation code
|
2023-12-12 23:50:36 +01:00 |
|
Sergio Pedri
|
556876349e
|
Minor code tweak, add more comments
|
2023-12-12 23:24:19 +01:00 |
|
Sergio Pedri
|
0d667a5da0
|
Use type aliases in DX12/D2D generators to write HLSL
|
2023-12-12 23:22:37 +01:00 |
|
Sergio Pedri
|
1cc03cdd7b
|
Simplify code in DX12 HLSL generation
|
2023-12-12 22:47:35 +01:00 |
|
Sergio Pedri
|
f5780fb701
|
Merge pull request #713 from Sergio0694/dev/hlsl-writer-tweaks
Switch HLSL writing to IndentedTextWriter
|
2023-12-11 00:27:51 +01:00 |
|
Sergio Pedri
|
2544c039d6
|
Switch HLSL writing to IndentedTextWriter
|
2023-12-10 21:57:26 +01:00 |
|
Sergio Pedri
|
02a1f3ecf3
|
Merge pull request #712 from Sergio0694/dev/remove-vector-projections
Remove .NET vector types projections, add Matrix3x2/Matrix4x4 implicit conversions
|
2023-12-09 20:03:40 +01:00 |
|
Sergio Pedri
|
62921a9f03
|
Add unit tests for new implicit conversion operators
|
2023-12-09 19:28:47 +01:00 |
|
Sergio Pedri
|
23f273b43a
|
Add implicit conversion operators for float3x2, float4x4
|
2023-12-09 19:28:47 +01:00 |
|
Sergio Pedri
|
6eba10e18b
|
Use collection expressions in more places
|
2023-12-09 19:28:47 +01:00 |
|
Sergio Pedri
|
3e25eeb8b7
|
Move FloatExtensions and VectorExtensions to .Core
|
2023-12-09 19:28:47 +01:00 |
|
Sergio Pedri
|
317a537e10
|
Merge pull request #711 from Sergio0694/dev/remove-numerics-projections
Remove VectorN/Math/MatF HLSL projections
|
2023-12-09 19:28:32 +01:00 |
|
Sergio Pedri
|
2b1b864c8d
|
Add dedicated diagnostic for Math/MathF calls
|
2023-12-09 18:38:20 +01:00 |
|
Sergio Pedri
|
3b92f3d595
|
Remove VectorN/Math/MatF HLSL projections
|
2023-12-09 16:30:30 +01:00 |
|
Sergio Pedri
|
e0a5f6e6af
|
Merge pull request #710 from Sergio0694/dev/skip-useless-directive
Skip generating unnecessary using for constant buffer
|
2023-12-09 02:49:06 +01:00 |
|