Graph-ify forward feature injection points
This commit is contained in:
@@ -101,28 +101,6 @@ bool BuiltinForwardPipeline::ExecuteForwardSceneSteps(
|
||||
return true;
|
||||
}
|
||||
|
||||
bool BuiltinForwardPipeline::ExecuteForwardSceneSegmentPass(
|
||||
const FrameExecutionContext& executionContext,
|
||||
size_t beginStepIndex,
|
||||
size_t endStepIndex,
|
||||
bool clearAttachments) {
|
||||
const RenderPassContext passContext = BuildRenderPassContext(executionContext);
|
||||
if (!BeginForwardScenePass(passContext, clearAttachments)) {
|
||||
Debug::Logger::Get().Error(
|
||||
Debug::LogCategory::Rendering,
|
||||
"BuiltinForwardPipeline::ExecuteForwardSceneSegmentPass failed: BeginForwardScenePass returned false");
|
||||
return false;
|
||||
}
|
||||
|
||||
const bool executeResult =
|
||||
ExecuteForwardSceneSteps(
|
||||
executionContext,
|
||||
beginStepIndex,
|
||||
endStepIndex);
|
||||
EndForwardScenePass(passContext);
|
||||
return executeResult;
|
||||
}
|
||||
|
||||
} // namespace Pipelines
|
||||
} // namespace Rendering
|
||||
} // namespace XCEngine
|
||||
|
||||
Reference in New Issue
Block a user