コミットグラフ
305 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri e00d2ec748 Fix build error for CMPS0001 analyzer rule 2022-01-31 16:49:13 +01:00
Sam Harwell 11358ce5c0 Avoid target-typed new for release tracking analyzer
See https://github.com/dotnet/roslyn-analyzers/issues/5828
2022-01-30 19:03:08 -08:00
Sergio Pedri 704e535747 Improve IShader source generator cancellation support 2022-01-30 13:58:37 +01:00
Sergio Pedri 284b632c45 Add global namespace support to source generators 2022-01-30 13:04:01 +01:00
Sergio Pedri f01fc0ebfb Update source generators for non-normalized texture interfaces 2022-01-22 16:47:56 +01:00
Sergio Pedri 9b05770168 Rename pixel interfaces to IRead[Only|Write]NormalizedTextureMD<TPixel> 2022-01-22 15:01:06 +01:00
Sergio Pedri 6779bb5284 Fix ReadOnlyTexture3D<T, TPixel> sampling rewriting 2022-01-17 19:52:43 +01:00
Sergio Pedri 8241e56b55 Fix HLSL generation for early returns in pixel shaders 2022-01-15 17:42:47 +01:00
Sergio Pedri 3e7a3c5b7c Enable source generator support for DispatchAxis 2022-01-05 13:32:21 +01:00
Sergio Pedri 74793ab9f0 Add DispatchAxis type and new [EmbeddedBytecode] attribute 2022-01-05 13:11:29 +01:00
Sergio Pedri 4d51d8d05b Remove unnecessary [Pure] attributes 2021-12-19 17:55:06 +01:00
Sergio Pedri 0508887482 Skip generating full GetDispatchId() when dynamic support is missing 2021-12-19 16:47:34 +01:00
Sergio Pedri 71fad3a8fd Add diagnostic when [EmbeddedBytecode] is missing 2021-12-19 16:47:34 +01:00
Sergio Pedri b9313ca6d8 Skip generating BuildHlslString body when dynamic support is missing 2021-12-19 16:47:34 +01:00
Sergio Pedri 547eff9fd1 Minor code style tweaks 2021-12-19 16:47:34 +01:00
Sergio Pedri 91f2b09038 Fix incorrect HierarchyInfo.Comparer.GetHashCode 2021-12-19 16:45:13 +01:00
Sergio Pedri 0675dd667c Fix codegen for dynamic shaders 2021-12-19 16:45:13 +01:00
Sergio Pedri 16ef5f82e9 Minor fixes to source generators 2021-12-19 16:45:12 +01:00
Sergio Pedri 23b500fe81 Improve source generator support for dynamic shaders 2021-12-19 16:45:12 +01:00
Sergio Pedri 80044d69fd Update source generators to support dynamic plugin 2021-12-19 16:45:12 +01:00
Sergio Pedri 405f92d481 Fix build issues in source generator 2021-12-19 16:45:12 +01:00
Sergio Pedri c1dab2cebf Minor code style tweaks 2021-12-08 11:57:09 +01:00
Sergio Pedri 44b7620d4a Fix [SkipLocalsInit] lookup in source generator 2021-12-08 11:17:07 +01:00
Sergio Pedri 771f8515c7 Remove leftover code and diagnostics 2021-12-08 11:17:07 +01:00
Sergio Pedri d1fabb6fed Switch [ShaderMethod] generator to incremental 2021-12-08 11:17:07 +01:00
Sergio Pedri 6269267bf0 Switch global usings generator to incremental 2021-12-08 11:17:07 +01:00
Sergio Pedri 0aba871d52 Switch [AutoConstructor] generator to incremental 2021-12-08 11:17:07 +01:00
Sergio Pedri 1216d511a7 Minor code tweaks to IShaderGenerator 2021-12-08 11:17:07 +01:00
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