Pass changes: fixed reflection probe bake

main
antonmic 5 years ago
parent 3ea74e017f
commit 2a40010089

@ -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();

Loading…
Cancel
Save