コミットグラフ
3601 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri e3407bfe7d Merge pull request #582 from Sergio0694/dev/d2d1-shader-descriptor
Refactor interface and introduce new ID2D1PixelShaderDescriptor<T>
2023-09-30 19:28:34 +02:00
Sergio Pedri c9cb83724a Rename and update D2D1 generator files 2023-09-30 18:38:36 +02:00
Sergio Pedri 0fb876fde0 Update Win2D method signatures in all projects 2023-09-30 18:38:36 +02:00
Sergio Pedri 76df248427 Update constant buffer marshalling methods in generator 2023-09-30 18:38:36 +02:00
Sergio Pedri 1a94d017bb Update generator to implement ID2D1PixelShaderDescriptor<T> 2023-09-30 18:38:36 +02:00
Sergio Pedri 85fd44d863 Rename internal interfaces and update all signatures 2023-09-30 18:38:36 +02:00
Sergio Pedri 2dcde8748e Merge pull request #581 from Sergio0694/dev/additional-numeric-properties
Add new numeric properties to ID2D1Shader
2023-09-30 16:15:16 +02:00
Sergio Pedri a873fafdd4 Add D2D1PixelShader.GetResourceTextureCount<T>() and tests 2023-09-30 14:12:49 +02:00
Sergio Pedri ba732ac96a Add ID2D1Shader.ResourceTextureManagerCount property 2023-09-30 14:12:49 +02:00
Sergio Pedri 9d3188cec5 Remove unnecessary D2D1BufferSizeDispatchDataLoader type 2023-09-30 14:12:49 +02:00
Sergio Pedri f9a73d9b09 Add ID2D1Shader.ConstantBufferSize property 2023-09-30 14:12:49 +02:00
Sergio Pedri 8de575ce51 Merge pull request #580 from Sergio0694/dev/indented-text-writer
Switch D2D1 generator to use indented text writer
2023-09-30 14:10:58 +02:00
Sergio Pedri fe385da3a0 Fix two issues with generated dispatching logic 2023-09-30 03:20:00 +02:00
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