Fixed a bug with some out parameters in intrinsic functions

このコミットが含まれているのは:
Sergio Pedri committed 2019-08-25 00:06:49 +02:00
1 親 6cf5c5bb94
コミット bbc8762555
1ファイル変更
+2 -1
+2 -1
ファイルの表示
@@ -296,7 +296,8 @@ namespace ComputeSharp.Shaders.Translation
}
// Remove the out keyword from the source
source = Regex.Replace(source, @"(?<!\w)out ", string.Empty);
source = Regex.Replace(source, @"(?<!\w)out [\w.]+ (?=[\w_]+)", string.Empty); // Inline out declarations
source = Regex.Replace(source, @"(?<!\w)out ", string.Empty); // Leftovers out keywords
return source;
}