コミットグラフ
54 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri 7506cab338 Simplify creating source generator builder types 2023-10-09 13:31:41 +02:00
Sergio Pedri b24e6b4c0d Minor code refactorings 2022-10-29 16:03:31 +02:00
Sergio Pedri ac89019292 Remove IEqualityComparerExtensions 2022-10-20 03:27:45 +02:00
Sergio Pedri 23e5300dee Switch to EquatableArray<T> in ComputeSharp models 2022-10-20 03:11:30 +02:00
Sergio Pedri 553c7a4014 Add necessary parentheses and use target-typed new() expressions 2022-10-15 09:10:18 -07:00
Sergio Pedri 16c0fc9aab Use explicit types everywhere 2022-10-15 09:10:18 -07:00
Sergio Pedri e94636b80c Run dotnet format whitespace 2022-10-15 09:10:18 -07:00
Sergio Pedri 883d99ca9f Use pooled array builders in all generators 2022-10-07 09:14:17 -07:00
Sergio Pedri bddd2a395c Add generator support for struct instance methods 2022-10-02 16:09:46 +02:00
Sergio Pedri d8aefe3128 Remove symbols from ShaderMethodSourceGenerator pipeline 2022-09-17 20:49:17 +02:00
Sergio Pedri 9eac3c779d Refactor diagnostic models to be properly equatable 2022-09-17 17:58:44 +02:00
Sergio Pedri 87f2e04ca0 Make all models directly equatable 2022-09-17 14:48:33 +02:00
Sergio Pedri a282c19a7a Remove unnecessary warning suppressions 2022-09-16 21:52:28 +02:00
Sergio Pedri d336cc461f Use ForAttributeWithMetadataName in ShaderMethodSourceGenerator 2022-09-16 21:52:28 +02:00
Sergio Pedri fa03a6e612 Add leading trivia to all generated sources
// <auto-generated/>
2022-09-06 08:38:59 +02:00
Sergio Pedri 579e9786e9 Use .g.cs suffix for all generated files 2022-09-06 07:57:05 +02:00
Sergio Pedri 10ba55d156 Enable [ShaderMethod] support for global functions 2022-09-05 01:10:45 +02:00
Sergio Pedri 7e5e695c2a Move ShaderSourceRewriter to shared file 2022-08-09 13:25:22 +02:00
Simona Koníčková 1465b5fd9d Use GetText instead of ToFullString 2022-05-28 03:14:22 +02:00
Sergio Pedri d51c0f5bf0 Add additional diagnostics for invalid shader discovered types 2022-04-24 21:04:33 +02:00
Sergio Pedri 31cfdd9eca Move HLSL extensions to new shared project 2022-04-24 21:04:28 +02:00
Sergio Pedri 6e247639ed Move common models to shared generation project 2022-04-24 21:04:27 +02:00
Sergio Pedri aaf8392785 Move SemanticModelProvider to shared generation project 2022-04-24 21:04:27 +02:00
Sergio Pedri 9a51331910 Move common extensions to shared generation project 2022-04-24 21:04:27 +02:00
Sergio Pedri 6f39eee106 Rename BuildHlslString to BuildHlslSource 2022-04-24 21:04:09 +02:00
Sergio Pedri 76d9fcc2d8 Simplify AddSource calls in source generators 2022-04-01 15:20:24 +02:00
Sergio Pedri 4d51d8d05b Remove unnecessary [Pure] attributes 2021-12-19 17:55:06 +01:00
Sergio Pedri d1fabb6fed Switch [ShaderMethod] generator to incremental 2021-12-08 11:17:07 +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 a48f036518 Delete non-incremental IShaderGenerator files 2021-12-08 11:17:05 +01:00
Sergio Pedri 88d8dda2dd Fixed a build error in ShaderMethodSourceGenerator files 2021-10-30 15:11:44 +02:00
Sergio Pedri 06b12f5a6c Switched source generators to global:: type names 2021-10-30 15:11:44 +02:00
Sergio Pedri d5e3114f7c Refactored code to use file scoped using declarations 2021-10-30 15:11:43 +02:00
Sergio Pedri a16b15eeca Updated NuGet packages 2021-07-15 13:20:04 +02:00
Sergio Pedri 8e0db58a19 Fixed processing of discovered methods for [SourceMethod] 2021-07-14 17:26:05 +02:00
Sergio Pedri ce5e9703cd Enabled initial support for shader metaprogramming 2021-07-12 20:21:56 +02:00
Sergio Pedri f2c1b79b6a Restored code generation for [ShaderMethod] attribute 2021-07-12 17:42:24 +02:00
Sergio Pedri 6fbcf21f74 Switched source generated files to only use LF line endings 2021-07-12 16:43:43 +02:00
Sergio Pedri f8207f11ff Removed previous individual source generators for shaders 2021-07-12 15:58:52 +02:00
Sergio Pedri e432a197a0 Added initial BuildHlslString source generator implementation
Not actually working yet, pending other changes to pipeline creation
2021-07-12 15:58:52 +02:00
Sergio Pedri dae3024cae Simplified generated file names 2021-07-08 19:21:42 +02:00
Sergio Pedri 003a322912 Added forward declarations for shader methods
Fixes https://github.com/Sergio0694/ComputeSharp/issues/117
2021-04-04 18:45:42 +02:00
Sergio Pedri 1a72e599a0 Switched ShaderMethodSourceGenerator to SyntaxReceiver 2021-04-04 16:15:52 +02:00
Sergio Pedri e3627a25f9 Fixed SGs fail with symbols from different syntax trees 2021-03-18 13:15:00 +01:00
Sergio Pedri a5217eef08 Added warnings on source generator failures 2021-02-25 18:55:53 +01:00
Sergio Pedri 0200e867bb Added error for usage of dispatch types out of scope 2021-02-18 03:20:12 +01:00
Sergio Pedri 075c7cdf9a Implemented constant support for methods, code refactoring 2021-01-11 14:01:33 +01:00
Sergio Pedri 27438f7a69 Implemented support for local shader constants 2021-01-10 22:33:13 +01:00
Sergio Pedri 0f129b2f8b Moved internal types to ComputeSharp.__Internals 2020-12-29 23:54:05 +01:00