Minor code refactoring

このコミットが含まれているのは:
Sergio Pedri committed 2020-12-01 14:12:13 +01:00
1 親 c231e8506a
コミット f4bd3f87b9
3ファイル変更
+25 -8

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

+1 -1
ファイルの表示
@@ -194,7 +194,7 @@ namespace ComputeSharp.Shaders.Translation
var methodSource = ShaderMethodSourceAttribute.GetForDelegate(func);
this.declaredTypes.AddRange(methodSource.Types);
this.methodsInfo.Add(methodSource.InvokeMethod.Replace("__<NAME>__", hlslName));
this.methodsInfo.Add(methodSource.GetMappedInvokeMethod(hlslName));
this.methodsInfo.AddRange(methodSource.Methods);
}
else ThrowHelper.ThrowArgumentException("Invalid captured variable");