Files
VIctory/crates
T
MarvisandClaude Opus 5.5 b2f6c95596 GPU: upload tests count their own texture's uploads
What was wrong: the upload tests read a process-wide count of texture
uploads, so another test's uploads between their `before` and their
submission landed in it: `a_texture_is_uploaded_once_per_submission_and_only_when_written`
failed in a parallel run of the crate's tests and passed alone.

What changed: each texture's staging state counts its own uploads; the
tests read those of their texture (`texture::uploads`, tests only). The
process-wide counter had no other reader and is gone.

Evidence: the crate's tests three times in a row with 8 threads, 157
passed each time; clippy clean on both feature sets.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
b2f6c95596 · 2026-11-25 08:25:56 +01:00
History
..