Move NeedsD2DRequiresScenePositionAttribute down

このコミットが含まれているのは:
Sergio Pedri committed 2022-08-09 12:41:54 +02:00
1 親 71f148fc1a
コミット 9df9c57a67
3ファイル変更
+8 -5

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

-5
ファイルの表示
@@ -65,11 +65,6 @@ internal abstract partial class HlslSourceRewriter : CSharpSyntaxRewriter
Diagnostics = diagnostics;
}
/// <summary>
/// Gets whether or not the shader needs the <c>[D2DRequiresScenePosition]</c> attribute.
/// </summary>
public bool NeedsD2DRequiresScenePositionAttribute { get; protected set; }
/// <inheritdoc/>
public override SyntaxNode VisitCastExpression(CastExpressionSyntax node)
{
+5
ファイルの表示
@@ -96,6 +96,11 @@ internal sealed class ShaderSourceRewriter : HlslSourceRewriter
/// </summary>
public IReadOnlyDictionary<string, LocalFunctionStatementSyntax> LocalFunctions => this.localFunctions;
/// <summary>
/// Gets whether or not the shader needs the <c>[D2DRequiresScenePosition]</c> attribute.
/// </summary>
public bool NeedsD2DRequiresScenePositionAttribute { get; private set; }
/// <inheritdoc cref="CSharpSyntaxRewriter.Visit(SyntaxNode?)"/>
public MethodDeclarationSyntax? Visit(MethodDeclarationSyntax? node)
{
+3
ファイルの表示
@@ -35,6 +35,9 @@ internal sealed class StaticFieldRewriter : HlslSourceRewriter
{
}
/// <inheritdoc cref="ShaderSourceRewriter.NeedsD2DRequiresScenePositionAttribute"/>
public bool NeedsD2DRequiresScenePositionAttribute { get; private set; }
/// <inheritdoc cref="CSharpSyntaxRewriter.Visit(SyntaxNode?)"/>
public ExpressionSyntax? Visit(VariableDeclaratorSyntax? node)
{