Changed entry point name to Execute

このコミットが含まれているのは:
Sergio Pedri committed 2020-11-30 01:04:53 +01:00
1 親 ea1c2dd37b
コミット be4743cd96
2ファイル変更
+2 -4

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

+1 -1
ファイルの表示
@@ -75,7 +75,7 @@ namespace ComputeSharp.Shaders.Translation
// Try to compile the new compute shader
fixed (char* shaderName = "")
fixed (char* entryPoint = "CSMain")
fixed (char* entryPoint = nameof(IComputeShader.Execute))
fixed (char* shaderProfile = "cs_6_1")
fixed (char* optimization = "-O3")
{
+1 -3
ファイルの表示
@@ -76,9 +76,7 @@ namespace ComputeSharp.SourceGenerators.SyntaxRewriters
IdentifierName("z")),
IdentifierName("__z")));
return updatedNode
.WithIdentifier(Identifier("CSMain"))
.WithBody(Block(IfStatement(rangeCheckExpression, updatedNode.Body!)));
return updatedNode.WithBody(Block(IfStatement(rangeCheckExpression, updatedNode.Body!)));
}
}
}