Move NeedsD2DRequiresScenePositionAttribute down
このコミットが含まれているのは:
1 親
71f148fc1a
コミット
9df9c57a67
3ファイル変更
+8
-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)
|
||||
{
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする