From ec3696f61f44cfb937a4a649fa469ac7120c6484 Mon Sep 17 00:00:00 2001 From: readmet3xt-lab <238408149+readmet3xt-lab@users.noreply.github.com> Date: Thu, 26 Nov 2026 18:14:12 +0530 Subject: [PATCH] Texture queue: due() for tests only Co-Authored-By: Claude Opus 5.5 --- crates/victory-gpu/src/descriptor/host.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/victory-gpu/src/descriptor/host.rs b/crates/victory-gpu/src/descriptor/host.rs index 3360ead..c742914 100644 --- a/crates/victory-gpu/src/descriptor/host.rs +++ b/crates/victory-gpu/src/descriptor/host.rs @@ -984,6 +984,7 @@ impl TextureQueue { /// 25,000-40,000 while the textures of the shot on screen waited /// (run 52: 98% of the drawn pixels had no colour texture in the /// first 3D frames). + #[cfg(test)] fn due(&self, frame: u64, max: usize) -> Vec<(u32, u64)> { let (due, _) = self.due_and_census(frame); due.order(max)