Fix indentation of HLSL source expression
このコミットが含まれているのは:
1 親
e69f083b29
コミット
0780345ef9
3ファイル変更
+9
-9
検索条件に一致するファイルはありません
+2
-1
@@ -23,7 +23,8 @@ partial class ID2D1ShaderGenerator
|
||||
/// <returns>The resulting <see cref="PropertyDeclarationSyntax"/> instance for the <c>HlslSource</c> property.</returns>
|
||||
public static PropertyDeclarationSyntax GetSyntax(string hlslSource, int hierarchyDepth)
|
||||
{
|
||||
SyntaxToken hlslSourceLiteralExpression = SyntaxTokenHelper.CreateRawMultilineStringLiteral(hlslSource, hierarchyDepth);
|
||||
// The indentation level is the current depth + 1 (for the property)
|
||||
SyntaxToken hlslSourceLiteralExpression = SyntaxTokenHelper.CreateRawMultilineStringLiteral(hlslSource, hierarchyDepth + 1);
|
||||
|
||||
// This code produces a property declaration as follows:
|
||||
//
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする