Sergio Pedri
|
01a80f1e33
|
Update source generator and fix default shader profile codegen
|
2022-10-21 17:22:59 +02:00 |
|
Sergio Pedri
|
ac89019292
|
Remove IEqualityComparerExtensions
|
2022-10-20 03:27:45 +02:00 |
|
Sergio Pedri
|
4def9f65a9
|
Switch to EquatableArray<T> in ComputeSharp.D2D1 models
|
2022-10-20 03:24:31 +02:00 |
|
Sergio Pedri
|
eec5404f7c
|
Centralize byte formatting code into shared helper type
|
2022-10-16 05:44:20 -07:00 |
|
Sergio Pedri
|
f2ed8a2d3b
|
More minor code style tweaks (remove extra blank lines, etc.)
|
2022-10-15 09:10:18 -07:00 |
|
Sergio Pedri
|
d910922ef5
|
Use blocks for all if statements
|
2022-10-15 09:10:18 -07:00 |
|
Sergio Pedri
|
ce1097e7d9
|
Add parentheses for clarity where needed (IDE0048)
|
2022-10-15 09:10:18 -07:00 |
|
Sergio Pedri
|
553c7a4014
|
Add necessary parentheses and use target-typed new() expressions
|
2022-10-15 09:10:18 -07:00 |
|
Sergio Pedri
|
b2afb88f30
|
Switch methods to block bodies
|
2022-10-15 09:10:18 -07:00 |
|
Sergio Pedri
|
16c0fc9aab
|
Use explicit types everywhere
|
2022-10-15 09:10:18 -07:00 |
|
Sergio Pedri
|
9343ac7f7b
|
Add explicit discards to all value returning expressions
|
2022-10-15 09:10:18 -07:00 |
|
Sergio Pedri
|
746f132182
|
Adjust field visibility, fix naming violations in non test projects
|
2022-10-15 09:10:18 -07:00 |
|
Sergio Pedri
|
e94636b80c
|
Run dotnet format whitespace
|
2022-10-15 09:10:18 -07:00 |
|
Sergio Pedri
|
6131b7f9b0
|
Fix C# 11 check in D2D1 source generator
Used the wrong local in dab94bdae7
|
2022-10-11 19:01:28 +02:00 |
|
Sergio Pedri
|
dab94bdae7
|
Only emit raw multiline string literals when possible
|
2022-10-08 15:05:52 +02:00 |
|
Sergio Pedri
|
3fb94daaa2
|
Add diagnostic for missing [D2DInputCount] attribute
|
2022-10-07 16:12:31 -07:00 |
|
Sergio Pedri
|
631618d311
|
Add missing initial clear of stackalloc'd buffers
|
2022-10-08 00:04:23 +02:00 |
|
Sergio Pedri
|
69515867e6
|
Move [SkipLocalsInit] logic to .targets file
|
2022-10-08 00:04:23 +02:00 |
|
Sergio Pedri
|
983e874f4d
|
Add [SkipLocalsInit] to all projects
|
2022-10-07 22:42:25 +02:00 |
|
Sergio Pedri
|
883d99ca9f
|
Use pooled array builders in all generators
|
2022-10-07 09:14:17 -07:00 |
|
Sergio Pedri
|
d4b1e71c39
|
Remove allocations when validating D2D1 input indices
|
2022-10-07 09:14:17 -07:00 |
|
Sergio Pedri
|
eb34817073
|
Remove allocations when checking duplicate resource indices
|
2022-10-07 09:14:17 -07:00 |
|
Sergio Pedri
|
a15fce2a54
|
Use ImmutableArrayBuilder<char> for bytecode text
|
2022-10-07 09:14:17 -07:00 |
|
Sergio Pedri
|
bddd2a395c
|
Add generator support for struct instance methods
|
2022-10-02 16:09:46 +02:00 |
|
Sergio Pedri
|
5ef4304489
|
Bump Roslyn dependencies to 4.4.0-2.final
Also remove explicit NuGet feed
|
2022-09-19 20:06:38 +02:00 |
|
Sergio Pedri
|
ff04ee384c
|
Minor code tweaks
|
2022-09-18 14:38:10 +02:00 |
|
Sergio Pedri
|
c7583eb3c7
|
Minor tweaks and improvements to ID2D1ShaderGenerator
|
2022-09-18 14:22:21 +02:00 |
|
Sergio Pedri
|
a205efe6fa
|
Remove symbols from IShaderGenerator pipeline
|
2022-09-17 20:35:38 +02:00 |
|
Sergio Pedri
|
9eac3c779d
|
Refactor diagnostic models to be properly equatable
|
2022-09-17 17:58:44 +02:00 |
|
Sergio Pedri
|
bdaf402a4c
|
Add aggregate model for D2D1PixelShaderSourceInfo
|
2022-09-17 16:54:11 +02:00 |
|
Sergio Pedri
|
d62c459633
|
Remove symbols from ID2D1ShaderGenerator pipeline
|
2022-09-17 16:43:13 +02:00 |
|
Sergio Pedri
|
87f2e04ca0
|
Make all models directly equatable
|
2022-09-17 14:48:33 +02:00 |
|
Sergio Pedri
|
f27e98f2fa
|
Add new InvalidD2DResourceTextureIndexUseAnalyzer analyzer
|
2022-09-17 13:11:14 +02:00 |
|
Sergio Pedri
|
5204402c49
|
Add new InvalidAssemblyLevelCompileOptionsAnalyzer analyzer
|
2022-09-17 13:07:21 +02:00 |
|
Sergio Pedri
|
65ee05bf10
|
Move D2D1ResourceTextureUninitializedFieldDiagnosticSuppressor
|
2022-09-17 12:59:16 +02:00 |
|
Sergio Pedri
|
080011fe8f
|
Share raw multiline string literal formatting logic
|
2022-09-17 12:58:01 +02:00 |
|
Sergio Pedri
|
b45629b839
|
Remove symbols from D2DPixelShaderSourceGenerator pipeline
|
2022-09-16 23:19:17 +02:00 |
|
Sergio Pedri
|
5cd53f3077
|
Remove conditional paths for raw multiline strings
|
2022-09-16 23:03:35 +02:00 |
|
Sergio Pedri
|
a2872e3626
|
Bump Roslyn to 4.4
|
2022-09-16 22:08:25 +02:00 |
|
Sergio Pedri
|
a7ec9288bc
|
Use ForAttributeWithMetadataName in D2DPixelShaderSourceGenerator
|
2022-09-16 21:52:28 +02:00 |
|
Sergio Pedri
|
a282c19a7a
|
Remove unnecessary warning suppressions
|
2022-09-16 21:52:28 +02:00 |
|
Sergio Pedri
|
4a26e8ec2a
|
Bump generators to Roslyn 4.3.0
|
2022-09-16 21:52:28 +02:00 |
|
Sergio Pedri
|
a34d70d280
|
Move d2d1effecthelpers.hlsli header to UTF8 string literal
|
2022-09-16 10:38:38 -07:00 |
|
Sergio Pedri
|
f41ce77acd
|
Move [UnscopedRef] to be shared with all projects
|
2022-09-16 10:38:38 -07:00 |
|
Sergio Pedri
|
579e9786e9
|
Use .g.cs suffix for all generated files
|
2022-09-06 07:57:05 +02:00 |
|
Sergio Pedri
|
44bf98cfa0
|
Add D2D1ResourceTextureUninitializedFieldDiagnosticSuppressor
|
2022-09-03 23:34:52 +02:00 |
|
Sergio Pedri
|
74a7c1e3e5
|
Cast to Bool when loading bool-s in dispatch data loaders
|
2022-08-27 23:04:13 +02:00 |
|
Sergio Pedri
|
1e3611a060
|
Prevent bool fields in custom struct types in shaders
These are not allowed due to alignment reasons
|
2022-08-27 16:50:22 +02:00 |
|
Sergio Pedri
|
8bd2f80eae
|
Add cast intrinsics to source generators
|
2022-08-27 01:49:53 +02:00 |
|
Sergio Pedri
|
5930baf69a
|
Fix method name in generated filename hints
|
2022-08-18 14:26:10 +02:00 |
|