The run of a kernel case through the runtime made each texture buffer over an
unguarded buffer (Placed::new), so a target of the texel buffer form recorded
no guard count (escaped and past_end None). out_of_bounds::guarded() names
every such target guarded, so matches() failed contained_in_guard and called
equal bytes a Mismatch, which validate_content then refused as contradicting
the equal hashes. Since texture buffers moved to the runtime (ed4f8976a5),
13 public kernel.out_of_bounds cases failed that way on llvmpipe: 0c1792037bb5
162c788b0db2 20b771ceffbb 2776f96c4392 2c9a0ea83995 2d15a85c73a3 474c4e027c5e
53cfa43e915a 53a21d7a2200 a536f99088e1 b16354f4aa9e cde612c13d95 fa187d1aef74.
No row was stored for any of them, and no stored row's status contradicts its
hashes: 0 of the 42 committed Vulkan rows, 0 of the 894 the public batch
recorded (job m3-max-65594; its two Match rows of unequal bytes differ only in
declared handle-array reads, which the ResidentTexels rule allows).
- runtime_textures: a bound texture buffer that is a guarded target is made
over Placed::within at its declared reach (guards::texel_guard_reach), and
Bound keeps that buffer (texel_guards) so the run reads its guard back.
- runtime: the run's guard counts take each such texture buffer's, under
OutOfBoundsResource::Texture.
- runtime_render: a draw passes no targets (a draw with a contained target is
not drawn through the runtime).
- engine_compute: a_texture_buffer_accessed_past_its_end_is_contained_through_the_runtime
runs ob1_texel_buffer with both texture buffers declared texel_buffer
targets, as the committed case does, and asserts escaped and past_end
Some(0) on each (None without this change).
- ENGINE_EXECUTOR_ABI vulkan-engine-v211.
- docs/VALIDATION.md: the buffer a texture-buffer target is made over is
guarded too.
The gap that let it through: the lavapipe device shards run synthetic cases,
and the one texture-buffer-through-the-runtime test declared no target; no
check runs corpus-vulkan over the public cases (CI qualifies three).
Verified before this commit: the read, on llvmpipe (Mesa 26.2.4) at
af97fa1bee, job m3-max-65594. Verified after: m3-max-65618 (fmt, clippy plain, --cfg m2v_gpu and
--cfg m2v_cpu_icd, workspace Rustdoc -D warnings, api-docs, refusal-surface --check); m3-max-65619
(validation 1332/1333 and the lavapipe device run 1442/1443; the new
a_texture_buffer_accessed_past_its_end_is_contained_through_the_runtime passes, and fails on
2a3cc1cf47's product files with (escaped, past_end) = (None, None)); the one red in both is the
opened-chains pin, blessed on development since 0631f3432a. llvmpipe batch m3-max-65622 over the
1,175 public cases: 721 match / 186 mismatch / 266 refusal / 2 failure, the 13 failed -> match
and nothing else changed. The cause commit is ed4f8976a5 (texture buffers moved to the runtime,
their guards never placed).