Files
metal2vulkan/crates
Anees Iqbal 5bde7c16ed Tests: the small-level device test's textures take indices; place() asks is_multiple_of
What: every_device_copies_a_level_smaller_than_a_block_at_the_block_s_size makes its textures
ShaderRead, and the runtime gives a ShaderRead texture an index, so the test now takes a grant
of 64 texture indices (19 textures a format) and hands each texture its own. place()'s whole-block
test reads `size.is_multiple_of(grid)`.

Why: job m3-max-73723 (the quick check of 1549e2e3a3) failed two ways. Clippy, in all three
configurations, flagged `size[axis] % grid == 0` as a manual is_multiple_of. On lavapipe the
device test stopped at its first texture: "a texture shaders read or write, or a colour render
target, takes an index, and none was given". The other 737 runtime tests passed there, the
unit tests of small_levels among them.

Verified: not yet; the next quick check runs at this commit's successor.
2026-11-25 12:02:22 -08:00
..