Where a device lists VK_EXT_border_color_swizzle and reports borderColorSwizzleFromImage, device
creation enables the extension with both its features: borderColorSwizzle, which Vulkan requires
of every device that lists the extension, and borderColorSwizzleFromImage. Elsewhere neither is
enabled. Sampler creation is the same form on every device. No sampler chains
VkSamplerBorderColorComponentMappingCreateInfoEXT on any device: a sampler in the arrays meets
every view, and that structure names one mapping. So the struct is left off everywhere, and
VUID-VkSamplerBorderColorComponentMappingCreateInfoEXT-borderColorSwizzle-06437 cannot fire. With
the feature, an opaque-black border sampled through a view whose component mapping is not the
identity reads through that mapping, as Metal's border reads through the swizzle. Without it,
Vulkan leaves that texel undefined; the NVIDIA driver reads (0, 0, 0, 1).
A new static note, PrecisionNote::SwizzledOpaqueBlackBorder, records that difference, decided on
every device by the sampler alone:
- SamplerState::precision_note is Some for a descriptor whose address mode reads the border
(ClampToZero or ClampToBorderColor) with an opaque-black colour (SamplerDescriptor::shape's
opaque_black_border).
- A compute or render pipeline carries it among its precision_notes where a function samples
through a constexpr sampler of such a border. That is decided by the constexpr sampler's own
constants, through the device sampler the translator states for it
(CombinedSampler::constexpr_sampler).
- The conformance rt side collects the sampler state's note with the others.
The rt README records the known gap and the feature table. docs/API.md has the catalogue entry.
The translator's cache appends the variant (ARTIFACT_FORMAT_VERSION 553 -> 554). Validation
derives no tolerance from the note (Allowance::Unbounded).
The old runtime's degradation.rs gains a notes entry, because Degradation::from_precision_note
matches every PrecisionNote. DeviceDepthBias did the same. The old runtime announces nothing new.
Census, GPU-free, over the 31 kept replay streams:
- 0 sampler states read an opaque-black border.
- 0 of 4609 constexpr samplers do, over the 12213 functions of their 322 distinct libraries.
12 functions did not decode under the standard budget and are not counted.