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:
@@ -8,6 +8,8 @@
|
||||
|
||||
#include <System/TangentSpaceHelper.h>
|
||||
|
||||
#include <AzCore/Debug/Profiler.h>
|
||||
|
||||
namespace NvCloth
|
||||
{
|
||||
namespace
|
||||
@@ -20,7 +22,7 @@ namespace NvCloth
|
||||
const AZStd::vector<SimIndexType>& indices,
|
||||
AZStd::vector<AZ::Vector3>& outNormals)
|
||||
{
|
||||
AZ_PROFILE_FUNCTION(AZ::Debug::ProfileCategory::Cloth);
|
||||
AZ_PROFILE_FUNCTION(Cloth);
|
||||
|
||||
if ((indices.size() % 3) != 0)
|
||||
{
|
||||
@@ -86,7 +88,7 @@ namespace NvCloth
|
||||
AZStd::vector<AZ::Vector3>& outTangents,
|
||||
AZStd::vector<AZ::Vector3>& outBitangents)
|
||||
{
|
||||
AZ_PROFILE_FUNCTION(AZ::Debug::ProfileCategory::Cloth);
|
||||
AZ_PROFILE_FUNCTION(Cloth);
|
||||
|
||||
if ((indices.size() % 3) != 0)
|
||||
{
|
||||
@@ -174,7 +176,7 @@ namespace NvCloth
|
||||
AZStd::vector<AZ::Vector3>& outBitangents,
|
||||
AZStd::vector<AZ::Vector3>& outNormals)
|
||||
{
|
||||
AZ_PROFILE_FUNCTION(AZ::Debug::ProfileCategory::Cloth);
|
||||
AZ_PROFILE_FUNCTION(Cloth);
|
||||
|
||||
if ((indices.size() % 3) != 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user