Merge pull request #269 from aws-lumberyard-dev/Atom/mriegger/LCR

Removing unneeded function
This commit is contained in:
mrieggeramzn
2021-04-23 11:05:03 -07:00
committed by GitHub
2 changed files with 0 additions and 9 deletions
@@ -139,7 +139,6 @@ namespace AZ
GetLightDataFromFeatureProcessor();
SetLightBuffersToSRG();
SetLightListToSRG();
SetLightsCountToSRG();
SetConstantdataToSRG();
@@ -187,13 +186,6 @@ namespace AZ
}
}
void LightCullingPass::SetLightListToSRG()
{
auto inputIndex = m_shaderResourceGroup->FindShaderInputBufferIndex(AZ::Name("m_lightList"));
[[maybe_unused]] bool succeeded = m_shaderResourceGroup->SetBuffer(inputIndex, m_lightList);
AZ_Assert(succeeded, "SetImage failed for light list");
}
void LightCullingPass::SetLightsCountToSRG()
{
for (auto& elem : m_lightdata)
@@ -59,7 +59,6 @@ namespace AZ
void SetLightBuffersToSRG();
void SetLightsCountToSRG();
void SetConstantdataToSRG();
void SetLightListToSRG();
AZ::RHI::Size GetDepthBufferResolution();
float CreateTraceValues(const AZ::Vector2& unprojection);