Bump RUNTIME_VERSION to 1805: a texture over a buffer whose texels run past its length is made, its tail the runtime's own
steelbrain/replay-23 (2698f616a0, e483e17c6c): Buffer::new_texture and
new_linear_texture make a 2D texture or 2D array whose texels run past the
buffer's length, as Metal does (reims, oracle m3-max-4298; the M3, 4337),
instead of refusing it NotImplemented(TexelsPastBufferLength), which ended a
consumer's host under Policy::Dies. Inside the length the texels are the
buffer's bytes; past it they lie in a zeroed Shared tail per texture, held
as a shadow (ShadowedTexture announced): a texture over two allocations can't
be one image in place. A texture buffer or IOSurface plane past its length
stays refused. docs/API.md records the accepted difference: Metal's read of
the next allocation over a 4096-byte buffer is not reproduced. The
runtime-sources pin is recomputed.
Verified by its author: buffer-tails-kernels and buffer-tails-blits recorded
on the M3 (m3-max-4492) and replayed announced with every value exact on
MoltenVK (4508) and lavapipe (4509, 4580); 4 new lavapipe device tests plus
135 buffer-texture, shadow and blit device tests 139/139 and
runtime_lane::buffer_textures 7/7 (4509); the negative control (sources at
0e2c70f08f) fails all four at new_texture and refuses both cases; clippy and
rustdoc pass (4565, 4580).
This commit is contained in:
1 parent
9ee7323e76
commit
5020e74ebb
2 files changed
+2
-2
No files matched your search
@@ -1 +1 @@
|
||||
86ab22544b6e3f1021d0227e4446249cc4b6fd8260cc25234e6b1ce7288c93c3
|
||||
7f536b407216704b951caa48c9a4722e45348e164465970525cbc2f8e71fc873
|
||||
Vendored
+1
-1
@@ -93,7 +93,7 @@ pub const ARTIFACT_FORMAT_VERSION: u32 = 492;
|
||||
/// changes no behaviour, and then updates that hash alone with the commit saying why, or changes
|
||||
/// behaviour and also bumps this version. The commit that bumps it says what changed; this comment
|
||||
/// keeps no history.
|
||||
pub const RUNTIME_VERSION: u32 = 1804;
|
||||
pub const RUNTIME_VERSION: u32 = 1805;
|
||||
|
||||
/// The digest of the sources this build of the crate was compiled from: SHA-256, as lowercase hex,
|
||||
/// of the manifest, the build script, and exactly the files the crate roots' module tree compiles
|
||||
|
||||
Reference in new issue
Block a user