mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 07:54:36 +00:00
stale comments
This commit is contained in:
parent
3d69c485be
commit
6d04913b4a
@ -225,13 +225,12 @@ public:
|
||||
for (auto i = 0; i < numResolvedTimestamps; ++i)
|
||||
{
|
||||
MTLTimestamp& timestamp = timestamps[i].timestamp;
|
||||
// TODO: check the value of timestamp: MTLCounterErrorValue, zero, or valid
|
||||
if (timestamp == MTLCounterErrorValue)
|
||||
{
|
||||
TracyMetalPanic("Collect: invalid timestamp: MTLCounterErrorValue (0xFF..FF).");
|
||||
break;
|
||||
}
|
||||
if (timestamp == 0)
|
||||
if (timestamp == 0) // zero is apparently also considered "invalid"...
|
||||
{
|
||||
TracyMetalPanic("Collect: invalid timestamp: zero.");
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user