Merge pull request #269 from aws-lumberyard-dev/Atom/mriegger/LCR
Removing unneeded function
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user