pub const MAX_PENDING: usize = 2; // 2usizeExpand description
How many readbacks the high-level Denoiser keeps in flight at
once.
This has to match the backend’s output-handle count, which is two. Going past it would reuse the oldest pending frame’s output handle and quietly corrupt the results.