diff --git a/crates/metal2vulkan/src/pipeline/artifact.rs b/crates/metal2vulkan/src/pipeline/artifact.rs index c5ea82649..a82bb3267 100644 --- a/crates/metal2vulkan/src/pipeline/artifact.rs +++ b/crates/metal2vulkan/src/pipeline/artifact.rs @@ -809,7 +809,11 @@ pub enum PrecisionNote { /// lacks, through the texture's swizzle) are set after every access (`SpecKey::ConstantLanes`); /// none of them is noted. A sample's or gather's residency is the device's, noted: the word is /// the device's `OpImageSparse*` residency, whose footprint may count a texel of zero weight - /// Metal does not (Vulkan's linear 2x2 footprint does, measured on lavapipe), and its lanes + /// Metal does not (Vulkan's linear 2x2 footprint does, measured on lavapipe), and may call a + /// footprint of the border alone (a `clamp_to_border` access wholly outside the texture) + /// not resident where Metal answers resident (lavapipe does, by nearest, linear and gather + /// sampling, beside a mapped edge too; Vulkan states only whether a texel accessed is a sparse + /// unbound texel), and its lanes /// that are no constants over a texel in a block of a sparse image that holds no mapped tile /// are the device's non-resident value (zero on a device with `residencyNonResidentStrict`; /// any value elsewhere, which the runtime announces as `non-strict-residency`). Where the diff --git a/docs/API.md b/docs/API.md index ce0ce88cc..a0f95be1a 100644 --- a/docs/API.md +++ b/docs/API.md @@ -2120,7 +2120,8 @@ bound. samples or gathers a texture whose residency it observes (`sparse_color::resident`) through the slot's sparse form, which the module has where the profile enables `shaderResourceResidency`: the word is the device's `OpImageSparse*` residency, whose footprint may count a texel of zero - weight Metal does not, and an unmapped texel's lanes the device's non-resident value. Where the + weight Metal does not or call a footprint of the border alone not resident where Metal answers + resident, and an unmapped texel's lanes the device's non-resident value. Where the device has no residency of its own, the slot's tile map answers Metal's footprint rule exactly, unrecorded. - `metal2vulkan-degrade-device-nan-encoding` (precision). `PrecisionNote::DeviceNanEncoding`: A