Add mapping of static fields to HLSL rewriters
このコミットが含まれているのは:
1 親
4f60d70411
コミット
eefd0de9f0
6ファイル変更
+41
-3
検索条件に一致するファイルはありません
+3
@@ -49,6 +49,7 @@ internal static class HlslDefinitionsSyntaxProcessor
|
||||
/// <param name="semanticModel">The <see cref="SemanticModelProvider"/> instance for the type to process.</param>
|
||||
/// <param name="discoveredTypes">The collection of currently discovered types.</param>
|
||||
/// <param name="constantDefinitions">The collection of discovered constant definitions.</param>
|
||||
/// <param name="staticFieldDefinitions">The collection of discovered static field definitions.</param>
|
||||
/// <param name="diagnostics">The collection of produced <see cref="DiagnosticInfo"/> instances.</param>
|
||||
/// <param name="token">The <see cref="CancellationToken"/> used to cancel the operation, if needed.</param>
|
||||
/// <param name="name">The mapped name for the field.</param>
|
||||
@@ -62,6 +63,7 @@ internal static class HlslDefinitionsSyntaxProcessor
|
||||
SemanticModelProvider semanticModel,
|
||||
ICollection<INamedTypeSymbol> discoveredTypes,
|
||||
IDictionary<IFieldSymbol, string> constantDefinitions,
|
||||
IDictionary<IFieldSymbol, (string, string, string?)> staticFieldDefinitions,
|
||||
ImmutableArrayBuilder<DiagnosticInfo> diagnostics,
|
||||
CancellationToken token,
|
||||
[NotNullWhen(true)] out string? name,
|
||||
@@ -112,6 +114,7 @@ internal static class HlslDefinitionsSyntaxProcessor
|
||||
semanticModel,
|
||||
discoveredTypes,
|
||||
constantDefinitions,
|
||||
staticFieldDefinitions,
|
||||
diagnostics,
|
||||
token);
|
||||
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする