RUNTIME_VERSION 2208: a texture's placement over host pages is answered before their import

Device::host_pages_texture_placement, a runtime extension, answers where a texture over a
no-copy buffer of host pages imported by pointer or as dma-bufs would lie, before any buffer,
import or image is made; another backing is refused (Problem::HostPagesBacking). The buffer's
own placement query and the image-making path now ask the same image-free answers first and
make no image where those answers refuse every plan. The answers are unchanged, but the work
the runtime does to reach them changes, so this bumps the runtime's version.

Verified by the change's own runs on lavapipe (24747): both new tests pass over 8 shapes with
shader-read and unknown usage, by pointer, under the Shadow policy and as dma-bufs, each
pre-import answer equal to the buffer's, refusals included, with no image made by a pre-import
ask; texture_placement_device 2/2; runtime suite 2461/2462, the one failure the guest-RAM test
that fails without the change. clippy plain and --cfg m2v_gpu (24748, 24749), --cfg m2v_cpu_icd
(24722), rustdoc (24748). Not run on a real GPU.
This commit is contained in:
Anees Iqbal committed 2026-11-13 00:43:50 -08:00
1 parent 72562e193a
commit 570f7a394a
1 file changed
+1 -1
+1 -1
View File
@@ -93,7 +93,7 @@ pub const ARTIFACT_FORMAT_VERSION: u32 = 515;
/// 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 = 2207;
pub const RUNTIME_VERSION: u32 = 2208;
/// 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