コミットグラフ
294 コミット
作成者 SHA1 メッセージ 日付
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
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