Writes through views picked from the heap come back (VICTORY_PICKED_WRITES)

Off by default. A shader that stores through a view it picks by an index (37
compute programs of the title, 82a2ad6d07417d36 one of them) writes buffers
nobody declared. With a submission that has one, the buffers found written
that way are declared and landed as any; of the other buffers the heap shows
unordered views of 32 MB a frame are compared on the card, in turn, and one
that changed undeclared is found. Found late is not landed late.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
localandClaude Opus 5.5 committed 2026-11-24 23:09:03 -06:00
1 parent d4254dc02c
commit b1da728148
8 files changed
+523 -11

No files matched your search

+6
View File
@@ -84,6 +84,12 @@ pub(crate) fn current() -> u64 {
FRAME.load(Ordering::Relaxed)
}
/// For tests of what is done once a frame.
#[cfg(test)]
pub(crate) fn test_advance() {
FRAME.fetch_add(1, Ordering::Relaxed);
}
/// Per event kind (origin, vblank, flip and later kinds): the last tick a
/// wait for it ended on.
static LAST: [AtomicU64; 3] = [const { AtomicU64::new(0) }; 3];