Sergio Pedri
|
5a4e05ba94
|
Added diagnostics for multiple shader type implementations
|
2021-05-11 01:54:37 +02:00 |
|
Sergio Pedri
|
49d73b675f
|
Introduced IPixelShader<TPixel> interface, initial working support
|
2021-05-11 01:54:37 +02:00 |
|
Sergio Pedri
|
003a322912
|
Added forward declarations for shader methods
Fixes https://github.com/Sergio0694/ComputeSharp/issues/117
|
2021-04-04 18:45:42 +02:00 |
|
Sergio Pedri
|
1a72e599a0
|
Switched ShaderMethodSourceGenerator to SyntaxReceiver
|
2021-04-04 16:15:52 +02:00 |
|
Sergio Pedri
|
92c5dd2550
|
Switched IComputeShaderSourceGenerator to SyntaxReceiver
|
2021-04-04 16:15:52 +02:00 |
|
Sergio Pedri
|
41bb623472
|
Switched IComputeShaderHashCodeGenerator to SyntaxReceiver
|
2021-04-04 16:15:52 +02:00 |
|
Sergio Pedri
|
e488450518
|
Switched IComputeShaderDataLoaderGenerator to SyntaxReceiver
|
2021-04-04 16:15:39 +02:00 |
|
Sergio Pedri
|
cc771e9843
|
Switched AutoConstructorGenerator to SyntaxReceiver
|
2021-04-04 15:56:17 +02:00 |
|
Sergio Pedri
|
d967fb480a
|
Added better exception for missing shader metadata
|
2021-03-18 13:49:52 +01:00 |
|
Sergio Pedri
|
e3627a25f9
|
Fixed SGs fail with symbols from different syntax trees
|
2021-03-18 13:15:00 +01:00 |
|
Sergio Pedri
|
a94e5559a0
|
Added diagnostics for shaders exceeding root signature size
|
2021-03-12 14:55:30 +01:00 |
|
Sergio Pedri
|
33c1415f2d
|
Skipped fixed buffer fields from auto constructor and data loader
|
2021-03-12 14:26:47 +01:00 |
|
Sergio Pedri
|
861da7eb77
|
Updated packages and fixed analyzer rules in SG project
|
2021-03-12 12:47:47 +01:00 |
|
Sergio Pedri
|
f42dc2df10
|
Minor codegen tweaks to shader dispatch data loader
|
2021-03-12 00:04:56 +01:00 |
|
Sergio Pedri
|
9d41cbf94c
|
Fixed HLSL compilation when using nested struct types
|
2021-03-11 23:12:09 +01:00 |
|
Sergio Pedri
|
758a19cae5
|
Fixed alignment of first fields in nested struct types
|
2021-03-11 22:53:02 +01:00 |
|
Sergio Pedri
|
3b06569dcd
|
Enabled data loading for captured custom struct types
|
2021-03-11 19:51:25 +01:00 |
|
Sergio Pedri
|
54a8b8a4e8
|
Enabled rewriting of custom struct captures
|
2021-03-11 18:24:29 +01:00 |
|
Sergio Pedri
|
b330616aa9
|
Fixed source generator unit tests
|
2021-03-11 15:38:13 +01:00 |
|
Sergio Pedri
|
3147e8fade
|
Added diagnostics for shader properties
|
2021-03-11 15:38:13 +01:00 |
|
Sergio Pedri
|
e12169c11e
|
Switched static properties to fields, added globals support
|
2021-03-11 15:38:13 +01:00 |
|
Sergio Pedri
|
32d010faab
|
Added polyfills to vector/matrix types in SG project
|
2021-03-11 15:38:13 +01:00 |
|
L3tum
|
230146849e
|
Fix HlslKnownSize referencing "int" twice
On [this line](https://github.com/Sergio0694/ComputeSharp/blob/bd6d4928b3fdd4f6262508eff7093b591d7f94b6/src/ComputeSharp.SourceGenerators/Mappings/HlslKnownSizes.cs#L30) you define the known HLSL type sizes. However, instead of `int` and `uint`, there's `int` twice.
|
2021-03-10 12:18:34 +01:00 |
|
Sergio Pedri
|
0ff4da8480
|
Enabled diagnostics for invalid ThreadIds.Normalized usage
|
2021-03-08 14:42:12 +01:00 |
|
Sergio Pedri
|
1b531f1dd7
|
Added diagnostics for invalid DispatchSize usage
|
2021-03-08 14:38:35 +01:00 |
|
Sergio Pedri
|
5794b43fe0
|
Added ThreadIds.Normalized type
|
2021-03-08 14:25:22 +01:00 |
|
Sergio Pedri
|
1b8b139c7a
|
Fixed transformation for GroupSize vector properties
|
2021-03-08 13:42:39 +01:00 |
|
Sergio Pedri
|
1365f963e9
|
Added DispatchSize type
|
2021-03-08 13:36:59 +01:00 |
|
Sergio Pedri
|
c5aed333af
|
Renamed WarpIds type to GridIds
|
2021-03-08 00:17:27 +01:00 |
|
Sergio Pedri
|
7c02100df1
|
Added more shader constant property diagnostics
|
2021-03-07 20:28:52 +01:00 |
|
Sergio Pedri
|
f8e951dd15
|
Enabled rewriting for shader static constants
|
2021-03-07 20:14:32 +01:00 |
|
Sergio Pedri
|
c14c64dbc7
|
Added syntax rewriter for static constants
|
2021-03-07 19:27:39 +01:00 |
|
Sergio Pedri
|
a3a58e3a89
|
Added partial file for HLSL rewriter diagnostics
|
2021-03-07 18:29:25 +01:00 |
|
Sergio Pedri
|
8cd02a300b
|
Added base HLSL rewriter class with shared logic
|
2021-03-07 18:25:49 +01:00 |
|
Sergio Pedri
|
f1277c3bf1
|
Added single value properties to matrix types
|
2021-03-05 17:12:57 +01:00 |
|
Sergio Pedri
|
cf4fc805e5
|
Fixed padding and alignment for captured matrix values
|
2021-03-05 16:02:29 +01:00 |
|
Sergio Pedri
|
1adde2afb1
|
Fixed dispatch data loading for matrix types
|
2021-03-05 15:27:18 +01:00 |
|
Sergio Pedri
|
4d900664a4
|
Minor code refactoring
|
2021-03-05 13:07:43 +01:00 |
|
Sergio Pedri
|
e5bd736edf
|
Fixed rewriting of matrix swizzled indexers
|
2021-03-04 18:02:07 +01:00 |
|
Sergio Pedri
|
30477c9866
|
Enabled capturing matrix types as shader fields
|
2021-03-04 17:53:56 +01:00 |
|
Sergio Pedri
|
32ae557a25
|
Fixed shader data loading for matrix types
|
2021-03-04 17:45:03 +01:00 |
|
Sergio Pedri
|
7def0e6280
|
Finished refactoring in source generator for new intrinsics
|
2021-03-03 19:46:41 +01:00 |
|
Sergio Pedri
|
808dcbdf79
|
Fixed overload resolution in matrix constructors
|
2021-03-02 18:08:32 +01:00 |
|
Sergio Pedri
|
ec3d8059c3
|
Skipped enum values from gathered constants
|
2021-03-02 17:14:29 +01:00 |
|
Sergio Pedri
|
e2a2fadc0b
|
Enabled HLSL rewriting of matrix types
|
2021-03-02 17:00:47 +01:00 |
|
Sergio Pedri
|
e930c969cb
|
Added diagnostics for non constant matrix swizzling indices
|
2021-03-02 16:14:12 +01:00 |
|
Sergio Pedri
|
b9b5f47dc7
|
Fixed the linked paths for the source generator project
|
2021-02-25 18:56:27 +01:00 |
|
Sergio Pedri
|
a5217eef08
|
Added warnings on source generator failures
|
2021-02-25 18:55:53 +01:00 |
|
Sergio Pedri
|
63e1a23ac5
|
Fixed some build errors after refactoring with T4
|
2021-02-24 19:09:35 +01:00 |
|
Sergio Pedri
|
36f2512cf6
|
Fixed an issue with local functions in external methods
|
2021-02-23 02:32:08 +01:00 |
|