diff options
author | Sergey Sharybin <sergey@blender.org> | 2022-06-09 11:20:04 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2022-06-09 11:20:26 +0300 |
commit | 0fddff027ed025c27c818ff68315b8285e5c1a69 (patch) | |
tree | ecd66bcfbcef750b1f641872c8791a21dafc5602 /intern | |
parent | a91c8d8efa414ddb775e0c2fb03a7cc034ec1c58 (diff) |
Cleanup: Unused but set variable in Cycles Metal profiler
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/device/metal/queue.mm | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/intern/cycles/device/metal/queue.mm b/intern/cycles/device/metal/queue.mm index 8b2d5d81859..9d8625e1455 100644 --- a/intern/cycles/device/metal/queue.mm +++ b/intern/cycles/device/metal/queue.mm @@ -121,11 +121,9 @@ MetalDeviceQueue::~MetalDeviceQueue() double total_time = 0.0; /* Show per-kernel timings, if gathered (see CYCLES_METAL_PROFILING). */ - int64_t total_work_size = 0; int64_t num_dispatches = 0; for (auto &stat : timing_stats) { total_time += stat.total_time; - total_work_size += stat.total_work_size; num_dispatches += stat.num_dispatches; } |