Deprecate profiler categories based on global enum
(to be supplanted by registered budgets in the future) Signed-off-by: Jeremy Ong <jcong@amazon.com>
This commit is contained in:
+2
-2
@@ -154,7 +154,7 @@ namespace AZ
|
||||
|
||||
void ReflectionProbeFeatureProcessor::Simulate([[maybe_unused]] const FeatureProcessor::SimulatePacket& packet)
|
||||
{
|
||||
AZ_PROFILE_FUNCTION(Debug::ProfileCategory::AzRender);
|
||||
AZ_PROFILE_FUNCTION(AzRender);
|
||||
AZ_ATOM_PROFILE_FUNCTION("ReflectionProbe", "ReflectionProbeFeatureProcessor: Simulate");
|
||||
|
||||
// update pipeline states
|
||||
@@ -193,7 +193,7 @@ namespace AZ
|
||||
// if the volumes changed we need to re-sort the probe list
|
||||
if (m_probeSortRequired)
|
||||
{
|
||||
AZ_PROFILE_SCOPE(Debug::ProfileCategory::AzRender, "Sort reflection probes");
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user