refactor(rendering): add callback helpers for common graph pass contracts
This commit is contained in:
@@ -57,13 +57,8 @@ bool RecordRenderPipelineMainScenePhasePass(
|
||||
scenePhase)),
|
||||
beginPassCallback,
|
||||
endPassCallback);
|
||||
return RecordCallbackRasterRenderPass(
|
||||
return RecordColorDepthCallbackRasterPass(
|
||||
passContext,
|
||||
{
|
||||
false,
|
||||
true,
|
||||
context.depthTarget.IsValid()
|
||||
},
|
||||
std::move(executePassCallback),
|
||||
std::move(additionalReadTextures));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user