From bce9fff6bbb429d40d42383c14514c462684c5fb Mon Sep 17 00:00:00 2001 From: Hakan Seven Date: Tue, 29 Sep 2026 23:04:23 +0300 Subject: [PATCH] fix(bench): pass the draw-depth map click_hit now takes Co-Authored-By: Claude Opus 5.5 --- benches/performance_benchmarks.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/benches/performance_benchmarks.rs b/benches/performance_benchmarks.rs index f3f076d11..ffae1f7a2 100644 --- a/benches/performance_benchmarks.rs +++ b/benches/performance_benchmarks.rs @@ -393,6 +393,7 @@ fn bench_hit_test_picking(runner: &mut BenchmarkRunner) { let n_queries = if runner.quick_mode { 200 } else { 1_000 }; let mut click_samples = Vec::with_capacity(5); + let draw_depth = rustc_hash::FxHashMap::default(); for _ in 0..5 { let t0 = Instant::now(); for q in 0..n_queries { @@ -406,6 +407,7 @@ fn bench_hit_test_picking(runner: &mut BenchmarkRunner) { bounds, false, 8.0, + &draw_depth, ); black_box(hit); }