Changed entry point name to Execute
このコミットが含まれているのは:
1 親
ea1c2dd37b
コミット
be4743cd96
2ファイル変更
+2
-4
検索条件に一致するファイルはありません
@@ -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")
|
||||
{
|
||||
|
||||
@@ -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!)));
|
||||
}
|
||||
}
|
||||
}
|
||||
新しいイシューから参照
ユーザーをブロックする