Port cancellation token checks to D2D1 generator

このコミットが含まれているのは:
Sergio Pedri committed 2023-11-30 00:17:59 +01:00
1 親 1c0281ae45
コミット c5a79fd1e1
2ファイル変更
+60 -11

検索条件に一致するファイルはありません

+2 -2
ファイルの表示
@@ -119,11 +119,11 @@ public sealed partial class D2DPixelShaderDescriptorGenerator : IIncrementalGene
string hlslSource = HlslSource.GetHlslSource(
diagnostics,
context.SemanticModel.Compilation,
(StructDeclarationSyntax)context.TargetNode,
typeSymbol,
inputCount,
inputSimpleIndices,
inputComplexIndices);
inputComplexIndices,
token);
token.ThrowIfCancellationRequested();