Remove unused function

This commit is contained in:
mriegger
2021-04-22 17:31:48 -07:00
parent 61fd73b467
commit 577e16b423
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);