Code refactoring to ExecuteMethodRewriter type
このコミットが含まれているのは:
1 親
4544a3a581
コミット
31c7058118
2ファイル変更
+108
-64
検索条件に一致するファイルはありません
@@ -377,7 +377,11 @@ namespace ComputeSharp.SourceGenerators
|
||||
// If the method is the shader entry point, do additional processing
|
||||
if (isShaderEntryPoint)
|
||||
{
|
||||
processedMethod = new ExecuteMethodRewriter(shaderSourceRewriter, isComputeShader).Visit(processedMethod)!;
|
||||
processedMethod = isComputeShader switch
|
||||
{
|
||||
true => new ExecuteMethodRewriter.Compute(shaderSourceRewriter).Visit(processedMethod)!,
|
||||
false => new ExecuteMethodRewriter.Pixel(shaderSourceRewriter).Visit(processedMethod)!
|
||||
};
|
||||
|
||||
entryPoint = processedMethod.NormalizeWhitespace().ToFullString();
|
||||
}
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする