Pass changes: fixed reflection probe bake
This commit is contained in:
@@ -107,11 +107,7 @@ namespace AZ
|
||||
pipeline->m_originalRenderSettings = desc.m_renderSettings;
|
||||
pipeline->m_activeRenderSettings = desc.m_renderSettings;
|
||||
pipeline->m_rootPass->SetRenderPipeline(pipeline);
|
||||
|
||||
// Manually build the pipeline so we can gather the view tags from it's passes
|
||||
pipeline->m_rootPass->ManualPipelineBuildAndInitialize();
|
||||
|
||||
pipeline->BuildPipelineViews();
|
||||
}
|
||||
|
||||
RenderPipeline::~RenderPipeline()
|
||||
|
||||
@@ -289,6 +289,8 @@ namespace AZ
|
||||
}
|
||||
|
||||
pipeline->OnAddedToScene(this);
|
||||
PassSystemInterface::Get()->ProcessQueuedChanges();
|
||||
pipeline->BuildPipelineViews();
|
||||
|
||||
// Force to update the lookup table since adding render pipeline would effect any pipeline states created before pass system tick
|
||||
RebuildPipelineStatesLookup();
|
||||
|
||||
Reference in New Issue
Block a user