From 65cb45ea971cb52cb9f08b6956e024b4ebd72462 Mon Sep 17 00:00:00 2001 From: Marcos Slomp Date: Fri, 27 Mar 2026 14:11:13 -0700 Subject: [PATCH] re-enable range assert --- server/TracyEvent.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyEvent.hpp b/server/TracyEvent.hpp index 97e0675d..6c8bb3d0 100644 --- a/server/TracyEvent.hpp +++ b/server/TracyEvent.hpp @@ -388,10 +388,10 @@ struct GpuEvent } tracy_force_inline int64_t GpuEnd() const { return int64_t( _gpuEnd_child2 ) >> 16; } tracy_force_inline void SetGpuEnd( int64_t gpuEnd ) { - //assert( gpuEnd < (int64_t)( 1ull << 47 ) ); if (gpuEnd >= (int64_t)(1ull << 47)) { fprintf(stderr, "ERROR: unexpected GpuEnd timestamp: %llu\n", gpuEnd); } + assert( gpuEnd < (int64_t)( 1ull << 47 ) ); memcpy( ((char*)&_gpuEnd_child2)+2, &gpuEnd, 4 ); memcpy( ((char*)&_gpuEnd_child2)+6, ((char*)&gpuEnd)+4, 2 ); }