Byte copies test: the rows' buffers take a block of their size

The all-codes row's 128 KiB of units did not fit the 64 KiB block the helper takes by default
(lavapipe job m3-max-84567... 84570: BufferPastBlock); the 8 x 8 rows passed there, stencil and
16-bit depth, whole and the region at (2, 1).
This commit is contained in:
Anees Iqbal committed 2026-12-03 09:59:40 -08:00
1 parent 960030016b
commit fa59fd319e
1 file changed
+3 -1
@@ -198,7 +198,9 @@ fn copy_row(name: &str, device: &Device, library: &Library, row: &Row, index: u3
(device.new_texture(&d, Some(index))).unwrap_or_else(|error| panic!("{what}: {error}"));
let input = row.input();
let samples = (side * side * row.samples) as usize;
let mut buffers = Buffers::new(device);
// The input, the copy back and the reads, each 256-aligned, in one block.
let bytes = (2 * input.len() + 4 * samples + 768).next_multiple_of(65536);
let mut buffers = Buffers::sized(device, bytes as u64);
let source = buffers.of(device, &input);
let back = buffers.of(device, &vec![UNWRITTEN; input.len()]);
let words = buffers.of(device, &vec![0xab; 4 * samples]);