Files
metal2vulkan/scripts/refusal-surface/reach.tsv
T
Anees Iqbal 5d725aeec7 Delete metal2vulkan-runtime, with every test and script that read it
The cutover deletes the old runtime: crates/metal2vulkan-runtime and its workspace member go.
Nothing in the workspace depends on it any more: the harness and conformance lost their old arms,
and validation dropped its dependency in its own commit.

Adapted in this commit, so no gate reads the deleted tree:
- CI and scripts/linux-gate-ci: the crate's per-feature clippy group, its `-p` in the Windows
  clippy and the test step, and its private-doc-links row go. Packaging needs no edit: the
  workspace's published crates are now metal2vulkan and metal2vulkan-air.
- The published-crates test lists those two; devtools' carried trees and the five nextest groups
  of the old crate's tests go.
- scripts/api-signatures: the crate leaves CRATES, FLOORS and the header, its self-test trees name
  rt (read by the same rules), and the table is re-blessed (the old crate's 4555 rows go);
  api_signatures.rs pins the three crates left.
- scripts/refusal-surface: the old crate's tree and its sections go (RuntimeGap, AppleOnly,
  Problem and the problem enums it forwards to), with their 87 reach rows, the `--delegations`
  verb and the test that counted the old Problem's delegations; docs/REFUSALS.md is regenerated.
  The basis check now holds rt's refusal enums alone, which it already required.
- scripts/api-cost-coverage goes: it measured only the old crate's surface.
- feature_vocabulary.rs: the old crate's two enable tables go; the Khronos and validation tables
  stay held to the vocabulary.
- The conformance coverage generator's by-hand roots read rt instead of the old crate, and
  docs/CONFORMANCE-COVERAGE.md is regenerated (MTLResourceOptions' row, which only the old crate
  modelled, gives way to rt's MTLCommandBufferError).
- scripts/matrix: the harness times the new runtime alone (`--runtime new`), so the rules that
  judged it against the old one go: the new-over-old budget with its floors (floors.tsv,
  gpu-floors.tsv), ceilings, card variance and status table (status.tsv), the frozen arm, the
  base spread and the timing once more it set off, the re-timed pairs, the five creation rounds
  and the old runtime's parked tests and records. A harness row's time is judged as a cross-GPU
  outlier, with its alone runs as before, and the frame and burst rows by their stored
  instruction counts; the creation rows run once, in their own process. docs/VALIDATION.md's
  matrix section says these rules.

Checked locally (python, no build): signatures.py --check and --selftest, refusal_surface.py
--check, --selftest and --missing-basis, coverage.py --check and --selftest, and scripts/matrix's
49 tests pass. The compile gate (fmt, clippy plain, --cfg m2v_gpu and --cfg m2v_cpu_icd, Windows
clippy for gnullvm and msvc, workspace Rustdoc, packaging, the touched crates' suites on the host
and on lavapipe) runs on this sha as potluck jobs that the landing note names.
2026-11-20 07:01:01 -08:00

14 KiB

1# Reach marks of docs/REFUSALS.md: section<TAB>variant<TAB>mark<TAB>why. Marks: system (a guest's
2# CoreAnimation, CoreImage or VideoToolbox plausibly reaches it), app (a typical Metal app from
3# public API), rare (specialized public API), none (no public API path). A judgment, kept by hand;
4# refusal_surface.py lists every variant that has none (--missing-reach).
5featureLibraryKindnonea metallib file type Apple's toolchain is not seen to write
6featureStagenonea stage outside AIR's public stages
7featureAddressSpacenoneApple's AGX library address spaces
8featureModuleRecordnoneLLVM constructs AIR does not emit
9featureInstructionnoneLLVM instructions AIR does not emit
10featureTypenoneLLVM types AIR does not emit
11featureCallingConventionnoneLLVM calling conventions AIR does not use
12featureUnknownIntrinsicrareAIR from a newer compiler (macOS 27 AIR 2.9)
13featureAgxUnmodeledrareApple's own libraries' AGX intrinsics
14featureStaticInitializernoneLLVM initializers AIR does not emit
15featureRecursionrarerecursion through visible functions
16featureDynamicCallrarefunction pointers and function tables
17featureLinkingraredynamic libraries and linked functions
18featureSimdWidthappsimdgroup functions on a device whose subgroups cannot run 32 wide for the use
19featureLocalSizeappa threadgroup size past a smaller device's limit
20featureIrreducibleConvergentrareirreducible loops around barriers or simd operations
21featureComputeDerivativesWithSimdrarederivatives in a kernel
22featureComputeDerivativesrarederivatives in a kernel
23featureQuadOperationsappquad shuffles in kernels on devices without quad operations there
24featureSimdgroupMatrixraresimdgroup matrix kernels
25featureSimdgroupMatrix16x16x16rare16x16x16 simdgroup matrix products (Metal: Apple10 GPUs and later)
26featureArgumentBufferPointersappargument buffers holding buffer pointers
27featureArgumentBufferTexturesappargument buffers holding textures and samplers (bindless)
28featureArgumentBufferObjectsrarepipeline states and ICBs in argument buffers
29featureDereferenceLoadedPointerapppointers loaded from argument buffers
30featurePointerToIntegerrarepointer to integer casts
31featurePointerComparerarecomparing pointers of different roots
32featureHandleAsPointerrareresource handles used as byte pointers
33featureConstantGlobalEscapingrarea constant global whose address escapes
34featureThreadgroupMemorySizerarethreadgroup memory past a smaller device's limit
35featureZeroedThreadgroupMemoryrarethreadgroup memory on a device without shaderZeroInitializeWorkgroupMemory, which Vulkan 1.3 requires
36featureCoherentMemoryrarecoherent(device) accesses
37featureInt64Atomicsrare64-bit atomics
38featureImageAtomicsraretexture atomics beyond 32-bit integers
39featureDescriptorCountappmany textures or buffers in one stage on a smaller device
40featureStageSizerarea kernel heavier than the heaviest stage measured to compile within host-sized memory, as the device's plan writes it (from_queries), or too large for a driver measured to corrupt one past its bound or to outgrow host memory below it
41featureBufferRangeappa buffer window past a device's descriptor range
42featureInt64Arithmeticrare64-bit integers on a device without shaderInt64
43featureFloat64Arithmeticraredoubles (MSL has none outside Apple's own code)
44featureFormatsystempixel formats a device lacks for a use (CoreVideo's 4:2:x and 10-bit formats among them)
45featureDivergentImplicitLodappimplicit-LOD sampling through a dynamically chosen texture
46featureImplicitLodOutsideFragmentrareimplicit-LOD sampling outside fragment functions
47featureMinLodClampraremin_lod_clamp on a device without shaderResourceMinLod
48featureTexelOffsetapptexel offsets a device cannot apply
49featureGatherExtendedraregathers with dynamic offsets or components
50featureStorageImageMultisamplerarewritable multisampled textures
51featureStorageTextureInVertexStagerarewritable textures in vertex functions
52featureCubeArrayrarecube arrays on a device without imageCubeArray
53featureSamplerAnisotropyappanisotropic samplers an argument buffer lists, on a device without samplerAnisotropy
54featureSamplerBorderColorappborder colors a device cannot express
55featureSamplerLodBiasappconstexpr samplers with an LOD bias
56featureSamplerCompareappcompare samplers a device cannot apply to the image
57featurePixelSamplerComparenoneApple's compiler rejects it
58featureTexelBufferapptexture buffers past a device's texel-buffer limits
59featureRasterOrderGroupsrareraster order groups
60featureFramebufferFetchsystemprogrammable blending (framebuffer fetch); macOS 26.6.2's login reaches it (two WindowServer and RenderBox pipelines fetch RGB10A8_2P_XR10 attachments, the consumer's boots)
61featurePrimitiveIdrareprimitive_id on a device without geometry or tessellation shaders, in an indexed draw or behind a mesh function
62featurePrivatePrimitivesrarea private primitive type drawn in the pulled list form (a vertex function that writes memory or the primitive_id varying, a vertex start past 2^31) on a device without device addresses
63featureVertexAmplificationrarevertex amplification
64featureLayeredRenderingrarelayered rendering on a device without its features
65featureClipDistancerareclip distances on a device without them
66featureDualSourceBlendingraredual-source blending on a device without it
67featureBarycentricsrarebarycentric coordinates
68featureStencilExportrarestencil from the shader
69featureSampleRateShadingrareper-sample shading
70featurePullModelInterpolationrareinterpolant inputs read at the centroid, a sample or an offset
71featureSamplePositionsrarecustom sample positions on a device that takes none at the pass's sample count
72featurePixelCoverageAtSampleRaterarecoverage read at sample rate
73featureInterfaceComponentsraretoo many varyings or attachments for a device
74featureUnmatchedVaryingnonea Metal link error
75featureKernelStageInrarekernel stage-in combinations Metal leaves unestablished
76featureVertexStepRateappinstanced vertex layouts stepped at a rate above 1
77featureVertexInputLayoutrarevertex offsets or strides off their format's alignment, or past a device's limits
78featureTessellationraretessellation
79featureMeshShadingraremesh pipelines
80featureTileShadingraretile shaders (Apple GPU families)
81featureImageblocksrareimageblocks (Apple GPU families)
82featureRayTracingrareray tracing (out of scope by ruling)
83featureTensorsrareshader tensors
84featureRasterizationRateMaprarerasterization rate maps
85featureGpuEncodedIndirectCommandsrareindirect command buffers encoded by a kernel
86featureVulkanVersionnonea device below Vulkan 1.2
87featureIdentityDomainsnonethe identity domains, which the new runtime alone takes and which lower only kernels over buffer slots, textures in slots or argument buffers, and runtime samplers, so far
88featureConstantnoneLLVM constant forms AIR does not emit
89featureAttributenoneLLVM ABI attributes AIR does not use
90featureBitcodeRecordnonebitcode records AIR does not emit
91featureSyncScopenonesynchronization scopes AIR does not use
92featureSubgroupOperationsappsimdgroup functions in a stage a device's subgroups do not support
93featureDirectCallrarevariadic or byval calls the inliner cannot take
94featureWideSwitchLiteralrare64-bit switch literals
95featureLoweringsystemthe catch-all of lowering families not landed: any shader can meet one
96featureSamplerAddressModeappmirror-clamp-to-edge on a device without it
97featureAlphaToOnerarealphaToOneEnabled on a device without alphaToOne
98featureStageStoresAndAtomicsappstores or atomics in vertex or fragment functions on a device without the feature
99featureFunctionConstantArgumentrarea function-constant-removed argument read
100featureSamplerBicubicFiltersystembicubic filtering forms Metal does not establish; macOS 26.6.2 makes a runtime sampler with MTLSamplerMinMagFilterCubic (the consumer's boots), whose mip-filtered form is refused
101featureGroupCountraremore threadgroups than a device dispatches, past the binder's split
102featureIntersectionFunctionTablerareray tracing (out of scope by ruling)
103featureIndependentBlendingrareper-attachment blending on a device without independentBlend
104featureRasterSampleCountappa sample count a device lacks for the attachments
105featureTriangleFillLinesappwireframe on a device without fillModeNonSolid
106featureTriangleFillPointssystemApple's GL renderer's glPolygonMode(GL_POINT) on a device without fillModeNonSolid, or a portability-subset device without pointPolygons (MoltenVK)
107featureDepthClipClampappdepth clamp on a device without depthClamp
108featureDepthBiasClampappdepth bias clamp on a device without depthBiasClamp
109featureConstantAlphaBlendFactorappblend-alpha factors on a portability-subset device without them
110featureSparseTextureraresparse residency reads
111featureTextureSizeappa texture past a device's image limits
112featureTextureSampleCountappa sample count a device lacks for the texture
113featureTextureViewappa texture view Vulkan cannot make exactly
114featureTextureSwizzleapptexture swizzles whose Metal behaviour is unmeasured
115featureMipmapGenerationappgenerateMipmapsForTexture: of a format or chain neither the device's blits nor the compute filter can run
116featureHostMemorysystemnewBufferWithBytesNoCopy: where the device cannot import the memory
117featureGpuTimesrareGPU times on a queue without timestamps
118featureCountingVisibilityrarecounting occlusion queries on a device without precise queries
119featureViewFormatReinterpretationappa view of another component layout on a portability subset (MoltenVK)
120featureSeparateMultisampledDepthStencilrareseparate multisampled depth and stencil textures
121featurePixelCoveragerarecoverage reads at pixel rate in a multisampled pipeline
122featurePostDepthCoveragerarethe coverage after early depth and stencil tests on a device without VK_EXT_post_depth_coverage
123featureCentroidVaryingrarecentroid varyings in a multisampled pipeline
124featurePrivateMemoryrarevery large per-thread arrays
125featureSparseTexturesraresparse heaps on a device without sparse images
126featureTimelineSemaphoresnonea device below the runtime's floor
127featureReflectionrarereflection of argument kinds Metal's answer is unmeasured for
128featureHeapTextureTilingapptextures in Shared heaps on a device whose optimal images take no host memory
129featureViewportDepthRangerareviewport depth outside [0, 1]
130featureUndeclaredTextureUsageappa shader write to a texture made without ShaderWrite, which plain Metal runs
131featureRenderTargetSizerarea render area past a device's framebuffer limits
132featureIndirectRenderStaterarerender state set by a kernel on an indirect command
133featureGlobalBuiltinInFragmentrareMetal 3.1 global built-ins in fragment functions
134bindDescriptorRangeExceededappa buffer window past a device's descriptor range
135bindTexelBufferTooLargerarea texture buffer past maxTexelBufferElements its parts do not bind
136bindHeapTooLargeraremore resident textures than the pipeline's heap holds (bindless at scale)
137bindTessellationFactorRangeraretessellation factors past one storage descriptor
138bindPatchIndexRangerarepatch indices past one storage descriptor
139bindControlPointIndexRangerarecontrol-point indices past one storage descriptor
140bindMissingStageInRegionnonea stage-in region never set, which Metal leaves undefined
141bindUniformViewAliasedrareProfile F's uniform-view fallback aliased by a write
142bindMissingDeviceAddressrarea slot reached through a pointer loaded from memory, bound with inline bytes or on a device without device addresses
143limitInlinedInstructionsrarevery large shaders after inlining
144limitOutputBlocksrarevery large control flow
145limitIrreducibleDepthnonedeeply nested irreducible loops
146limitSpirvWordsrarevery large output modules
147limitWorkUnitsrarevery large shaders
148limitLedgerBytesrarevery large shaders
149limitTypeCountnonea type table past the cap
150limitMetadataNodesnonemetadata past the cap
151limitBitstreamNestingnonemalformed nesting
152limitInstructionCountrarevery large modules
153limitLayoutNestingnoneargument-buffer layouts nested past the cap
154limitConstructNestingnonecontrol flow nested past the cap
155limitPrivateArenaBytesnonea private arena past 4 GiB
156limitCallStackBytesraredeep visible-function call stacks
157ratemapScreenExtentrarea rate map whose screen is past 16384 a side
158ratemapLayerCountnonea rate map of more than two layers, which Apple's compile crashes on
159ratemapDenseSamplesrarea rate map axis with more quality samples than screen pixels
160ratemapSampleOutOfRangerarea rate map quality sample outside [0, 1] among others
161ratemapSampleCountrarea rate map axis of more distinct samples than measured (9 on one layer, 4 on two)
162budgetTimenonea translation past its deadline: a defect of ours to fix on any supported input (AGENTS.md: 20 seconds)
163featurePrivateRenderStatenoneApple-private pipeline fields of OpenGL on Metal (no public header)
164featureExtendedRangeBlendsysteman extended-range (XR10) attachment blended from an output other than four half or float lanes; a 16-bit float attachment's storage-form blend of a second-source factor or a one-color-channel mask under fast math; the consumer's guests blend RGB10A8_2P_XR10 attachments
165featureCommandPredicationnoneApple-private command predication on a device without buffer device addresses
166featureProgramScopeBindingappMSL 3.2 program-scope buffer bindings (macOS 15 and later)
167featureGenericPointersystemMSL 4.1 generic pointers held in memory or of two spaces (macOS 27 and later)
168featureSeqCstFencerarea seq_cst fence in a vertex or fragment stage without its stores and atomics
169featureWideLinesnonea line under the Apple-private setLineWidth: at a width other than 1 drawn as the band, whose pipeline form the translator does not build (a selected slice or viewport, barycentric weights, multiview, synthesized geometry, too many stage outputs)