Under the identity domains a kernel's texture slots now lower. A slot's gpuResourceID is pushed as its PushField::SlotGuestBase (the index in the low word, the word in the high one). Its texture is the element at that index of one of set 1's two fixed arrays: binding 0, SAMPLED_IMAGE x 65,536, and binding 1, STORAGE_IMAGE x 4,096. Each is partially bound, updated after binding and while unused elements are pending, and seen by every stage, with the same layout for every pipeline (BindingSource::IdentityArray). Each image class the kernel declares (shape, numeric type and depth comparison, sampled, or storage without a format) is a variable of its descriptor type's binding. The slot binds no descriptor and declares no specialization constant: - is_null_texture answers whether the index is 0. Nil needs nothing else in the shader, since element 0 of each array is a null descriptor (the device test ofba4454b05b). - A read the shader checks itself takes Metal's out-of-bounds alpha of 1 from bit 12 of the word (TextureWord::OUT_OF_BOUNDS_ALPHA_ONE). - The ResourcePresence and OutOfBoundsAlpha facts are not stated there. No binder chooses a variant under identity, so a slot reads whatever texture its ID names through the plain form: - the variant facts (cross-class reads, planes read in place, texel rows, texture-buffer parts) are not stated; - a float or half read takes the device's sRGB decode with PrecisionNote::SrgbTexelDecode (VkProperty::MetalSampler on MoltenVK), as a heap element's does, with no SrgbTexture twin; - no texture is sparse (the consumer refuses one): no write-dropping SparseTexture constant and no ConstantLanes; - a storage slot is formatless with no StorageTextureFormat fact. Where the device cannot access it without a format, the slot is refused as Unsupported{IdentityDomains} instead of asking for an input no consumer gives there. Admission stays typed. Under identity, a function is refused as Unsupported{IdentityDomains}, not implemented, if it: - samples (any sampler plan; Metal's own sampler as a requirement is allowed); - reaches textures through argument buffers (any heap group); - declares a slot with no identity class: texture buffers, level views, cube-as-array, planes, extended range, RGBX, ulong, or a storage image with a format; - uses a slot whose state comes from anything but its ID: border texels, sparse residency arms, a half conversion by the bound format, swizzles, offset bases; - carries a fact naming such state (identity_unsourced). That keeps the arm64-only forms (two-plane, extended range, sRGB twins) out of the identity domains, as the x86 scope wants. The old binder refuses an identity array as an internal error, since the consumer writes those arrays. SEMANTICS_VERSION 2150 (identity output changes), ARTIFACT_FORMAT_VERSION 529 (BindingSource gains IdentityArray). docs/RESOURCE-ID.md says what the arrays are and what the shader reads of an ID. docs/API.md says what the identity domains lower. The refusal surface and the API signatures are regenerated. The blessed table also gains metal2vulkan-rt::PrecisionNote::CappedLodBias, a variant development's table lacked. Verified, on developmentcfa389aa9b(check commit 564d131163, same tree): - msi, job m3-max-41519: clippy -p metal2vulkan --all-targets --all-features -D warnings, rustdoc -D warnings, and nextest of metal2vulkan's whole suite: 3672 tests run, 3672 passed, 20 skipped. - msi, job m3-max-41520: clippy of metal2vulkan under --cfg m2v_gpu and --cfg m2v_cpu_icd, both clean. - The new test, texture_slots_are_the_set_1_elements_their_pushed_resource_ids_name, runs on lavapipe, moltenvk-m3, and moltenvk-m3 without robustImageAccess2. Its words come from tests/resource_words.tsv rows 70 and 10, checked against TextureWord::of. It checks the fixed set-1 layout and that the pushed fields are exactly the buffer, the three texture IDs and the region. On the interpreter, with the source at sampled element 3 and the destination at storage element 2, it checks the reads, the writes, the width and is_null_texture both ways (index 0 and index 1). On moltenvk-m3 without robustImageAccess2, where the shader checks the read, the source image traps any access outside it and the out-of-bounds alpha comes from bit 12 of the word: 1.0 for R8Unorm, 0.0 for RGBA8Unorm. On the other two profiles the device's robust texel answers. - The same change on the earlier base 9a3b6587b2 (jobs m3-max-41478 and 41479): 3670 of 3670, clippy clean in all three configurations.
22 KiB
22 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 file type Apple's toolchain is not seen to write |
| 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 | SimdgroupMatrix16x16x16 | rare | 16x16x16 simdgroup matrix products (Metal: Apple10 GPUs and later) |
| 26 | feature | ArgumentBufferPointers | app | argument buffers holding buffer pointers |
| 27 | feature | ArgumentBufferTextures | app | argument buffers holding textures and samplers (bindless) |
| 28 | feature | ArgumentBufferObjects | rare | pipeline states and ICBs in argument buffers |
| 29 | feature | DereferenceLoadedPointer | app | pointers loaded from argument buffers |
| 30 | feature | PointerToInteger | rare | pointer to integer casts |
| 31 | feature | PointerCompare | rare | comparing pointers of different roots |
| 32 | feature | HandleAsPointer | rare | resource handles used as byte pointers |
| 33 | feature | ConstantGlobalEscaping | rare | a constant global whose address escapes |
| 34 | feature | ThreadgroupMemorySize | rare | threadgroup memory past a smaller device's limit |
| 35 | feature | CoherentMemory | rare | coherent(device) accesses |
| 36 | feature | Int64Atomics | rare | 64-bit atomics |
| 37 | feature | ImageAtomics | rare | texture atomics beyond 32-bit integers |
| 38 | feature | DescriptorCount | app | many textures or buffers in one stage on a smaller device |
| 39 | feature | StageSize | rare | a kernel too large for a driver's compiler, on a driver measured to corrupt one past its bound or to outgrow host memory below it |
| 40 | feature | BufferRange | app | a buffer window past a device's descriptor range |
| 41 | feature | Int64Arithmetic | rare | 64-bit integers on a device without shaderInt64 |
| 42 | feature | Float64Arithmetic | rare | doubles (MSL has none outside Apple's own code) |
| 43 | feature | Format | system | pixel formats a device lacks for a use (CoreVideo's 4:2:x and 10-bit formats among them) |
| 44 | feature | DivergentImplicitLod | app | implicit-LOD sampling through a dynamically chosen texture |
| 45 | feature | ImplicitLodOutsideFragment | rare | implicit-LOD sampling outside fragment functions |
| 46 | feature | MinLodClamp | rare | min_lod_clamp on a device without shaderResourceMinLod |
| 47 | feature | TexelOffset | app | texel offsets a device cannot apply |
| 48 | feature | GatherExtended | rare | gathers with dynamic offsets or components |
| 49 | feature | StorageImageMultisample | rare | writable multisampled textures |
| 50 | feature | StorageTextureInVertexStage | rare | writable textures in vertex functions |
| 51 | feature | CubeArray | rare | cube arrays on a device without imageCubeArray |
| 52 | feature | SamplerAnisotropy | app | anisotropic samplers an argument buffer lists, on a device without samplerAnisotropy |
| 53 | feature | SamplerBorderColor | app | border colors a device cannot express |
| 54 | feature | SamplerLodBias | app | constexpr samplers with an LOD bias |
| 55 | feature | SamplerCompare | app | compare samplers a device cannot apply to the image |
| 56 | feature | PixelSamplerCompare | none | Apple's compiler rejects it |
| 57 | feature | TexelBuffer | app | texture buffers past a device's texel-buffer limits |
| 58 | feature | RasterOrderGroups | rare | raster order groups |
| 59 | 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) |
| 60 | feature | PrimitiveId | rare | primitive_id on a device without geometry or tessellation shaders, in an indexed draw or behind a mesh function |
| 61 | feature | PrivatePrimitives | rare | a 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 |
| 62 | feature | VertexAmplification | rare | vertex amplification |
| 63 | feature | LayeredRendering | rare | layered rendering on a device without its features |
| 64 | feature | ClipDistance | rare | clip distances on a device without them |
| 65 | feature | DualSourceBlending | rare | dual-source blending on a device without it |
| 66 | feature | Barycentrics | rare | barycentric coordinates |
| 67 | feature | StencilExport | rare | stencil from the shader |
| 68 | feature | SampleRateShading | rare | per-sample shading |
| 69 | feature | PullModelInterpolation | rare | interpolant inputs read at the centroid, a sample or an offset |
| 70 | feature | SamplePositions | rare | custom sample positions on a device that takes none at the pass's sample count |
| 71 | feature | PixelCoverageAtSampleRate | rare | coverage read at sample rate |
| 72 | feature | InterfaceComponents | rare | too many varyings or attachments for a device |
| 73 | feature | UnmatchedVarying | none | a Metal link error |
| 74 | feature | KernelStageIn | rare | kernel stage-in combinations Metal leaves unestablished |
| 75 | feature | Tessellation | rare | tessellation |
| 76 | feature | MeshShading | rare | mesh pipelines |
| 77 | feature | TileShading | rare | tile shaders (Apple GPU families) |
| 78 | feature | Imageblocks | rare | imageblocks (Apple GPU families) |
| 79 | feature | RayTracing | rare | ray tracing (out of scope by ruling) |
| 80 | feature | Tensors | rare | shader tensors |
| 81 | feature | RasterizationRateMap | rare | rasterization rate maps |
| 82 | feature | GpuEncodedIndirectCommands | rare | indirect command buffers encoded by a kernel |
| 83 | feature | VulkanVersion | none | a device below Vulkan 1.2 |
| 84 | feature | IdentityDomains | none | the identity domains, which the new runtime alone takes and which lower only kernels over buffer slots and unsampled texture slots so far |
| 85 | feature | Constant | none | LLVM constant forms AIR does not emit |
| 86 | feature | Attribute | none | LLVM ABI attributes AIR does not use |
| 87 | feature | BitcodeRecord | none | bitcode records AIR does not emit |
| 88 | feature | SyncScope | none | synchronization scopes AIR does not use |
| 89 | feature | SubgroupOperations | app | simdgroup functions in a stage a device's subgroups do not support |
| 90 | feature | DirectCall | rare | variadic or byval calls the inliner cannot take |
| 91 | feature | WideSwitchLiteral | rare | 64-bit switch literals |
| 92 | feature | Lowering | system | the catch-all of lowering families not landed: any shader can meet one |
| 93 | feature | SamplerAddressMode | app | mirror-clamp-to-edge on a device without it |
| 94 | feature | AlphaToOne | rare | alphaToOneEnabled on a device without alphaToOne |
| 95 | feature | StageStoresAndAtomics | app | stores or atomics in vertex or fragment functions on a device without the feature |
| 96 | feature | FunctionConstantArgument | rare | a function-constant-removed argument read |
| 97 | 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 |
| 98 | feature | GroupCount | rare | more threadgroups than a device dispatches, past the binder's split |
| 99 | feature | IntersectionFunctionTable | rare | ray tracing (out of scope by ruling) |
| 100 | feature | IndependentBlending | rare | per-attachment blending on a device without independentBlend |
| 101 | feature | RasterSampleCount | app | a sample count a device lacks for the attachments |
| 102 | feature | TriangleFillLines | app | wireframe on a device without fillModeNonSolid |
| 103 | feature | TriangleFillPoints | system | Apple's GL renderer's glPolygonMode(GL_POINT) on a device without fillModeNonSolid, or a portability-subset device without pointPolygons (MoltenVK) |
| 104 | feature | DepthClipClamp | app | depth clamp on a device without depthClamp |
| 105 | feature | DepthBiasClamp | app | depth bias clamp on a device without depthBiasClamp |
| 106 | feature | ConstantAlphaBlendFactor | app | blend-alpha factors on a portability-subset device without them |
| 107 | feature | SparseTexture | rare | sparse residency reads |
| 108 | feature | TextureSize | app | a texture past a device's image limits |
| 109 | feature | TextureSampleCount | app | a sample count a device lacks for the texture |
| 110 | feature | TextureView | app | a texture view Vulkan cannot make exactly |
| 111 | feature | TextureSwizzle | app | texture swizzles whose Metal behaviour is unmeasured |
| 112 | feature | MipmapGeneration | app | generateMipmapsForTexture: of a format or chain neither the device's blits nor the compute filter can run |
| 113 | feature | HostMemory | system | newBufferWithBytesNoCopy: where the device cannot import the memory |
| 114 | feature | GpuTimes | rare | GPU times on a queue without timestamps |
| 115 | feature | CountingVisibility | rare | counting occlusion queries on a device without precise queries |
| 116 | feature | ViewFormatReinterpretation | app | a view of another component layout on a portability subset (MoltenVK) |
| 117 | feature | SeparateMultisampledDepthStencil | rare | separate multisampled depth and stencil textures |
| 118 | feature | PixelCoverage | rare | coverage reads at pixel rate in a multisampled pipeline |
| 119 | feature | PostDepthCoverage | rare | the coverage after early depth and stencil tests on a device without VK_EXT_post_depth_coverage |
| 120 | feature | CentroidVarying | rare | centroid varyings in a multisampled pipeline |
| 121 | feature | PrivateMemory | rare | very large per-thread arrays |
| 122 | feature | SparseTextures | rare | sparse heaps on a device without sparse images |
| 123 | feature | TimelineSemaphores | none | a device below the runtime's floor |
| 124 | feature | Reflection | rare | reflection of argument kinds Metal's answer is unmeasured for |
| 125 | feature | HeapTextureTiling | app | textures in Shared heaps on a device whose optimal images take no host memory |
| 126 | feature | ViewportDepthRange | rare | viewport depth outside [0, 1] |
| 127 | feature | UndeclaredTextureUsage | app | a shader write to a texture made without ShaderWrite, which plain Metal runs |
| 128 | feature | RenderTargetSize | rare | a render area past a device's framebuffer limits |
| 129 | feature | IndirectRenderState | rare | render state set by a kernel on an indirect command |
| 130 | feature | GlobalBuiltinInFragment | rare | Metal 3.1 global built-ins in fragment functions |
| 131 | gap | Textures | rare | texture forms the runtime has not built (texture buffers of some forms, X24Stencil8 views) |
| 132 | gap | ResourceHeap | rare | the resource-ID heap's remaining forms |
| 133 | gap | SparseHeaps | rare | sparse heaps |
| 134 | gap | SparseTileMaps | rare | sparse texture emulation's unbuilt pieces |
| 135 | gap | HeapPastMaxBufferSize | rare | a heap past maxBufferSize |
| 136 | gap | RotatedTexture | rare | a rotated drawable's views, rows past its buffer |
| 137 | gap | HeapTextureAlignment | rare | a heap texture needing more than 256 KiB alignment |
| 138 | gap | HeapTextureMemory | app | a heap texture the heap's memory type does not take |
| 139 | gap | FunctionTablePastMaxBufferLength | none | a function table past one buffer |
| 140 | gap | IndirectCommandBufferPastMaxBufferLength | none | an ICB past one buffer |
| 141 | gap | IndirectRenderCommands | rare | indirect render commands' remaining pieces |
| 142 | gap | IndirectImageblockSize | none | an imageblock side past 65535 |
| 143 | gap | CommandReplay | rare | the device replay of indirect command buffers |
| 144 | gap | RenderAttachments | rare | render attachment forms not built |
| 145 | gap | AccelerationStructures | rare | ray tracing (out of scope by ruling) |
| 146 | gap | FeatureEnable | none | device creation with a feature the runtime's chain lacks |
| 147 | gap | ExtensionEnable | none | device creation with an extension under an unknown name |
| 148 | gap | Render | system | render pass, resolve and attachment forms not built (20 sites: see the appendix) |
| 149 | gap | TexelsPastBufferLength | rare | a YCbCr, two-plane, 4:2:2, depth, BC or rotated texture over an IOSurface plane past its surface |
| 150 | gap | OverlappingSurfaceRows | rare | an IOSurface plane whose rows overlap |
| 151 | gap | MemorylessSurfacePlane | rare | a memoryless texture over an IOSurface plane |
| 152 | gap | SurfacePlaneShape | rare | a texture over an IOSurface plane past one 2D image of its rows, or a BC one of 16-byte blocks off 16 |
| 153 | gap | IndirectCommandPastSize | none | an indirect command at or past the buffer's size |
| 154 | gap | ExecutionRangePastBuffer | rare | an execution range whose 8 bytes run past its buffer |
| 155 | gap | ExecutionRangeOffFour | rare | an execution range at an offset off 4 bytes |
| 156 | gap | IndirectCommandUnstridedBuffer | rare | an executed indirect command's buffer bound without the attribute stride the dynamic layout of its pipeline reads, where the pipeline's descriptor turned `support_dynamic_attribute_stride` on (with it off there is no stride word, and the runtime answers the bind at stride 0 as Metal does) |
| 157 | gap | SamplePositionsAtBegin | rare | custom sample positions Vulkan takes only at begin |
| 158 | gap | InterpolateAtSampleWithPositions | rare | interpolate_at_sample in a pass at custom sample positions |
| 159 | gap | ExportableMemory | none | a runtime extension's exportable buffer on a device without the opaque-fd export |
| 160 | gap | DmaBufExport | none | a runtime extension's dma-buf-exportable buffer on a device without the dma-buf export |
| 161 | gap | ExportableSemaphore | none | a runtime extension's exportable shared event on a device without the opaque-fd export |
| 162 | gap | SyncFileExport | none | a runtime extension's completion sync file on a device without the sync-file export |
| 163 | gap | SharedEventAcrossDevices | rare | a shared event opened on another device |
| 164 | gap | VkImagePlaneCopy | none | a runtime extension's texture over a plane of the caller's VkImage copied, filled, mipmapped or rendered to |
| 165 | gap | ViewportDepthRange | rare | viewport depth outside [0, 1] without the device features |
| 166 | gap | NonFiniteDepthBias | rare | NaN or infinite depth bias |
| 167 | gap | DepthNeverWithoutAttachment | rare | depth compare Never with no depth attachment |
| 168 | gap | HiddenDepthStencil | app | a depth-stencil state using depth or stencil the pass lacks |
| 169 | gap | IndirectDrawArguments | rare | indirect draws whose arguments the CPU must read |
| 170 | gap | DepthStencilResolve | rare | depth/stencil resolve modes a device lacks |
| 171 | gap | TileAtSampleCount | none | tile memory at a sample count Apple's GPUs lack |
| 172 | gap | ImageblockMasters | rare | imageblocks of mixed sizes in one pass |
| 173 | gap | TileAndFragmentImageblocks | rare | explicit imageblocks shared by tile and fragment functions |
| 174 | gap | Metal4Api | app | Metal 4 (the API is missing: METAL-COVERAGE.md) |
| 175 | gap | CounterSampleBuffers | app | GPU counters and timestamps by sample buffer (missing API) |
| 176 | gap | ResidencySets | app | residency sets (missing API) |
| 177 | gap | TextureAccessCounters | rare | sparse texture access counters |
| 178 | gap | IoCommandQueues | rare | fast resource loading (missing API) |
| 179 | gap | TextureViewPools | rare | texture view pools (missing API) |
| 180 | gap | ColorAttachmentMapping | rare | color attachment mapping (missing API) |
| 181 | gap | LossyTextureCompression | rare | lossy texture compression |
| 182 | gap | ShaderValidation | rare | per-pipeline shader validation |
| 183 | gap | ShaderLogging | rare | shader os_log |
| 184 | gap | DeviceNotifications | rare | device hotplug notifications (deprecated) |
| 185 | gap | RateMapRegions | rare | draws in rate-mapped passes the region path does not draw |
| 186 | gap | LayeredPass | rare | layered passes needing a per-layer color resolve |
| 187 | gap | OverlappingTextureCopies | rare | overlapping texture copies (Metal races) |
| 188 | gap | EmptyFillPattern | none | a fill of no pattern bytes through the Apple-private fillTexture:...:bytes:length: |
| 189 | gap | RebindTextures | none | a runtime extension's rebind with a live texture |
| 190 | gap | DetachTextures | none | a runtime extension's detach with a texture no stand-in presents exactly |
| 191 | gap | DetachedTexelAccess | none | CPU texel access while a runtime extension detached the bytes |
| 192 | gap | TextureBufferLevels | rare | a texture buffer of more than one level (public, unusual) |
| 193 | gap | WriteSwizzle | none | Apple-private writeSwizzleEnabled with a swizzle that writes |
| 194 | gap | PvrtcBlockOrder | rare | PVRTC regions off whole levels |
| 195 | gap | DecodedHeapTexture | app | an ASTC texture in a heap on a device without ASTC |
| 196 | gap | VertexFetchPast4GiB | rare | vertex fetch past 4 GiB of a bind offset |
| 197 | gap | StageInFetchPast4GiB | rare | stage-in fetch past 4 GiB of a bind offset |
| 198 | apple | ProtectedContent | none | Apple-private (no public header) |
| 199 | apple | ViewportTransformDisabled | none | Apple-private (no public header) |
| 200 | apple | VertexAmplificationMode | none | Apple-private (no public header) |
| 201 | apple | DepthCleared | none | Apple-private (no public header) |
| 202 | apple | StencilCleared | none | Apple-private (no public header) |
| 203 | apple | SurfaceClientDirection | none | an IOSurface key in no public header |
| 204 | bind | DescriptorRangeExceeded | app | a buffer window past a device's descriptor range |
| 205 | bind | TexelBufferTooLarge | rare | a texture buffer past maxTexelBufferElements its parts do not bind |
| 206 | bind | HeapTooLarge | rare | more resident textures than the pipeline's heap holds (bindless at scale) |
| 207 | bind | TessellationFactorRange | rare | tessellation factors past one storage descriptor |
| 208 | bind | PatchIndexRange | rare | patch indices past one storage descriptor |
| 209 | bind | ControlPointIndexRange | rare | control-point indices past one storage descriptor |
| 210 | bind | MissingStageInRegion | none | a stage-in region never set, which Metal leaves undefined |
| 211 | bind | UniformViewAliased | rare | Profile F's uniform-view fallback aliased by a write |
| 212 | bind | MissingDeviceAddress | rare | a slot reached through a pointer loaded from memory, bound with inline bytes or on a device without device addresses |
| 213 | limit | InlinedInstructions | rare | very large shaders after inlining |
| 214 | limit | OutputBlocks | rare | very large control flow |
| 215 | limit | IrreducibleDepth | none | deeply nested irreducible loops |
| 216 | limit | SpirvWords | rare | very large output modules |
| 217 | limit | WorkUnits | rare | very large shaders |
| 218 | limit | LedgerBytes | rare | very large shaders |
| 219 | limit | TypeCount | none | a type table past the cap |
| 220 | limit | MetadataNodes | none | metadata past the cap |
| 221 | limit | BitstreamNesting | none | malformed nesting |
| 222 | limit | InstructionCount | rare | very large modules |
| 223 | limit | LayoutNesting | none | argument-buffer layouts nested past the cap |
| 224 | limit | ConstructNesting | none | control flow nested past the cap |
| 225 | limit | PrivateArenaBytes | none | a private arena past 4 GiB |
| 226 | limit | CallStackBytes | rare | deep visible-function call stacks |
| 227 | gap | MappedTextureSampling | none | a runtime extension's texture (address_mode_map) sampled where the runtime cannot map it; no Metal API path |
| 228 | ratemap | ScreenExtent | rare | a rate map whose screen is past 16384 a side |
| 229 | ratemap | LayerCount | none | a rate map of more than two layers, which Apple's compile crashes on |
| 230 | ratemap | DenseSamples | rare | a rate map axis with more quality samples than screen pixels |
| 231 | ratemap | SampleOutOfRange | rare | a rate map quality sample outside [0, 1] among others |
| 232 | ratemap | SampleCount | rare | a rate map axis of more distinct samples than measured (9 on one layer, 4 on two) |
| 233 | budget | Time | none | a translation past its deadline: a defect of ours to fix on any supported input (AGENTS.md: 20 seconds) |
| 234 | gap | LibrarySource | app | a library compiled from Metal source (newLibraryWithSource:); the runtime takes metallibs and AIR |
| 235 | gap | RestartedStrip | none | a strip after the Apple-private setPrimitiveRestartEnabled:index: whose rewrite pass cannot run as Metal draws |
| 236 | gap | ProvokingVertex | none | a draw after the Apple-private setProvokingVertexMode: 1, on a device without the last provoking vertex, whose rotated list cannot draw as Metal draws |
| 237 | gap | PrivatePrimitives | none | a draw of an Apple-private primitive type (OpenGL on Metal's quads and kin) whose list cannot draw as Metal draws: a list past a u32 or one storage range, indices or arguments an unordered earlier draw wrote |
| 238 | 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 |
| 239 | feature | PrivateRenderState | none | Apple-private pipeline fields of OpenGL on Metal (no public header) |
| 240 | 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 |
| 241 | feature | ExtendedRangeBlend | system | an 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 |
| 242 | feature | CommandPredication | none | Apple-private command predication on a device without buffer device addresses |
| 243 | feature | ProgramScopeBinding | app | MSL 3.2 program-scope buffer bindings (macOS 15 and later) |
| 244 | feature | GenericPointer | system | MSL 4.1 generic pointers held in memory or of two spaces (macOS 27 and later) |
| 245 | feature | SeqCstFence | rare | a seq_cst fence in a vertex or fragment stage without its stores and atomics |
| 246 | 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 on a driver whose codes the fragment-depth draw is not measured to keep, or a depth or stencil texture they cannot sample or render to (emulated elsewhere; the consumer's Maps pans and screensaver make the copy) |
| 247 | gap | MultisampledBufferLayout | rare | a buffer<->multisampled-texture copy at a bytesPerRow of 0 from an offset that is a multiple of 16, or of pixels of 32 bytes or more at a pitch below a row or off the pixel: Metal copies these by rules not yet reduced, and its API validation rejects them |
| 248 | 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 |
| 249 | gap | MadeBeforeRecovery | app | any object a program made before its device recovered from a lost VkDevice that the recovery does not carry (a pooled Shared or Managed buffer in memory the device allocated, a texture, a pipeline state), used after the recovery |
| 250 | gap | AdoptedDeviceRecovery | none | the recovery test hook on a device the consumer made itself |
| 251 | gap | RemadeAfterRecoveryFailed | app | a pipeline state made before its device recovered from a lost VkDevice whose making again on the new one failed, bound after the recovery |
| 252 | feature | WideLines | none | a 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) |
| 253 | gap | WideLines | none | under the Apple-private setLineWidth: at a width other than 1, a line strip drawn as the band whose list of segments the runtime cannot draw (past what a u32 counts or one storage range binds, or indices an unordered draw wrote) |