コミットグラフ
405 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri f2ed8a2d3b More minor code style tweaks (remove extra blank lines, etc.) 2022-10-15 09:10:18 -07:00
Sergio Pedri 8be9203a1c Remove unnecessary parentheses 2022-10-15 09:10:18 -07:00
Sergio Pedri d910922ef5 Use blocks for all if statements 2022-10-15 09:10:18 -07:00
Sergio Pedri ce1097e7d9 Add parentheses for clarity where needed (IDE0048) 2022-10-15 09:10:18 -07:00
Sergio Pedri 553c7a4014 Add necessary parentheses and use target-typed new() expressions 2022-10-15 09:10:18 -07:00
Sergio Pedri b2afb88f30 Switch methods to block bodies 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 9343ac7f7b Add explicit discards to all value returning expressions 2022-10-15 09:10:18 -07:00
Sergio Pedri 746f132182 Adjust field visibility, fix naming violations in non test projects 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 dab94bdae7 Only emit raw multiline string literals when possible 2022-10-08 15:05:52 +02:00
Sergio Pedri 883d99ca9f Use pooled array builders in all generators 2022-10-07 09:14:17 -07:00
Sergio Pedri a15fce2a54 Use ImmutableArrayBuilder<char> for bytecode text 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 219db68545 Fix ThreadIds.Normalized logic to be in [0, 1] range 2022-09-27 00:01:32 +02:00
Sergio Pedri c908cc57e5 Add InvalidComputeContextCopyAnalyzer 2022-09-24 11:21:40 -07:00
Sergio Pedri d4d813ca94 Rename HResultExtensions to HRESULTExtensions 2022-09-20 15:03:21 +02:00
Sergio Pedri 5ef4304489 Bump Roslyn dependencies to 4.4.0-2.final
Also remove explicit NuGet feed
2022-09-19 20:06:38 +02:00
Sergio Pedri 9d8aa1d57b Fix message for CMPS0044 error 2022-09-18 14:39:00 +02:00
Sergio Pedri 527a134082 Fix diagnostics propagation in ComputeSharp generator 2022-09-17 23:01:50 +02:00
Sergio Pedri d8aefe3128 Remove symbols from ShaderMethodSourceGenerator pipeline 2022-09-17 20:49:17 +02:00
Sergio Pedri a205efe6fa Remove symbols from IShaderGenerator pipeline 2022-09-17 20:35:38 +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 080011fe8f Share raw multiline string literal formatting logic 2022-09-17 12:58:01 +02:00
Sergio Pedri 5cd53f3077 Remove conditional paths for raw multiline strings 2022-09-16 23:03:35 +02:00
Sergio Pedri a2872e3626 Bump Roslyn to 4.4 2022-09-16 22:08:25 +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 4a26e8ec2a Bump generators to Roslyn 4.3.0 2022-09-16 21:52:28 +02:00
Sergio Pedri f41ce77acd Move [UnscopedRef] to be shared with all projects 2022-09-16 10:38:38 -07: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 8c7c659aa3 Add texture 1D mappings to source generator 2022-08-31 02:31:00 +02:00
Sergio Pedri 74a7c1e3e5 Cast to Bool when loading bool-s in dispatch data loaders 2022-08-27 23:04:13 +02:00
Sergio Pedri 1e3611a060 Prevent bool fields in custom struct types in shaders
These are not allowed due to alignment reasons
2022-08-27 16:50:22 +02:00
Sergio Pedri 8bd2f80eae Add cast intrinsics to source generators 2022-08-27 01:49:53 +02:00
Sergio Pedri 2de22e1cb3 Remove unnecessary using definitions 2022-08-20 16:15:40 +02:00
Sergio Pedri fb1c24a623 Fix Interlocked HLSL intrinsics 2022-08-18 12:35:45 +02:00
Sergio Pedri ae23529485 Remove some HLSL rewriting duplicated code 2022-08-09 17:37:55 +02:00
Sergio Pedri 945f6514b8 Update HLSL rewriters to use new Sample APIs 2022-08-09 17:37:55 +02:00
Sergio Pedri 0dd0bd587a Move known samplers to HlslKnownMethods type 2022-08-09 17:37:55 +02:00
Sergio Pedri 4edc0dc3c3 Use new extension to check [SkipLocalsInit] accessibility 2022-08-09 16:11:25 +02:00
Sergio Pedri 3e6aedaed1 Move StaticFieldRewriter to shared file 2022-08-09 13:37:20 +02:00
Sergio Pedri 7e5e695c2a Move ShaderSourceRewriter to shared file 2022-08-09 13:25:22 +02:00
Sergio Pedri baffb8fccb Move HlslSourceRewriter to shared file 2022-08-09 12:54:14 +02:00
Sergio Pedri 71f148fc1a Move HlslSourceRewriter.Diagnostics to shared file 2022-08-09 12:38:27 +02:00
Sergio Pedri b28d3f2500 Add D2D1 resource texture types to HlslKnownTypes 2022-08-08 15:45:44 +02:00
Sergio Pedri eda4bd43ff Share known properties with D2D1 generator, add D2D1 mappings 2022-08-08 15:45:44 +02:00