Files
Anees Iqbal ed4b0ecd76 rt: storage textures written or read at a run-time level, through runs of set 1's level elements
What: under the identity domains a storage slot written, read or size-queried at a level other
than the constant 0 indexes a run of set 1's storage-image array instead of being refused as
Unsupported{IdentityDomains} ("an encoder value the function reads as TextureLevels(S)"). The
translator pushes the bound texture's level count (PushField::TextureLevels) and the run's first
element (the new PushField::TextureLevelBase, beside it), states no StorageTextureLevels or
StorageTextureLevelViews fact, and an access at level l takes element
first + min(l, max(n, 1) - 1) of the array, NonUniform, inside l < n. A texture of one level
pushes its own index, nil 0 with count 0.

The runtime's binding 1 grows by 65,536 level elements past its 65,536 textures, 4,096 runs of 16
(floor::LEVEL_ELEMENTS, floor::LEVEL_RUN). The first dispatch or draw that binds a texture of more
than one level to such a slot (the encoder's checks, compute and render stages alike) gives it a
run: a single-level storage view of each level, of its storage element's type (a cube's level as
the 2D array of its faces, a view's from its own first level), written at the run's elements. A
later bind takes the texture's lock and pushes the same two words: no Vulkan call. The run goes
back through the pool and reaper once the texture is released and its work retired: elements null,
views destroyed (Gauges::level_elements). Every run held, or a texture of more than 16 levels, is
the new Limit::LevelElements { max: 4096 }, and the dispatch or draw does not run. The floor's
storage-image limits and both totals rise by 65,536: storage 196,608, per-stage resources 327,688,
pools 351,680; every lab device's profile is far above (llvmpipe 1,015,808 storage, the least).

SEMANTICS_VERSION and ARTIFACT_FORMAT_VERSION bump in the branch's last commit (a new PushField).

Why: 17 guest kernels in 6 libraries were refused at state creation by this form.

Docs: REFUSALS.md and the signatures table regenerated, RESOURCE-ID.md (binding 1 past 65,536),
API.md (storage levels under identity), the runtime README (Set 1, the floor table, the known-gap
line replaced by the Limit), the runtime-floor profile's limits, and the conformance ledger's
level-sizes-storage row removed.

Checked by: engine_texture_levels' identity test and the runtime's storage_levels device tests
(red at 6ad1c33124: jobs m3-max-70886 and m3-max-70892 on lavapipe), engine_identity's
a_storage_slot_written_at_a_run_time_level_is_an_element_of_its_run; the lane's jobs report the
runs per card.
2026-11-23 09:04:38 -08:00
..

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_formats names 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: supportedDepthResolveModes and supportedStencilResolveModes, which the base states empty and the specification requires to include VK_RESOLVE_MODE_SAMPLE_ZERO_BIT, and maxDrawIndexedIndexValue, which the base states as 2^24 and the Required Limits table as 2^24 - 1.
  • The block m2v_runtime_floor of runtime-floor is not from the base profile either: it states the device extensions, features and limits metal2vulkan-runtime's floor requires, each limit at the value the floor needs, and the block m2v_required_features the Vulkan 1.3 core features the base profile omits (provenance.added_features). A runtime test holds the former equal to floor.rs. The floor's queue family, timestamp bits, memory types and time domains have no profiles-schema form.
  • The block m2v_unrequired_properties of the derived profiles is not from the base profile either: it states the weakest value the specification permits for each property the product reads, and VK_LAYER_KHRONOS_profiles sets, 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_presentation of a requirements document (a khronos source 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_presentation lists 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-m3 states robustBufferAccess as 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-level m2v_deviations object.
  • The top-level object m2v_color_attachment_sample_counts of a venue profile, keyed by profile name, states each color attachment format's own sample counts (VkSampleCountFlagBits names): the sampleCounts of a 2D, optimal-tiling image of the format with COLOR_ATTACHMENT usage, which no profiles-schema structure holds (VkImageFormatProperties). The venue capture's corpus-vulkan --capture-formats supplement measures them. A file without it states no format's own counts, only the device-wide framebuffer*SampleCounts.
  • provenance.unmapped lists report fields the converter could not represent (pointer members, flag bits outside the registry, extensions outside the registry; for a vulkaninfo capture, a driver's unpublished extension and a pointer member vulkaninfo wrote as NULL). 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.withheld names 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 (maxTimelineSemaphoreValueDifference can be 2^64 - 1), so parsers need u64.