コミットグラフ
1345 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri c43ed97f72 Add ComputeContext type 2021-12-27 20:44:04 +01:00
Sergio Pedri ca9bfa700d Minor code refactoring in ShaderRunner<T> 2021-12-27 20:44:04 +01:00
Sergio Pedri dc0c1204d7 Add missing IDXGIFactory4.AddRef() to IDXGIFactory6 fallback
This fixes an AccessViolationException when IDXGIFactory6 is not available
2021-12-21 14:06:10 +01:00
Sergio Pedri 8b89c5b694 Update XML docs for [EmbeddedBytecode] 2021-12-19 22:32:27 +01:00
Sergio Pedri aa9ce33c84 Remove unnecessary init accessors in [EmbeddedBytecode] 2021-12-19 20:52:36 +01:00
Sergio Pedri 2b7758ffbf Switch ShaderInfo to be a record 2021-12-19 20:50:52 +01:00
Sergio Pedri 45cc81c2d0 Add trimming support to ComputeSharp and ComputeSharp.Dynamic 2021-12-19 20:33:24 +01:00
Sergio Pedri 4d51d8d05b Remove unnecessary [Pure] attributes 2021-12-19 17:55:06 +01:00
Sergio Pedri d69d7d69ee Remove duplicate <Description> tags in .csproj files 2021-12-19 16:47:34 +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 ea65177941 Add Dynamic package project and missing assembly info 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 d17c9ab004 Fix build errors in ComputeSharp.Dynamic 2021-12-19 16:45:12 +01:00
Sergio Pedri b532a9cdfb Restructure ComputeSharp to support dynamic plugin 2021-12-19 16:45:12 +01:00
Sergio Pedri f9a4477b69 Move DxcCreateInstance to standalone shared project 2021-12-19 16:45:12 +01:00
Sergio Pedri 3bbf7754ba Move dynamic shader types to ComputeSharp.Dynamic 2021-12-19 16:45:12 +01:00
Sergio Pedri 5f8196716b Move native libraries to ComputeSharp.Dynamic 2021-12-19 16:45:11 +01:00
Sergio Pedri 1305502465 Add ComputeSharp.Dynamic project 2021-12-19 16:45:10 +01:00
Sergio Pedri 3e0e6ae426 Add [Upload]Texture2D<T>.Save overload for IBufferWriter<byte> 2021-12-11 13:42:31 +01:00
Sergio Pedri 48cb1b21d7 Add UploadTexture2D<T>.Load APIs 2021-12-08 23:47:16 +01:00
Sergio Pedri 5d5dc541bc Add [Upload]Texture2D<T>.Save overload for Stream 2021-12-08 19:57:28 +01:00
Sergio Pedri 989ac8aeef Move pixel types 2021-12-08 19:57:28 +01:00
Sergio Pedri 770ed134bf Add LoadReadOnlyTexture2D overload for Stream 2021-12-08 19:57:28 +01:00
Sergio Pedri b93a4a2a5b Add CCW for an IStream object wrapping a Stream 2021-12-08 19:57:28 +01:00
Sergio Pedri 10876946df Add Stream extensions for Span<byte> to polyfills 2021-12-08 19:57:28 +01:00
Sergio Pedri 0e8b2fd02b Add [UnmanagedCallersOnly] polyfill type 2021-12-08 18:43:57 +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