refactor(rendering): formalize common raster pass graph contracts
This commit is contained in:
@@ -630,14 +630,9 @@ public:
|
||||
|
||||
bool RecordRenderGraph(const RenderPassRenderGraphContext& context) override {
|
||||
m_state->eventLog.push_back("record:objectId");
|
||||
return RecordRasterRenderPass(
|
||||
return RecordColorDepthRasterPass(
|
||||
*this,
|
||||
context,
|
||||
{
|
||||
false,
|
||||
true,
|
||||
true
|
||||
});
|
||||
context);
|
||||
}
|
||||
|
||||
bool Execute(const RenderPassContext& context) override {
|
||||
@@ -688,14 +683,9 @@ public:
|
||||
|
||||
bool RecordRenderGraph(const RenderPassRenderGraphContext& context) override {
|
||||
m_state->eventLog.push_back(std::string("record:") + m_label);
|
||||
return RecordRasterRenderPass(
|
||||
return RecordColorDepthRasterPass(
|
||||
*this,
|
||||
context,
|
||||
{
|
||||
false,
|
||||
true,
|
||||
true
|
||||
});
|
||||
context);
|
||||
}
|
||||
|
||||
bool Initialize(const RenderContext&) override {
|
||||
|
||||
Reference in New Issue
Block a user