Removed in keyword from shader body
このコミットが含まれているのは:
1 親
8f05db321e
コミット
a4fc88b930
1ファイル変更
+4
-1
@@ -173,8 +173,11 @@ namespace ComputeSharp.Shaders.Translation
|
||||
// Unwrap the nested fields
|
||||
string unwrappedSourceCode = UnwrapSyntaxTree(methodFixedCode);
|
||||
|
||||
// Remove the in keyword from the source
|
||||
string inFixedSourceCode = Regex.Replace(unwrappedSourceCode, @"(?<!\w)in ", string.Empty);
|
||||
|
||||
// Tweak the out declarations
|
||||
string outFixedSourceCode = RefactorInlineOutDeclarations(unwrappedSourceCode, methodInfo.Name);
|
||||
string outFixedSourceCode = RefactorInlineOutDeclarations(inFixedSourceCode, methodInfo.Name);
|
||||
|
||||
// Load the type syntax tree
|
||||
SyntaxTree syntaxTree = CSharpSyntaxTree.ParseText(outFixedSourceCode);
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする