On a device without a texture's compressed or chroma format, the runtime now makes the texture and
reads it as Metal does. Before, such a texture was refused at its making (ASTC, ETC2/EAC) or at its
first read (PVRTC, 4:2:2, held for copies alone). The consumer's guest on the RTX 5080 stopped at
ASTC_8x8_LDR, PVRTC_RGB_2BPP and EAC_R11Unorm. NVIDIA, RADV and lavapipe have none of these formats,
and Vulkan's 4:2:2 formats need a sampler Y'CbCr conversion whose chroma reconstruction is the
implementation's.
What changes:
- The store. The blocks lie in a carrier image of the same block bytes and shape (a compressed
format the device copies: BC1, BC4, BC7, BC3, BC2, BC5, ETC2, EAC or ASTC 4x4; R8G8 for 4:2:2).
replace_region, get_bytes, blits, fills and texture copies move Metal's blocks unchanged.
- The twin. Reads go to a decoded twin holding Metal's decode, kept in step on the GPU as a BC
texture's twin is: a decode pass after a blit, a texture copy or a submitted CPU copy, and a CPU
decode on the device's decode thread after a host write. No write costs a GPU-to-CPU round trip.
A write's decode covers whole levels for PVRTC and whole rows for 4:2:2, whose texels read their
neighbours. A new texture's twin starts at the decode of zero blocks (magenta for ASTC's error
block), not at zeros.
- The decoders, our own, written from the Khronos ASTC specification, the Khronos Data Format
Specification's ETC2 and EAC chapters, and Metal's measured answers for PVRTC1 and 4:2:2:
bind::AstcDecode, EtcDecode, PvrtcDecode and ChromaDecode, with their GPU kernels
astc_decode_module, etc_decode_module, pvrtc_decode_module and chroma_decode_module on the block
decode's bindings (new api_surface rows, with AstcTexels, EtcTexels and DecodedTexelsPolicy).
- Metal's decode, matched: an ASTC LDR channel is (C >> 4) / 4095 of the 16-bit interpolated C;
an 8-bit ETC2/EAC channel c / 255, an 11-bit one c / 2047 (signed c / 1023); PVRTC upscales
colours A and B from the four block centres around a texel and blends them by its index; a 4:2:2
texel takes its own green, and red and blue (3c + n + 2) >> 2 of its pair and the pair beside it.
- sRGB forms. The ASTC, PVRTC and ETC2/EAC sRGB formats read their twin's codes raw through an
R8G8B8A8_UNORM view and decode them through Metal's table, as the 8-bit and BC sRGB formats do:
reads, nearest samples and gathers exact, with no precision notice. Linear samples keep the
device's sRGB filter (the exact sum under SamplingPolicy::Exact). A device that has the ASTC
block keeps its own sRGB decode. The linear PVRTC and 8-bit linear ETC2/EAC formats take BC1 to
BC3's Argb8 texel class, so under TexelConversionPolicy::Exact their reads are Metal's c / 255.
- The switch: DevicePolicy::decoded_texels, DecodedTexelsPolicy { Compact (default), Exact };
exact_answers() selects Exact. Compact holds an ASTC LDR twin in 8-bit codes nearest Metal's
12-bit value (at most 1/510 off) and an EAC 11-bit twin in the nearest 16-bit codes, announced
decoded-texel-precision. Exact holds their floats. PVRTC, the 8-bit ETC2/EAC formats, the ASTC
sRGB formats and 4:2:2 are exact under both. Tested by fast_paths; a FAST-PATHS row.
- Views in the other colour space. An ASTC texture viewed in its other colour space reads a second
twin, made at the first such view: Metal reads that view exactly as a texture of the view's
format over the same blocks, and the two forms widen endpoints apart, so one twin cannot serve
both. Its decodes are queued on the device and recorded by the next batch with work. Counted by
WorkCounts::second_twins, second_twin_checks and second_twin_decodes. PVRTC and 8-bit ETC2/EAC
views of the other colour space share the one twin.
- Copies between a compressed texture and an uncompressed one whose texel is the block's bytes
(BC1 or ETC2 with RG32Uint, BC7 or ASTC with RGBA32Uint) run with Metal's rule: every coordinate
in the destination's texels, a block per texel. They were refused as formats of different units.
- Notices: carried-decoded-twin (Performance) on every twinned texture; decoded-texel-precision
(Precision) only for an ASTC LDR or EAC 11-bit twin under Compact.
- Typed refusals: RuntimeGap::DecodedHeapTexture (a heap's ASTC texture, a sparse heap's carried
texture; the heap size query refuses alike); views of the ASTC HDR form, of another footprint or
PVRTC block, and of an EAC 11-bit format as its other signedness (Unsupported(TextureView));
copies between PVRTC and an uncompressed format, between two compressed formats of one block size
and different extents, and level or slice copies between compressed and uncompressed formats
(NotImplemented(Format)). A device with the native format keeps the direct path.
- Docs: the API.md catalogue entries, the FAST-PATHS decoded_texels row and known gaps, and the
module docs of astc.rs, etc.rs, pvrtc.rs, chroma_pairs.rs and decoded_twin.rs.
Why: Metal makes, reads and samples these textures on Apple GPUs, and the consumer's guest uses
them; the desktop Vulkan drivers have no such formats.
Verified:
- Metal's answers, probed on an M3 Max under macOS 27.0.1: ASTC (seeded random blocks, all 14
footprints, linear and sRGB, read as float and half) bit for bit, digests pinned by
seeded_blocks_read_as_metal_read_them; ETC2/EAC (4096 random blocks of each of the ten formats)
digests equal; PVRTC (all eight formats) every digest equal; 4:2:2 every read, sample and gather
bit for bit what an RGBA8Unorm texture of the decoded codes answers; the copy rule on every listed
pair both ways.
- On the CPU SPIR-V interpreter each GPU kernel writes the CPU decode on every texel: ASTC on every
footprint, linear and sRGB, Float and Unorm8, with blocks covering all 16 endpoint modes, every
partition count, dual plane and void extent; ETC on every decode and both texel forms; PVRTC on
every format. The kernels are valid on every committed profile.
- Runtime unit filters 63 passed and translator unit filters 183 passed (ETC2/EAC); the runtime's
unit suite 952 of 953 (the one failure the recorder's module-list test, fixed with the recorder).
- On lavapipe: chroma_pairs, pvrtc_textures, the mipmap, fill, buffer-texture and degrade-notice
lanes, 45 passed; format_copies, the whole module. A lavapipe batch caught PVRTC codes read one
ulp high under exact answers, fixed by the Argb8 class.
- clippy -D warnings (plain, m2v_gpu, m2v_cpu_icd) and rustdoc on ms01 and gem10.
19 KiB
19 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). | |||
| 5 | feature | LibraryKind | none | a metallib that is not an executable library, loaded as one |
| 6 | feature | Stage | none | a stage outside AIR's public stages |
| 7 | feature | AddressSpace | none | Apple's AGX library address spaces |
| 8 | feature | ModuleRecord | none | LLVM constructs AIR does not emit |
| 9 | feature | Instruction | none | LLVM instructions AIR does not emit |
| 10 | feature | Type | none | LLVM types AIR does not emit |
| 11 | feature | CallingConvention | none | LLVM calling conventions AIR does not use |
| 12 | feature | UnknownIntrinsic | rare | AIR from a newer compiler (macOS 27 AIR 2.9) |
| 13 | feature | AgxUnmodeled | rare | Apple's own libraries' AGX intrinsics |
| 14 | feature | StaticInitializer | none | LLVM initializers AIR does not emit |
| 15 | feature | Recursion | rare | recursion through visible functions |
| 16 | feature | DynamicCall | rare | function pointers and function tables |
| 17 | feature | Linking | rare | dynamic libraries and linked functions |
| 18 | feature | SimdWidth | app | simdgroup functions on a device whose subgroups cannot run 32 wide for the use |
| 19 | feature | LocalSize | app | a threadgroup size past a smaller device's limit |
| 20 | feature | IrreducibleConvergent | rare | irreducible loops around barriers or simd operations |
| 21 | feature | ComputeDerivativesWithSimd | rare | derivatives in a kernel |
| 22 | feature | ComputeDerivatives | rare | derivatives in a kernel |
| 23 | feature | QuadOperations | app | quad shuffles in kernels on devices without quad operations there |
| 24 | feature | SimdgroupMatrix | rare | simdgroup matrix kernels |
| 25 | feature | ArgumentBufferPointers | app | argument buffers holding buffer pointers |
| 26 | feature | ArgumentBufferTextures | app | argument buffers holding textures and samplers (bindless) |
| 27 | feature | ArgumentBufferObjects | rare | pipeline states and ICBs in argument buffers |
| 28 | feature | DereferenceLoadedPointer | app | pointers loaded from argument buffers |
| 29 | feature | PointerToInteger | rare | pointer to integer casts |
| 30 | feature | PointerCompare | rare | comparing pointers of different roots |
| 31 | feature | HandleAsPointer | rare | resource handles used as byte pointers |
| 32 | feature | ConstantGlobalEscaping | rare | a constant global whose address escapes |
| 33 | feature | ThreadgroupMemorySize | rare | threadgroup memory past a smaller device's limit |
| 34 | feature | CoherentMemory | rare | coherent(device) accesses |
| 35 | feature | Int64Atomics | rare | 64-bit atomics |
| 36 | feature | ImageAtomics | rare | texture atomics beyond 32-bit integers |
| 37 | feature | DescriptorCount | app | many textures or buffers in one stage on a smaller device |
| 38 | feature | BufferRange | app | a buffer window past a device's descriptor range |
| 39 | feature | Int64Arithmetic | rare | 64-bit integers on a device without shaderInt64 |
| 40 | feature | Float64Arithmetic | rare | doubles (MSL has none outside Apple's own code) |
| 41 | feature | Format | system | pixel formats a device lacks for a use (CoreVideo's 4:2:x and 10-bit formats among them) |
| 42 | feature | DivergentImplicitLod | app | implicit-LOD sampling through a dynamically chosen texture |
| 43 | feature | ImplicitLodOutsideFragment | rare | implicit-LOD sampling outside fragment functions |
| 44 | feature | MinLodClamp | rare | min_lod_clamp on a device without shaderResourceMinLod |
| 45 | feature | TexelOffset | app | texel offsets a device cannot apply |
| 46 | feature | GatherExtended | rare | gathers with dynamic offsets or components |
| 47 | feature | StorageImageMultisample | rare | writable multisampled textures |
| 48 | feature | StorageTextureInVertexStage | rare | writable textures in vertex functions |
| 49 | feature | CubeArray | rare | cube arrays on a device without imageCubeArray |
| 50 | feature | SamplerAnisotropy | app | anisotropic samplers an argument buffer lists, on a device without samplerAnisotropy |
| 51 | feature | SamplerBorderColor | app | border colors a device cannot express |
| 52 | feature | SamplerLodBias | app | constexpr samplers with an LOD bias |
| 53 | feature | SamplerCompare | app | compare samplers a device cannot apply to the image |
| 54 | feature | PixelSamplerCompare | none | Apple's compiler rejects it |
| 55 | feature | TexelBuffer | app | texture buffers past a device's texel-buffer limits |
| 56 | feature | RasterOrderGroups | rare | raster order groups |
| 57 | feature | FramebufferFetch | system | programmable 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) |
| 58 | feature | PrimitiveId | rare | primitive_id on a device without geometry or tessellation shaders, in an indexed draw or behind a mesh function |
| 59 | feature | VertexAmplification | rare | vertex amplification |
| 60 | feature | LayeredRendering | rare | layered rendering on a device without its features |
| 61 | feature | ClipDistance | rare | clip distances on a device without them |
| 62 | feature | DualSourceBlending | rare | dual-source blending on a device without it |
| 63 | feature | Barycentrics | rare | barycentric coordinates |
| 64 | feature | StencilExport | rare | stencil from the shader |
| 65 | feature | SampleRateShading | rare | per-sample shading |
| 66 | feature | PixelCoverageAtSampleRate | rare | coverage read at sample rate |
| 67 | feature | InterfaceComponents | rare | too many varyings or attachments for a device |
| 68 | feature | UnmatchedVarying | none | a Metal link error |
| 69 | feature | KernelStageIn | rare | kernel stage-in combinations Metal leaves unestablished |
| 70 | feature | Tessellation | rare | tessellation |
| 71 | feature | MeshShading | rare | mesh pipelines |
| 72 | feature | TileShading | rare | tile shaders (Apple GPU families) |
| 73 | feature | Imageblocks | rare | imageblocks (Apple GPU families) |
| 74 | feature | RayTracing | rare | ray tracing (out of scope by ruling) |
| 75 | feature | Tensors | rare | shader tensors |
| 76 | feature | RasterizationRateMap | rare | rasterization rate maps |
| 77 | feature | GpuEncodedIndirectCommands | rare | indirect command buffers encoded by a kernel |
| 78 | feature | VulkanVersion | none | a device below Vulkan 1.2 |
| 79 | feature | Constant | none | LLVM constant forms AIR does not emit |
| 80 | feature | Attribute | none | LLVM ABI attributes AIR does not use |
| 81 | feature | BitcodeRecord | none | bitcode records AIR does not emit |
| 82 | feature | SyncScope | none | synchronization scopes AIR does not use |
| 83 | feature | SubgroupOperations | app | simdgroup functions in a stage a device's subgroups do not support |
| 84 | feature | DirectCall | rare | variadic or byval calls the inliner cannot take |
| 85 | feature | WideSwitchLiteral | rare | 64-bit switch literals |
| 86 | feature | Lowering | system | the catch-all of lowering families not landed: any shader can meet one |
| 87 | feature | SamplerAddressMode | app | mirror-clamp-to-edge on a device without it |
| 88 | feature | AlphaToOne | rare | alphaToOneEnabled |
| 89 | feature | StageStoresAndAtomics | app | stores or atomics in vertex or fragment functions on a device without the feature |
| 90 | feature | FunctionConstantArgument | rare | a function-constant-removed argument read |
| 91 | feature | SamplerBicubicFilter | system | bicubic 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 |
| 92 | feature | GroupCount | rare | more threadgroups than a device dispatches, past the binder's split |
| 93 | feature | IntersectionFunctionTable | rare | ray tracing (out of scope by ruling) |
| 94 | feature | IndependentBlending | rare | per-attachment blending on a device without independentBlend |
| 95 | feature | RasterSampleCount | app | a sample count a device lacks for the attachments |
| 96 | feature | TriangleFillLines | app | wireframe on a device without fillModeNonSolid |
| 97 | feature | DepthClipClamp | app | depth clamp on a device without depthClamp |
| 98 | feature | DepthBiasClamp | app | depth bias clamp on a device without depthBiasClamp |
| 99 | feature | ConstantAlphaBlendFactor | app | blend-alpha factors on a portability-subset device without them |
| 100 | feature | SparseTexture | rare | sparse residency reads |
| 101 | feature | TextureSize | app | a texture past a device's image limits |
| 102 | feature | TextureSampleCount | app | a sample count a device lacks for the texture |
| 103 | feature | TextureView | app | a texture view Vulkan cannot make exactly |
| 104 | feature | TextureSwizzle | app | texture swizzles whose Metal behaviour is unmeasured |
| 105 | feature | MipmapGeneration | app | generateMipmapsForTexture: where the device's filter is not Metal's |
| 106 | feature | HostMemory | system | newBufferWithBytesNoCopy: where the device cannot import the memory |
| 107 | feature | GpuTimes | rare | GPU times on a queue without timestamps |
| 108 | feature | CountingVisibility | rare | counting occlusion queries on a device without precise queries |
| 109 | feature | ViewFormatReinterpretation | app | a view of another component layout on a portability subset (MoltenVK) |
| 110 | feature | SeparateMultisampledDepthStencil | rare | separate multisampled depth and stencil textures |
| 111 | feature | PixelCoverage | rare | coverage reads at pixel rate in a multisampled pipeline |
| 112 | feature | CentroidVarying | rare | centroid varyings in a multisampled pipeline |
| 113 | feature | PrivateMemory | rare | very large per-thread arrays |
| 114 | feature | SparseTextures | rare | sparse heaps on a device without sparse images |
| 115 | feature | SparseMapping | rare | sparse mappings off the device's blocks |
| 116 | feature | TimelineSemaphores | none | a device below the runtime's floor |
| 117 | feature | Reflection | rare | reflection of argument kinds Metal's answer is unmeasured for |
| 118 | feature | HeapTextureTiling | app | textures in Shared heaps on a device whose optimal images take no host memory |
| 119 | feature | ViewportDepthRange | rare | viewport depth outside [0, 1] |
| 120 | feature | UndeclaredTextureUsage | app | a shader write to a texture made without ShaderWrite, which plain Metal runs |
| 121 | feature | RenderTargetSize | rare | a render area past a device's framebuffer limits |
| 122 | feature | IndirectRenderState | rare | render state set by a kernel on an indirect command |
| 123 | feature | GlobalBuiltinInFragment | rare | Metal 3.1 global built-ins in fragment functions |
| 124 | gap | Textures | rare | texture forms the runtime has not built (texture buffers of some forms, X24Stencil8 views) |
| 125 | gap | ResourceHeap | rare | the resource-ID heap's remaining forms |
| 126 | gap | SparseHeaps | rare | sparse heaps |
| 127 | gap | SparseTileMaps | rare | sparse texture emulation's unbuilt pieces |
| 128 | gap | HeapPastMaxBufferSize | rare | a heap past maxBufferSize |
| 129 | gap | RotatedTexture | rare | a rotated drawable's views, blits with images over overlapping rows, rows past its buffer |
| 130 | gap | HeapTextureAlignment | rare | a heap texture needing more than 256 KiB alignment |
| 131 | gap | HeapTextureMemory | app | a heap texture the heap's memory type does not take |
| 132 | gap | FunctionTablePastMaxBufferLength | none | a function table past one buffer |
| 133 | gap | IndirectCommandBufferPastMaxBufferLength | none | an ICB past one buffer |
| 134 | gap | IndirectRenderCommands | rare | indirect render commands' remaining pieces |
| 135 | gap | IndirectImageblockSize | none | an imageblock side past 65535 |
| 136 | gap | CommandReplay | rare | the device replay of indirect command buffers |
| 137 | gap | RenderAttachments | rare | render attachment forms not built |
| 138 | gap | AccelerationStructures | rare | ray tracing (out of scope by ruling) |
| 139 | gap | FeatureEnable | none | device creation with a feature the runtime's chain lacks |
| 140 | gap | ExtensionEnable | none | device creation with an extension under an unknown name |
| 141 | gap | Render | system | render pass, resolve and attachment forms not built (20 sites: see the appendix) |
| 142 | gap | TexelsPastBufferLength | rare | a 2D array over a buffer past its length |
| 143 | gap | OverlappingSurfaceRows | rare | an IOSurface plane whose rows overlap |
| 144 | gap | SamplePositionsAtBegin | rare | custom sample positions Vulkan takes only at begin |
| 145 | gap | SharedEventAcrossDevices | rare | a shared event opened on another device |
| 146 | gap | ViewportDepthRange | rare | viewport depth outside [0, 1] without the device features |
| 147 | gap | NonFiniteDepthBias | rare | NaN or infinite depth bias |
| 148 | gap | DepthNeverWithoutAttachment | rare | depth compare Never with no depth attachment |
| 149 | gap | HiddenDepthStencil | app | a depth-stencil state using depth or stencil the pass lacks |
| 150 | gap | IndirectDrawArguments | rare | indirect draws whose arguments the CPU must read |
| 151 | gap | DepthStencilResolve | rare | depth/stencil resolve modes a device lacks |
| 152 | gap | TileAtSampleCount | none | tile memory at a sample count Apple's GPUs lack |
| 153 | gap | ImageblockMasters | rare | imageblocks of mixed sizes in one pass |
| 154 | gap | TileAndFragmentImageblocks | rare | explicit imageblocks shared by tile and fragment functions |
| 155 | gap | Metal4Api | app | Metal 4 (the API is missing: METAL-COVERAGE.md) |
| 156 | gap | CounterSampleBuffers | app | GPU counters and timestamps by sample buffer (missing API) |
| 157 | gap | ResidencySets | app | residency sets (missing API) |
| 158 | gap | TextureAccessCounters | rare | sparse texture access counters |
| 159 | gap | IoCommandQueues | rare | fast resource loading (missing API) |
| 160 | gap | TextureViewPools | rare | texture view pools (missing API) |
| 161 | gap | ColorAttachmentMapping | rare | color attachment mapping (missing API) |
| 162 | gap | LossyTextureCompression | rare | lossy texture compression |
| 163 | gap | ShaderValidation | rare | per-pipeline shader validation |
| 164 | gap | ShaderLogging | rare | shader os_log |
| 165 | gap | DeviceNotifications | rare | device hotplug notifications (deprecated) |
| 166 | gap | RateMapRegions | rare | draws in rate-mapped passes the region path does not draw |
| 167 | gap | LayeredPass | rare | layered passes needing a per-layer color resolve |
| 168 | gap | FunctionOptions | rare | function descriptor options beyond CompileToBinary |
| 169 | gap | OverlappingTextureCopies | rare | overlapping texture copies (Metal races) |
| 170 | gap | RebindTextures | none | a runtime extension's rebind with a live texture |
| 171 | gap | DetachTextures | none | a runtime extension's detach with a texture no stand-in presents exactly |
| 172 | gap | DetachedTexelAccess | none | CPU texel access while a runtime extension detached the bytes |
| 173 | gap | TextureBufferLevels | rare | a texture buffer of more than one level (public, unusual) |
| 174 | gap | WriteSwizzle | none | Apple-private writeSwizzleEnabled with a swizzle that writes |
| 175 | gap | PvrtcBlockOrder | rare | PVRTC regions off whole levels |
| 176 | gap | DecodedHeapTexture | app | an ASTC texture in a heap on a device without ASTC |
| 177 | gap | VertexFetchPast4GiB | rare | vertex fetch past 4 GiB of a bind offset |
| 178 | gap | StageInFetchPast4GiB | rare | stage-in fetch past 4 GiB of a bind offset |
| 179 | apple | ProtectedContent | none | Apple-private (no public header) |
| 180 | apple | LineWidth | none | Apple-private (no public header) |
| 181 | apple | ProvokingVertexMode | none | Apple-private (no public header) |
| 182 | apple | ViewportTransformDisabled | none | Apple-private (no public header) |
| 183 | apple | VertexAmplificationMode | none | Apple-private (no public header) |
| 184 | apple | DepthCleared | none | Apple-private (no public header) |
| 185 | apple | StencilCleared | none | Apple-private (no public header) |
| 186 | apple | SurfaceClientDirection | none | an IOSurface key in no public header |
| 187 | apple | FillUnmeasured | system | Apple-private texture fills, which macOS system software encodes |
| 188 | bind | DescriptorRangeExceeded | app | a buffer window past a device's descriptor range |
| 189 | bind | TexelBufferTooLarge | rare | a texture buffer past maxTexelBufferElements |
| 190 | bind | HeapTooLarge | rare | more resident textures than the pipeline's heap holds (bindless at scale) |
| 191 | bind | TessellationFactorRange | rare | tessellation factors past one storage descriptor |
| 192 | bind | PatchIndexRange | rare | patch indices past one storage descriptor |
| 193 | bind | ControlPointIndexRange | rare | control-point indices past one storage descriptor |
| 194 | bind | MissingStageInRegion | none | a stage-in region never set, which Metal leaves undefined |
| 195 | bind | UniformViewAliased | rare | Profile F's uniform-view fallback aliased by a write |
| 196 | bind | MissingDeviceAddress | rare | a slot reached through a pointer loaded from memory, bound with inline bytes or on a device without device addresses |
| 197 | limit | InlinedInstructions | rare | very large shaders after inlining |
| 198 | limit | OutputBlocks | rare | very large control flow |
| 199 | limit | IrreducibleDepth | none | deeply nested irreducible loops |
| 200 | limit | SpirvWords | rare | very large output modules |
| 201 | limit | WorkUnits | rare | very large shaders |
| 202 | limit | LedgerBytes | rare | very large shaders |
| 203 | limit | TypeCount | none | a type table past the cap |
| 204 | limit | MetadataNodes | none | metadata past the cap |
| 205 | limit | BitstreamNesting | none | malformed nesting |
| 206 | limit | InstructionCount | rare | very large modules |
| 207 | limit | LayoutNesting | none | argument-buffer layouts nested past the cap |
| 208 | limit | ConstructNesting | none | control flow nested past the cap |
| 209 | limit | PrivateArenaBytes | none | a private arena past 4 GiB |
| 210 | limit | CallStackBytes | rare | deep visible-function call stacks |
| 211 | gap | MappedTextureSampling | none | a runtime extension's texture (address_mode_map) sampled where the runtime cannot map it; no Metal API path |
| 212 | ratemap | ScreenExtent | rare | a rate map whose screen is past 16384 a side |
| 213 | ratemap | LayerCount | none | a rate map of more than two layers, which Apple's compile crashes on |
| 214 | ratemap | DenseSamples | rare | a rate map axis with more quality samples than screen pixels |
| 215 | ratemap | SampleOutOfRange | rare | a rate map quality sample outside [0, 1] among others |
| 216 | ratemap | SampleCount | rare | a rate map axis of more distinct samples than measured (9 on one layer, 4 on two) |
| 217 | budget | Time | none | a translation past its deadline: a defect of ours to fix on any supported input (AGENTS.md: 20 seconds) |
| 218 | gap | LibrarySource | app | a library compiled from Metal source (newLibraryWithSource:); the runtime takes metallibs and AIR |
| 219 | gap | RestartedStrip | none | a strip after the Apple-private setPrimitiveRestartEnabled:index: whose rewrite pass cannot run as Metal draws |
| 220 | gap | PrimitiveIdIndices | rare | an indexed draw of a primitive_id pipeline, on a device without geometry or tessellation shaders, whose indices the encoder wrote since its last barrier |
| 221 | feature | PrivateRenderState | none | Apple-private pipeline fields of OpenGL on Metal (no public header) |
| 222 | gap | SurfaceDepthStencil | rare | a blit of the stencil of a Depth32Float_Stencil8 texture over a plane of an IOSurface with planes, or a pass on an X32_Stencil8 one's view as Depth32Float_Stencil8 |
| 223 | feature | ExtendedRangeBlend | system | the parts of a blend into an extended-range (XR10) attachment the measured model does not hold (second-source factors, the color blend color difference, a one-color-channel mask, float4 and sRGB outside the measured forms); the consumer's guests blend RGB10A8_2P_XR10 attachments |
| 224 | feature | TileReach | app | the tiles a pass's draws reach, binned on a device without shaderInt64 |
| 225 | gap | HostHeapUncompressedMultisample | none | a multisample texture Metal keeps uncompressed in a runtime extension's heap over host pages |
| 226 | feature | CommandPredication | none | Apple-private command predication on a device without buffer device addresses |
| 227 | feature | ProgramScopeBinding | app | MSL 3.2 program-scope buffer bindings (macOS 15 and later) |
| 228 | feature | SeqCstFence | rare | a seq_cst fence in a vertex or fragment stage without its stores and atomics |
| 229 | gap | PredicationUnbalanced | none | an unbalanced Apple-private command-predication record, whose dropped work Metal decides by no rule measured |
| 230 | gap | PredicationOpenAtUnitEnd | none | an Apple-private predication If left open, live, where its unit ends |
| 231 | gap | PredicationWordPastBuffer | none | an Apple-private predication condition word past its buffer |
| 232 | gap | PredicatedLoopDepth | none | an Apple-private predicated loop four deep |
| 233 | gap | PredicatedLoopAcrossEncoders | none | a live Apple-private predicated loop spanning compute encoders |
| 234 | gap | MultisampledBufferCopy | rare | a buffer<->multisampled-texture copy on a device without sample-rate shading, an integer multisample attachment at the count, or the copy format's storage; and, where maintenance8's depth/colour copies are missing or wrong, what the sample-rate draws cannot move: a 16-bit depth, a depth or stencil texture they cannot sample or render to, or a 32-bit float depth on a driver whose fragment depth is unmeasured (emulated elsewhere; the consumer's Maps pans and screensaver make the copy) |
| 235 | gap | ColorAttachmentGroups | app | in a render pass of more color attachments than the device draws at once (five or more on a device of four), or one at an index past them: a pipeline state of other colors, a tile state, an execution of render commands, a draw reading another group's attachment |