Removed in keyword from shader body

このコミットが含まれているのは:
Sergio Pedri committed 2019-08-24 23:57:17 +02:00
1 親 8f05db321e
コミット a4fc88b930
1ファイル変更
+4 -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);