Pass changes WIP: small optimization
This commit is contained in:
@@ -109,7 +109,6 @@ namespace AZ
|
||||
pipeline->m_rootPass->SetRenderPipeline(pipeline);
|
||||
|
||||
// Manually create the pipeline so we can gather the view tags from it's passes
|
||||
pipeline->m_rootPass->Reset();
|
||||
pipeline->m_rootPass->Build();
|
||||
pipeline->m_rootPass->Initialize();
|
||||
pipeline->m_rootPass->OnInitializationFinished();
|
||||
|
||||
@@ -291,7 +291,6 @@ namespace AZ
|
||||
pipeline->OnAddedToScene(this);
|
||||
|
||||
// Force to update the lookup table since adding render pipeline would effect any pipeline states created before pass system tick
|
||||
AZ::RPI::PassSystemInterface::Get()->ProcessQueuedChanges();
|
||||
RebuildPipelineStatesLookup();
|
||||
|
||||
AZ_Assert(!m_id.IsNull(), "RPI::Scene needs to have a valid uuid.");
|
||||
|
||||
Reference in New Issue
Block a user