Integrating github/staging through commit ab87ed9
This commit is contained in:
+2
-3
@@ -42,7 +42,6 @@ namespace AZ
|
||||
|
||||
void DiffuseProbeGridFeatureProcessor::Activate()
|
||||
{
|
||||
AZ::RPI::Scene* scene = GetParentScene();
|
||||
RHI::RHISystemInterface* rhiSystem = RHI::RHISystemInterface::Get();
|
||||
|
||||
m_diffuseProbeGrids.reserve(InitialProbeGridAllocationSize);
|
||||
@@ -53,7 +52,7 @@ namespace AZ
|
||||
|
||||
m_bufferPool = RHI::Factory::Get().CreateBufferPool();
|
||||
m_bufferPool->SetName(Name("DiffuseProbeGridBoxBufferPool"));
|
||||
RHI::ResultCode resultCode = m_bufferPool->Init(*rhiSystem->GetDevice(), desc);
|
||||
[[maybe_unused]] RHI::ResultCode resultCode = m_bufferPool->Init(*rhiSystem->GetDevice(), desc);
|
||||
AZ_Error("DiffuseProbeGridFeatureProcessor", resultCode == RHI::ResultCode::Success, "Failed to initialize buffer pool");
|
||||
|
||||
// create box mesh vertices and indices
|
||||
@@ -65,7 +64,7 @@ namespace AZ
|
||||
imagePoolDesc.m_bindFlags = RHI::ImageBindFlags::ShaderReadWrite;
|
||||
|
||||
m_probeGridRenderData.m_imagePool = RHI::Factory::Get().CreateImagePool();
|
||||
RHI::ResultCode result = m_probeGridRenderData.m_imagePool->Init(*rhiSystem->GetDevice(), imagePoolDesc);
|
||||
[[maybe_unused]] RHI::ResultCode result = m_probeGridRenderData.m_imagePool->Init(*rhiSystem->GetDevice(), imagePoolDesc);
|
||||
AZ_Assert(result == RHI::ResultCode::Success, "Failed to initialize output image pool");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user