Sergio Pedri
|
e49e16bd1c
|
Minor code style tweaks
|
2021-12-08 11:17:05 +01:00 |
|
Sergio Pedri
|
dcb70f740d
|
Remove Collect() calls, restructure incremental pipeline
|
2021-12-08 11:17:05 +01:00 |
|
Sergio Pedri
|
c6172032bd
|
Switch LoadDispatchMetadata() to incremental
|
2021-12-08 11:17:05 +01:00 |
|
Sergio Pedri
|
f2a556e63b
|
Fix HLSL source generation when capturing delegates
|
2021-12-08 11:17:05 +01:00 |
|
Sergio Pedri
|
be614c5af5
|
Enable caching for DispatchId info
|
2021-12-08 11:17:05 +01:00 |
|
Sergio Pedri
|
ed75dd4b5a
|
Implement comparers for all model types
|
2021-12-08 11:17:04 +01:00 |
|
Sergio Pedri
|
5210c1ecd9
|
Switch BuildHlslString() to incremental
|
2021-12-08 11:17:04 +01:00 |
|
Sergio Pedri
|
ad45fc1fc9
|
Add IncrementalValuesProvider<T>.WithComparers(...) extension
|
2021-12-08 11:17:04 +01:00 |
|
Sergio Pedri
|
ea9f568ee4
|
Add HashCode.AddRange(...) extension
|
2021-12-08 11:17:04 +01:00 |
|
Sergio Pedri
|
1186dee50f
|
Enable diagnostics generation for BuildHlslString()
|
2021-12-08 11:17:04 +01:00 |
|
Sergio Pedri
|
8c0637e363
|
Enable diagnostics generation for LoadDispatchData()
|
2021-12-08 11:17:04 +01:00 |
|
Sergio Pedri
|
b912b4f076
|
Implement GetNonDynamicHlslSourceInfo() method
This includes the data gathering step for the HLSL rewrite pipeline
|
2021-12-08 11:17:04 +01:00 |
|
Sergio Pedri
|
1b465e7b9d
|
Switch LoadDispatchData() to incremental
|
2021-12-08 11:17:04 +01:00 |
|
Sergio Pedri
|
4b1180225d
|
Fix IPixelShader<TPixel> lookup, switch GetDispatchId() to incremental
|
2021-12-08 11:17:04 +01:00 |
|
Sergio Pedri
|
fd820a67c7
|
Add incremental generation for GetDispatchId
|
2021-12-08 11:17:03 +01:00 |
|
Sergio Pedri
|
86488b4563
|
Update HashCode polyfill in generator project
|
2021-12-08 11:17:03 +01:00 |
|
Sergio Pedri
|
6a7e256979
|
Add diagnostics to TryGetBytecode generation
|
2021-12-06 17:43:44 +01:00 |
|
Sergio Pedri
|
9d0b4326bd
|
Remove unnecessary CreateTryGetBytecodeMethod parameter
|
2021-12-06 17:43:44 +01:00 |
|
Sergio Pedri
|
b0a7e54a45
|
Improve performance of TryGetBytecode generator
|
2021-12-06 17:43:44 +01:00 |
|
Sergio Pedri
|
879330d9aa
|
Add build configuration with no runtime compilation
|
2021-12-06 17:43:44 +01:00 |
|
Sergio Pedri
|
0f6ae572cd
|
Implement initial version of TryGetBytecode generator
|
2021-12-06 17:43:44 +01:00 |
|
Sergio Pedri
|
7c46fad051
|
Add code to extract and load native libraries
|
2021-12-06 17:43:44 +01:00 |
|
Sergio Pedri
|
92b2934229
|
Add [EmbeddedBytecode] attribute
|
2021-12-06 17:43:43 +01:00 |
|
Sergio Pedri
|
cd7d4c8362
|
Add shared TerraFX and polyfill references to source generator
Also include dxcompiler and dxil as embedded resources
|
2021-12-06 17:43:43 +01:00 |
|
Sergio Pedri
|
b5a0bbf453
|
Update NuGet packages
|
2021-11-21 02:39:16 +01:00 |
|
Sergio Pedri
|
d8a4a7412d
|
Restore <TreatWarningsAsErrors> and fix warnings
|
2021-11-20 16:48:18 +01:00 |
|
Sergio Pedri
|
e69a0b5835
|
Disabled [SkipLocalsInit] generation on unsupported targets
|
2021-11-16 17:34:01 +01:00 |
|
Sergio Pedri
|
06ce524740
|
Add .NET Standard 2.0 target to ComputeSharp
Also switch TerraFX.Interop.Windows to shared project
|
2021-11-16 17:34:01 +01:00 |
|
Sergio Pedri
|
ee0d3a7b68
|
Removed multiline variable declarations
|
2021-11-06 23:05:49 +01:00 |
|
Sergio Pedri
|
3b3e348c4f
|
Fixed source generator project packing
|
2021-10-30 17:32:46 +02:00 |
|
Sergio Pedri
|
88d8dda2dd
|
Fixed a build error in ShaderMethodSourceGenerator files
|
2021-10-30 15:11:44 +02:00 |
|
Sergio Pedri
|
de187f842d
|
Stripped [HlslIntrinsicName] from ComputeSharp builds
|
2021-10-30 15:11:44 +02:00 |
|
Sergio Pedri
|
06b12f5a6c
|
Switched source generators to global:: type names
|
2021-10-30 15:11:44 +02:00 |
|
Sergio Pedri
|
d5e3114f7c
|
Refactored code to use file scoped using declarations
|
2021-10-30 15:11:43 +02:00 |
|
Sergio Pedri
|
5cb9f08f1f
|
Enabled generated global usings for HLSL primitives
|
2021-10-30 15:11:43 +02:00 |
|
Adam Dernis
|
accb41ab9e
|
Added missing mappable methods to HlslKnownMethods
|
2021-10-22 12:30:53 +02:00 |
|
Sergio Pedri
|
5c32501fd5
|
Added [SkipLocalsInit] to generated methods, if possible
|
2021-07-22 23:34:57 +02:00 |
|
Sergio Pedri
|
bbb42e5367
|
Switched generated methods to explicit interface implementations
|
2021-07-21 14:09:22 +02:00 |
|
Sergio Pedri
|
56b326a6e4
|
Refactored internal IShader<TSelf> interface
|
2021-07-21 14:09:22 +02:00 |
|
Sergio Pedri
|
a16b15eeca
|
Updated NuGet packages
|
2021-07-15 13:20:04 +02:00 |
|
Sergio Pedri
|
423b2ffd63
|
Fixed static fields in discovered types
|
2021-07-15 12:42:38 +02:00 |
|
Sergio Pedri
|
09c9c48fd7
|
Fixed shader compilation error from external namespaces
|
2021-07-14 20:30:51 +02:00 |
|
Sergio Pedri
|
06111edacb
|
Enabled methods import for captured delegates
|
2021-07-14 19:58:13 +02:00 |
|
Sergio Pedri
|
8e0db58a19
|
Fixed processing of discovered methods for [SourceMethod]
|
2021-07-14 17:26:05 +02:00 |
|
Sergio Pedri
|
4db77f72b0
|
Enabled types import for captured delegates
|
2021-07-14 16:09:24 +02:00 |
|
Sergio Pedri
|
da786aaf0d
|
Enabled support for var declarations in shaders
|
2021-07-14 15:32:09 +02:00 |
|
Sergio Pedri
|
4c50309bdd
|
Enabled constants import for captured delegates
|
2021-07-13 20:19:56 +02:00 |
|
Sergio Pedri
|
fdc06c2b45
|
Added setup to support imported delegate members mapping
|
2021-07-13 14:07:51 +02:00 |
|
Sergio Pedri
|
c40bdf0a26
|
Remove unnecessary ArrayPoolStringBuilder public methods
|
2021-07-13 13:35:16 +02:00 |
|
Sergio Pedri
|
b0db306f57
|
Aggregated HLSL source building statements
|
2021-07-12 22:03:32 +02:00 |
|