コミットグラフ
327 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri 689e0e7202 Fix [GroupShared] HLSL generation, add unit tests 2021-12-08 11:17:07 +01:00
Sergio Pedri e564864b6c Add check for [EmbeddedBytecode] not having 3 arguments 2021-12-08 11:17:07 +01:00
Sergio Pedri 2242f671ee Match attributes by qualified name and not symbol 2021-12-08 11:17:06 +01:00
Sergio Pedri 2e160c5caa Enable diagnostics from bytecode transformation 2021-12-08 11:17:06 +01:00
Sergio Pedri 2209c9eb41 Set generator native libs to extract to same folder 2021-12-08 11:17:06 +01:00
Sergio Pedri ce63946d13 Minor code style tweaks 2021-12-08 11:17:06 +01:00
Sergio Pedri 5c5c3439cb Remove non-incremental source rewriters 2021-12-08 11:17:06 +01:00
Sergio Pedri 0004353052 Code refactoring in IShaderGenerator 2021-12-08 11:17:06 +01:00
Sergio Pedri 1262bf6e0e Rename incremental generator files over non-incremental ones 2021-12-08 11:17:06 +01:00
Sergio Pedri a48f036518 Delete non-incremental IShaderGenerator files 2021-12-08 11:17:05 +01:00
Sergio Pedri 07c0801911 Rename incremental generator files 2021-12-08 11:17:05 +01:00
Sergio Pedri b25f6151f9 Switch TryGetBytecode() to incremental 2021-12-08 11:17:05 +01:00
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