Integrating up through commit 90f050496

This commit is contained in:
alexpete
2021-04-07 14:03:29 -07:00
parent 8f2ed080a9
commit c2cbd430fe
2694 changed files with 285622 additions and 176874 deletions
@@ -37,15 +37,10 @@ namespace AZ
{
FullscreenTrianglePass::Init();
AZ_Assert(m_shaderResourceGroup, "DepthOfFieldMaskPass %s has a null shader resource group when calling Init.", GetPathName().GetCStr());
if (m_shaderResourceGroup)
{
m_blendFactorIndex = m_shaderResourceGroup->FindShaderInputConstantIndex(Name("m_blendFactor"));
m_inputResolutionInverseIndex = m_shaderResourceGroup->FindShaderInputConstantIndex(Name("m_inputResolutionInverse"));
m_radiusMinIndex = m_shaderResourceGroup->FindShaderInputConstantIndex(Name("m_radiusMin"));
m_radiusMaxIndex = m_shaderResourceGroup->FindShaderInputConstantIndex(Name("m_radiusMax"));
}
m_blendFactorIndex.Reset();
m_inputResolutionInverseIndex.Reset();
m_radiusMinIndex.Reset();
m_radiusMaxIndex.Reset();
}
void DepthOfFieldMaskPass::FrameBeginInternal(FramePrepareParams params)