コミットグラフ
3588 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri 1be2ae1fc9 Remove unused methods 2023-09-30 01:34:04 +02:00
Sergio Pedri 4917d67d7d Move all generated types into private namespace 2023-09-30 01:34:04 +02:00
Sergio Pedri 3439d3ec05 Add ImmutableHashSetBuilder<T> type 2023-09-30 01:34:04 +02:00
Sergio Pedri 648f6e5c33 Add attributes to generated types and members 2023-09-30 01:34:04 +02:00
Sergio Pedri eba861e20e Add and adopt IndentedTextWriterExtensions 2023-09-30 01:34:04 +02:00
Sergio Pedri 5d859266d8 Fully enable D2D1 generator to run on indented text writer 2023-09-30 01:34:04 +02:00
Sergio Pedri 6accd17c9f Switch D2D1 generation methods to use indented writer 2023-09-30 01:34:04 +02:00
Sergio Pedri bc1fc17b21 Add new WriteByteArrayInitializationExpressions API 2023-09-30 01:34:04 +02:00
Sergio Pedri 117bdc2ab3 Add Advance APIs to builder and writer types 2023-09-30 01:34:04 +02:00
Sergio Pedri 8daf482eb8 Add WriteInterpolatedStringHandler for indented writer 2023-09-30 01:34:04 +02:00
Sergio Pedri b4cfad5554 Add IndentedTextWriter APIs to write with no new lines 2023-09-30 01:34:03 +02:00
Sergio Pedri bc77ff3392 Add IndentedTextWriter type 2023-09-30 01:34:03 +02:00
Sergio Pedri 34a7d5b444 Merge pull request #579 from Sergio0694/dev/dynamic-cache
Add DynamicCache<,> type to cache HLSL bytecode results
2023-09-29 15:37:34 +02:00
Sergio Pedri a302521f94 Adopt DynamicCache<,> for HlslBytecodeInfo values 2023-09-29 10:11:24 +02:00
Sergio Pedri e2ce0a6079 Add cancellation support to DynamicCache<,> 2023-09-29 10:11:24 +02:00
Sergio Pedri 90896d5574 Handle Equals calls with arguments in any order 2023-09-29 10:11:23 +02:00
Sergio Pedri 2122efcc25 Implement auto-cleanup for DynamicCache<K, V> 2023-09-29 10:11:23 +02:00
Sergio Pedri 86fa77e77e Add DynamicCache<TKey, TValue> type 2023-09-29 10:11:23 +02:00
Sergio Pedri 3e47704c80 Merge pull request #578 from Sergio0694/dev/unified-d2d1-generator
Unify D2D1 source generator logic and emit a single file
2023-09-29 10:11:01 +02:00
Sergio Pedri 2c855dd1f3 Execute missing source fixup for HLSL bytecode 2023-09-29 02:22:59 +02:00
Sergio Pedri d677900c92 Fix generated Data type being generated multiple times 2023-09-29 02:18:18 +02:00
Sergio Pedri edce7b4357 Merge all generation steps into a single transform/output 2023-09-29 00:35:11 +02:00
Sergio Pedri f832e242f3 Remove post-generation fixup for effect id 2023-09-29 00:08:15 +02:00
Sergio Pedri c3b64a90cd Add HlslBytecodeInfoKey and initial setup 2023-09-28 23:56:33 +02:00
Sergio Pedri 44849d5d3e Share prettify logic for FXC error messages with generator 2023-09-28 23:15:29 +02:00
Sergio Pedri 50f3b74d3c Update HLSL compilation method in the generator 2023-09-28 23:08:20 +02:00
Sergio Pedri d0421e52a7 Add HlslBytecodeInfo model 2023-09-28 22:49:42 +02:00
Sergio Pedri b9352e7cfc Remove InputDescriptionsInfo model 2023-09-28 20:41:26 +02:00
Sergio Pedri 96a81ec009 Remove OutputBufferInfo model 2023-09-28 20:40:02 +02:00
Sergio Pedri 8d129d3d30 Remove ResourceTextureDescriptionsInfo model 2023-09-28 20:37:00 +02:00
Sergio Pedri f94d86e789 Remove InputTypesInfo model 2023-09-28 20:35:37 +02:00
Sergio Pedri 6532a20479 Remove DispatchDataInfo model 2023-09-28 20:34:05 +02:00
Sergio Pedri 8f2afaef99 Remove EffectIdInfo model 2023-09-28 20:29:35 +02:00
Sergio Pedri 4fa5a7c35e Merge pull request #577 from Sergio0694/dev/shader-bytecode-memory
Switch HLSL bytecode, shader profile and compile options to properties
2023-09-28 17:03:32 +02:00
Sergio Pedri 3713631ee3 Add and update assembly level D2D1 unit tests 2023-09-28 16:11:46 +02:00
Sergio Pedri 960e0761c5 Improve trimming in D2D1PixelShader.LoadBytecode<T>() 2023-09-28 16:11:46 +02:00
Sergio Pedri 55de6a88c5 Update library to use new HLSL bytecode properties
oops
2023-09-28 16:11:46 +02:00
Sergio Pedri ed24a3e4dc Improve generated HLSL bytecode MemoryManager<T> 2023-09-28 16:11:46 +02:00
Sergio Pedri fe49828288 Generate HLSL bytecode as ReadOnlyMemory<T> 2023-09-28 16:11:46 +02:00
Sergio Pedri 423c87cab8 Add and generate ID2D1Shader.CompileOptions 2023-09-28 16:11:15 +02:00
Sergio Pedri 70b9aa9588 Add and generate ID2D1Shader.ShaderProfile 2023-09-28 16:11:15 +02:00
Sergio Pedri 000644f1c6 Merge pull request #575 from Sergio0694/dev/always-available-skiplocalsinit
Always assume [SkipLocalsInit] can be used in generator
2023-09-28 15:38:28 +02:00
Sergio Pedri a66e63be83 Centralize and enable PolySharp reference in tests/samples 2023-09-28 14:47:05 +02:00
Sergio Pedri 800925a70a Always assume [SkipLocalsInit] can be used in generator 2023-09-28 14:47:05 +02:00
Sergio Pedri 671265ccc9 Merge pull request #576 from Sergio0694/dev/azure-failure-ignore
Don't fail the CI if pushing to Azure fails
2023-09-28 14:46:50 +02:00
Sergio Pedri 142a88b89c Don't fail the CI if pushing to Azure fails 2023-09-28 13:51:43 +02:00
Sergio Pedri 44e36ebe9f Merge pull request #574 from Sergio0694/dev/constant-buffer-type-layout
Generate constant buffer layout type for marshalling
2023-09-28 11:04:01 +02:00
Sergio Pedri 856475d9f8 Remove two unused methods
Note clear why this wasn't failing the build before
2023-09-28 02:19:30 +02:00
Sergio Pedri 0d5370c941 Generate both dispatch methods in same file 2023-09-28 02:14:33 +02:00
Sergio Pedri 55e415d1b1 Use generated constant buffer type in InitializeFromDispatchData 2023-09-28 02:13:39 +02:00