Merge PR 220

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
localandClaude Opus 5.5 committed 2026-11-24 18:57:48 -06:00
commit 1ae8f260d8
4 files changed
+1198 -102

No files matched your search

+6 -3
View File
@@ -117,7 +117,9 @@ const WINDOW_MOST: u64 = 64;
/// apart after it (16, then twice as many each time, [`WINDOW_MOST`] at
/// most, never past the buffer) into
/// the list's scratch buffer in one pass, and the draws that follow read
/// their record there with no pass of ours, until one of these: a compute
/// their record there with no pass of ours and no barrier (the scratch
/// buffer stays readable as arguments until the next clamp), until one of
/// these: a compute
/// dispatch, a direct draw, an indirect call with a count buffer or more
/// than one record, a draw whose shaders can store to buffers, a record
/// outside the window, another host list.
@@ -2512,7 +2514,6 @@ impl State {
_ => false,
};
if !ran {
crate::indirect::done(list, &bounded);
why("prepare failed");
return false;
}
@@ -2538,7 +2539,9 @@ impl State {
if kind == MESH {
self.mesh_scissor(list, false);
}
crate::indirect::done(list, &bounded);
// The scratch buffer stays readable as arguments: the next draw of
// the window reads it with no barrier, and the next clamp moves it
// back (`crate::indirect`).
if kind == DISPATCH {
DISPATCHED.fetch_add(1, Ordering::Relaxed);
} else {