The planner's ruling on pin X's fragment growth (12-04). The level-0 arm that8f69218029put on every implicit sample and gather through a runtime sampler slot (a test of the slot's word, a second, explicit level-0 sample through the state's unnormalized twin, and a branch with a phi) doubled large fragment shaders: the largest corpus variant went from 161,140 to 318,071 runtime-floor words, and its pipeline creation from 4.0 s to 28.1 s on the Iris Xe and past 300 s on KosmicKrisp. What it bought was last-bit filter weights of a linear downscale, never another texel. Translator: a slot sample or gather is the one W form again. The pixel coordinate reaches the device's normalized sampler as the coordinate over the level-0 size, chosen in ALU by the slot's word (and its texel centre for a nearest pixel state), under PrecisionNote::PixelSamplerScaling. Gone: Sampling::level_zero, the level-0 test and value, TextureSlot::level_zero_samplers (and its codec field), LEVEL_ZERO_ELEMENT, UNNORMALIZED_TWIN_ELEMENT, SamplerWord's UNNORMALIZED_FILTERS, UNNORMALIZED_LINEAR, UNNORMALIZED_MODES and reads_unnormalized, and emit's offset_texels, which only the level-0 value read. The follow-ups go with it: c99bf0c6c3's linear-only test and its red test, 69a3254e1a's DeviceSampling paragraph on the unnormalized sampler's sub-texel step (no form reaches that sampler now), b58c67e981's count, 77e2a4f187's, 9fe45f0043's and a86f5ed62b's test counts. The translator test a_runtime_samplers_implicit_sample_is_one_sample holds a fragment's implicit slot sample to one implicit sample and no explicit one on every committed profile (at X the level-0 arm's explicit sample made it fail). Runtime: set 1's sampled array holds the textures and their second elements, 131,072, and the plain sampler array 8,000 again: no unnormalized twins, no level-0 elements, no level-0 views (Gauges::level_zero_views and its harness and replay entries go, with tests/level_zero.rs and 83bb95724d's bind check). The floor's descriptor limits are what those arrays need: sampled images 196,608 (textures, second elements, read texture buffers), samplers 24,000, per-stage resources 393,216 plus the attachments, all pools 417,216; X asked 262,144, 32,000, 458,752 and 490,752. These still hold the second elements on every device at the floor, so Capabilities::attachment_reads stays always true and7a6b0d10bcstays: no guest-visible answer moves (W's own floor, 131,072 sampled images, would have made it a per-device answer again). runtime-floor.json and regen_device_profiles.py state the new floor. Docs: PixelSamplerScaling's doc and its docs/API.md entry keep W's text without the level-0 clauses; the measured line names the cards: a linear downscale by 8 through a slot within 0.88/255 of Metal's on KosmicKrisp and RADV, 0.95/255 on the Iris Xe, 1.19/255 on the RTX 3090 and 1.375/255 on lavapipe (the ledger rows' largest differences). The runtime README, RESOURCE-ID and the pixel_samplers module doc drop the level-0 elements and twins. Ledger: the pixel-downscales rows return on the seven venues (RX 7900 XTX, Radeon 780M, RX 550, NVIDIA, Iris Xe, llvmpipe, Apple M3 Max) and the pixel-samplers slot rows on five cards and lavapipe, from24cb048066,ed46bdbfc5,82b7d9e4a2,bb7661f09aand 0c70839937's removed lines; the frac/slot rows that said ours read as the device's own answer under note pixel-sampler-scaling. Coverage regenerated. The replays at this tip are the check. Versions: SEMANTICS_VERSION 2384 (slot samples lose the level-0 arm), ARTIFACT_FORMAT_VERSION 615 (TextureSlot's codec loses level_zero_samplers), RUNTIME_VERSION 2579 (set 1's sizes, no twins or level-0 elements, the floor's limits); runtime-sources.sha256 re-pinned. The signature table and api_surface lose the removed items; docs/REFUSALS.md is unchanged (refusal_surface --check). Consumer: reims-vgpu at 9889a815bb names none of the removed items (git grep -w: 0 hits each for LEVEL_ZERO_ELEMENT, UNNORMALIZED_TWIN_ELEMENT, level_zero_samplers, level_zero_views, reads_unnormalized, UNNORMALIZED_LINEAR, UNNORMALIZED_FILTERS, UNNORMALIZED_MODES).
Committed device profiles
Khronos profiles-schema (0.8) JSON, one profile per file (VP_M2V_<file stem>), each with a
top-level provenance object. Generated by scripts/regen-device-profiles/; do not hand edit
(the lint rejects non-canonical files). The translator parses them into a DeviceDescription;
validation uses them for per-profile checks.
below-floor/ holds the Vulkan 1.2 minimum, below the runtime's floor: the input of the
translator's push window test alone (Device::from_queries derives it at its maxPushConstantsSize
of 128, the window's least, and refuses it at 64), read by no other test, census or venue. The
committed profiles are the files of this directory.
| File | Source | Device / definition | Driver | API |
|---|---|---|---|---|
runtime-floor |
derived from VP_LUNARG_minimum_requirements_1_3, plus m2v_runtime_floor |
the runtime's floor: Vulkan 1.3 required features and minimum limits, the unconditional Vulkan 1.2 Required Format Support entries, and what metal2vulkan-runtime requires of every device (crates/metal2vulkan-runtime/src/floor.rs) |
– | 1.3.204 |
below-floor/vk12-floor |
derived from VP_LUNARG_minimum_requirements_1_2 |
Vulkan 1.2 required features, minimum limits, and the unconditional Required Format Support entries only | – | 1.2.131 |
nvidia-rtx50-linux |
gpuinfo report 51770 | NVIDIA GeForce RTX 5080, Linux | 615.71.09 | 1.4.351 |
nvidia-pascal-linux |
gpuinfo report 52074 | NVIDIA GeForce GTX 1060 6GB, Linux | 580.178.04 | 1.4.312 |
amd-rdna2-apu-radv |
gpuinfo report 51886 | AMD Radeon 680M (RADV REMBRANDT) | Mesa 26.2.3 | 1.4.354 |
intel-arl-anv |
gpuinfo report 52029 | Intel(R) Graphics (ARL), ANV | Mesa 26.2.3 | 1.4.354 |
intel-irisxe-anv |
gpuinfo report 51836 | Intel(R) Iris(R) Xe Graphics (TGL GT2), ANV | Mesa 26.2.2 | 1.4.354 |
moltenvk-m3 |
local vulkaninfo --json, portability-subset profile, plus its --capture-formats supplement |
Apple M3 Max, macOS 27.0.1 | MoltenVK 1.4.2 | 1.4.357 |
lavapipe |
gpuinfo report 51983 | llvmpipe (LLVM 23.1.1, 256 bits) | Mesa 26.2.3 | 1.4.354 |
gate-lavapipe |
vulkaninfo --json capture in scripts/linux-gate --icd lavapipe (arm64 image), plus its supplement |
llvmpipe (LLVM 21.1.8, 128 bits): the gate's own CPU device, so a run restricted to it under VK_LAYER_KHRONOS_profiles reports the device itself |
Mesa 26.0.8 | 1.4.335 |
gate-lavapipe-x86_64 |
vulkaninfo --json capture in scripts/linux-gate --icd lavapipe (amd64 image), plus its supplement |
llvmpipe (LLVM 21.1.8, 256 bits) | Mesa 26.0.8 | 1.4.335 |
amd-780m-radv |
local vulkaninfo --json, plus its supplement |
AMD Radeon 780M Graphics (RADV PHOENIX), CachyOS | Mesa 26.2.6 | 1.4.354 |
amd-780m-hawkpoint-radv |
local vulkaninfo --json, plus its supplement |
AMD Radeon 780M Graphics (RADV PHOENIX) of a Hawk Point Ryzen 7 8845HS (deviceID 0x1900), CachyOS |
Mesa 26.2.6 | 1.4.354 |
intel-irisxe-rplp-anv |
local vulkaninfo --json, plus its supplement |
Intel(R) Iris(R) Xe Graphics (RPL-P), ANV, CachyOS | Mesa 26.2.6 | 1.4.354 |
intel-uhd770-rpls-anv |
local vulkaninfo --json, plus its supplement |
Intel(R) Graphics (RPL-S), the UHD Graphics 770 of an i9-13900, ANV, CachyOS | Mesa 26.2.4 | 1.4.354 |
nvidia-rtx5080-laptop |
local vulkaninfo --json, plus its supplement |
NVIDIA GeForce RTX 5080 Laptop GPU, CachyOS | 615.71.09 | 1.4.351 |
Venue profiles. The profile a venue names
(crates/metal2vulkan-validation/cutover/c3-venues.json), and the capture of each further device a venue allows, is a
vulkaninfo capture of that device with its corpus-vulkan --capture-formats supplement:
moltenvk-m3, gate-lavapipe,
gate-lavapipe-x86_64, amd-780m-radv, intel-irisxe-rplp-anv (with intel-uhd770-rpls-anv,
the venue's RPL-S device), nvidia-rtx5080-laptop. The venue list
refuses a file that is not such a capture, whose device identity is not the one the venue
declares for it, or that derives another translation key than the venue's profile. The gpuinfo
files above are census profiles of devices in the wild; no venue names them. Nor does it
name amd-780m-hawkpoint-radv, the Radeon 780M of Hawk Point: the GPU of amd-780m-radv under
another deviceID (0x1900), whose capture under the same RADV build differs from amd-780m-radv's
only there, so it takes the 780M's measured driver facts and derives the same translation key.
Reading notes for consumers of these files:
- A capability the source does not report is absent. Treat absence as "not supported", never as a default.
- Blocks named
m2v_vulkan12_required_formats*are not from the profile's source: they are the Vulkan 1.2 specification's Required Format Support entries that a requirements profile stating no formats implies, generated from the pinned specification text (provenance.required_formatsnames it and lists the conditional requirements no single profile can state). - In the derived profiles, a member the base profile states at a value the Vulkan 1.2
specification contradicts takes the specification's value instead, each named in
provenance.spec_corrections:supportedDepthResolveModesandsupportedStencilResolveModes, which the base states empty and the specification requires to includeVK_RESOLVE_MODE_SAMPLE_ZERO_BIT, andmaxDrawIndexedIndexValue, which the base states as2^24and the Required Limits table as2^24 - 1. - The block
m2v_runtime_floorofruntime-flooris not from the base profile either: it states the device extensions, features and limitsmetal2vulkan-runtime's floor requires, each limit at the value the floor needs, and the blockm2v_required_featuresthe Vulkan 1.3 core features the base profile omits (provenance.added_features). A runtime test holds the former equal tofloor.rs. The floor's queue family, timestamp bits, memory types and time domains have no profiles-schema form. - The block
m2v_unrequired_propertiesof the derived profiles is not from the base profile either: it states the weakest value the specification permits for each property the product reads, andVK_LAYER_KHRONOS_profilessets, that the base leaves without a requirement. That is the value a reader takes for the absent member; stated, the layer (which keeps the device's own value for a member a profile omits) reports it too. - The block
m2v_layer_presentationof a requirements document (akhronossource of the generator; no committed file is one) is not from the profile's source either: it states each feature the profile's core version requires that the profile omits, and each member the product reads of the core property structures of its version and of the property structures of the extensions it lists that it omits, at the value the product's reader takes for the absent member (provenance.layer_presentationlists them). The product's reading does not change; the profiles layer, which reports the device's own value for an omitted member and an omitted feature as absent, then reports the profile as the product reads it. Validation refuses to restrict a device to a requirements document (khronos) without it. - A file states what its source reports, not what the driver honors.
moltenvk-m3statesrobustBufferAccessas MoltenVK reports it, but MoltenVK adds no bounds check for it: on the captured device out-of-bounds storage and uniform buffer accesses, buffer atomics, and vertex fetches read and wrote the next buffer's memory, while texel buffers were contained. - A file states no deviation from the specifications, and the product reads none: its profile is
derived from the file's Vulkan queries alone (
Device::from_queries). The product refuses a file that holds the former top-levelm2v_deviationsobject. - The top-level object
m2v_color_attachment_sample_countsof a venue profile, keyed by profile name, states each color attachment format's own sample counts (VkSampleCountFlagBitsnames): thesampleCountsof a 2D, optimal-tiling image of the format withCOLOR_ATTACHMENTusage, which no profiles-schema structure holds (VkImageFormatProperties). The venue capture'scorpus-vulkan --capture-formatssupplement measures them. A file without it states no format's own counts, only the device-wideframebuffer*SampleCounts. provenance.unmappedlists report fields the converter could not represent (pointer members, flag bits outside the registry, extensions outside the registry; for avulkaninfocapture, a driver's unpublished extension and a pointer member vulkaninfo wrote asNULL). They are dropped, not guessed.- No file carries host identity: the device-property members that identify the
reporting host or driver build (every UUID and LUID, the PCI address, the DRM node numbers) are
withheld, and
provenance.withheldnames the ones the source reported. Their absence says nothing about what the device supports. - gpuinfo-derived files carry both the core
VkPhysicalDeviceVulkan1x*structs and the extension structs the report lists, as reported; they are not reconciled. - Integers keep the report's full width (
maxTimelineSemaphoreValueDifferencecan be2^64 - 1), so parsers needu64.