RUNTIME_VERSION 1891: in-place YCbCr linear samples take Vulkan's model by default, Metal's behind Exact

video4k (26 commits, f195cfae62..171e80a3c1): DevicePolicy::ycbcr_in_place_reads
(YCbCrInPlacePolicy::Model by default, Exact under exact_answers) for linear samples of two-plane
4:2:0 planes read in place through texel buffers, which no device filters natively: the model
blends 4 luma and 4 chroma fetches with midpoint siting and Metal's coefficients, recorded as
HalfSampleFilter/FloatSampleFilter and announced ycbcr-filter-not-exact; Exact keeps Metal's filter.
FAST-PATHS row, both settings tested. The conversion's staging buffer, sets and refresh are made at
the first conversion, and the device-conversion notice is announced there. SEMANTICS_VERSION 1993
(the branch's). Lane fixes for devices that convert the format (780M), and half reads off Metal's
texture unit take the device's rounding (PrecisionNote::HalfTexelConversion, one half ulp).

Verified (video4k): 780M um870 8546 core 31/31, runtime ycbcr 5/5, aligned_byte 2/2, lane ycbcr
48/48; M3 8549 core 31/31, runtime 7/7, lane 48/48; 780M linear sample 1314-1744 us model against
3094-7793 us exact. gem10 780M lane 8547 and clippy x3/rustdoc/lavapipe 8550 follow post-merge.
This commit is contained in:
Anees Iqbal committed 2026-11-08 06:30:41 -08:00
1 parent 31bfbd22a9
commit 8329c9e954
2 files changed
+2 -2

No files matched your search

@@ -1 +1 @@
97e5f459c3f69055ddbf694e20a8f67aa49f51ad3de130c8e0674d48033f94fb
c6ecd10c1e75df7f018cdfebaac4abe2f99e42956ae6f91f46bdf12947b6129c
+1 -1
View File
@@ -93,7 +93,7 @@ pub const ARTIFACT_FORMAT_VERSION: u32 = 493;
/// 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 = 1890;
pub const RUNTIME_VERSION: u32 = 1891;
/// 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