Fix indentation of HLSL source expression

このコミットが含まれているのは:
Sergio Pedri committed 2023-09-28 00:37:45 +02:00
1 親 e69f083b29
コミット 0780345ef9
3ファイル変更
+9 -9

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

@@ -119,7 +119,8 @@ partial class IShaderGenerator
sizeHint += textBuilder.Length;
SyntaxToken hlslSourceLiteralExpression = SyntaxTokenHelper.CreateRawMultilineStringLiteral(hlslSource, hierarchyDepth);
// The indentation level is the current depth + 2 (the method, and the return expression)
SyntaxToken hlslSourceLiteralExpression = SyntaxTokenHelper.CreateRawMultilineStringLiteral(hlslSource, hierarchyDepth + 2);
statements.Add(
ExpressionStatement(