Merge branch 'development' into Atom/dmcdiar/ATOM-4126
This commit is contained in:
+1
-3
@@ -146,8 +146,7 @@ namespace AZ
|
||||
|
||||
void ReflectionProbeFeatureProcessor::Simulate([[maybe_unused]] const FeatureProcessor::SimulatePacket& packet)
|
||||
{
|
||||
AZ_PROFILE_FUNCTION(AzRender);
|
||||
AZ_ATOM_PROFILE_FUNCTION("ReflectionProbe", "ReflectionProbeFeatureProcessor: Simulate");
|
||||
AZ_PROFILE_SCOPE(AzRender, "ReflectionProbeFeatureProcessor: Simulate");
|
||||
|
||||
// update pipeline states
|
||||
if (m_needUpdatePipelineStates)
|
||||
@@ -186,7 +185,6 @@ namespace AZ
|
||||
if (m_probeSortRequired)
|
||||
{
|
||||
AZ_PROFILE_SCOPE(AzRender, "Sort reflection probes");
|
||||
AZ_ATOM_PROFILE_FUNCTION("ReflectionProbe", "ReflectionProbeFeatureProcessor: Sort reflection probes");
|
||||
|
||||
// sort the probes by descending inner volume size, so the smallest volumes are rendered last
|
||||
auto sortFn = [](AZStd::shared_ptr<ReflectionProbe> const& probe1, AZStd::shared_ptr<ReflectionProbe> const& probe2) -> bool
|
||||
|
||||
Reference in New Issue
Block a user