The device's depth bias unit on every format, and the device's store of untouched texels in
place of the unused-bits load pass (deleted with its capture machinery); the NaN depth
discard documented as capability. SEMANTICS 1910, RUNTIME 1682.
One work packet, landed as 7 commit(s) (88bcfeaea8..6aec9db4e9 on archive/development-linear-2026-10-28-evening), in order:
* Take the device's depth bias on a Depth16Unorm depth
Rule 1: the device's depth bias is its native form, so it is the only one. A
constant bias (or a slope alone) on a Depth16Unorm depth was recorded through
VK_EXT_depth_bias_control's depthBiasExact as Metal's own rule, c + 1 units of
1/65535 for c of 0 or more and c - 1 below (one unit for a slope alone), in
depth (floatRepresentation) or in 2^-16. Now `metal::state::depth_bias` hands
Metal's constant to vkCmdSetDepthBias in the device's own unit r on every depth
format; Vulkan leaves a fixed-point format's r to the implementation, at most
2 x 2^-16 ("Depth Bias", primsrast.adoc).
Deleted, nothing reading them any more: `depth16_units`, `DepthBiasUnit` and
`DepthBias::unit`, the `depth_format` parameter of `depth_bias` and of the
runtime's `vk_depth_bias`; the runtime's vkCmdSetDepthBias2EXT path
(`DepthBiasCommand`, `depth_bias_command`, the record's pinned representation,
the device's command, its priming and `DEPTH_BIAS_CALLS`, the exit guard's and
recorder's `CmdSetDepthBias2`, `Logged::SetDepthBias2` and its thunk, so
`CommandsReplayed::cmd_set_depth_bias2` goes). VK_EXT_depth_bias_control is
still described but no longer consumed, so the core recommends enabling neither
it nor its three features.
RADV on the 780M no longer takes DriverDeviation::MetalDepth16BiasedStores: it
was measured through the exact unit. MoltenVK keeps it (it hands Metal its
constant, by construction). Elsewhere `unorm-depth-bias` announces the device's
bias; its cost text, docs/API.md's entry, the deviation and property docs and a
new FAST-PATHS device-gap row state it.
Tests: `metal::state::a_unorm_depth_bias_is_metals_constant_in_the_devices_unit`
(the constant as given on lavapipe, NVIDIA and MoltenVK, which have
depthBiasExact or not); the recommendation test leaves the extension and its
features out; the driver-facts test drops RADV's row; the exit-guard tests lose
the priming group and render_state.rs as a keeper of the device's functions.
api_signatures blessed (DepthBiasUnit, DepthBias::unit, depth_bias's signature);
the refusal surface is unchanged. Not bumped here: RUNTIME_VERSION (the versions
commit) and the runtime-sources pin (landing).
Verified: cargo clippy -p metal2vulkan -p metal2vulkan-runtime
-p metal2vulkan-validation --all-targets --all-features -D warnings; nextest of
metal::state, device::tests::{enables,driver_facts,profile}, tests::fast_paths,
api_surface, api_signatures, exit_guard, render_state, degradation_catalogue,
draw_shape_notices and ash_interop: 159 passed.
* Cite the spec that leaves a NaN fragment depth undefined, which makes its discard capability
The native-arithmetic audit asked whether `clamp_depth`'s discard of a positive NaN
depth, on every profile, emulates Metal where the device has a native form. It does
not: Vulkan defines no answer for such a depth. "Depth Clamping and Range
Adjustment" (fragops.adoc, 35.10.1): "If zf is not in the range [zmin, zmax],
then zf is undefined following this step", with or without depthClampEnable, and a
NaN lies in no range; only depthClampZeroOne, which no profile enables, keeps a
float depth unchanged (and then the comparison of a NaN would still pass ALWAYS
and NOT_EQUAL, where Metal's fails every test). So the discard stays, as
capability, and the comment says why, so a later audit does not re-raise it.
Docs only (a doc comment); no behaviour changes.
Verified: cargo fmt --all.
* Drop the cube's unmeasured gradient route from the anisotropic tests' profile comment
The route was deleted with the native cube gradients; the comment still named it as a second
home of the anisotropic emulation. Only a profile without samplerAnisotropy emulates it now.
Verified: comment only; git grep finds no other mention of the unmeasured gradient route.
* Keep the device's store of an extended-range, padded or bfloat attachment's untouched texels
What: a render pass that loads and stores a color attachment of an extended-range, padded
10-bit or bfloat format now keeps the bytes its draws do not write, the device's own load and
store (VK_ATTACHMENT_STORE_OP_STORE of a loaded attachment), on every device. The runtime no
longer reproduces Metal's tile store: the load pass that rewrote the texels' unused bits before
the pass (render/unused_bits_load.rs, bind::unused_bits_module), the capture replay that found
the tiles a pass's draws reach for it (render/capture.rs, bind::capture_assembly_module,
capture_settle_module, tile_reach_module, the translator's capture form
LoweringInputs/VariantKey::captured_positions, CaptureForm, RuntimeFact::CapturedPositions,
PushField/PushHole::CaptureAddress, Feature::TileReach, StatusBits::CAPTURED_REACH_UNMEASURED,
StatusReport::captured_reach_unmeasured) and the pipeline states' capture forms are deleted, with
ExtendedRange::load_code, Degradation::UnreachedTilesRewritten and the WorkCounts fields
unused_bits_load_passes, unused_bits_load_texels and capture_reach_*. Every draw in such a pass
announces extended-range-bits-kept, naming the attachments (render/tile_store.rs, the renamed
module); its catalogue entry, the FAST-PATHS device-gap row and the format docs state what
differs: the unused bits, BGRA10_XR's alpha clamp, a padded sRGB twin's table and a bfloat code
through half, which Metal's pass rewrites in each tile a draw reaches. snorm-minimum-kept and
shared-exponent-kept are unchanged (TileStoreIsMetals still says where the device's store is
Metal's).
The de-indexed and private list forms keep the index read the capture form shared
(PushField::CaptureIndexAddress, CaptureLayout, CapturedIndex); the binder's de-indexed draw no
longer goes through the capture draw, and the vertex function's strip restart return, which only
the capture form's layout could take (a de-indexed strip is NotImplemented(PrimitiveId)), is
gone.
Why: the owner's rule 1. The device has a native load and store; reproducing Metal's tile store
emulated Metal's bits where the device has a native form. The difference is recorded and
announced (rule 2).
Verified: cargo clippy -D warnings, all targets and features, over metal2vulkan,
metal2vulkan-runtime, metal2vulkan-validation and metal2vulkan-conformance, plain and with
--cfg m2v_gpu: clean. api_signatures blessed, REFUSALS.md regenerated. The test runs (translator
and runtime suites, the touched validation lanes on lavapipe and on the M3 Max's MoltenVK) follow
this commit and are reported with the lane.
* Bump the semantics and runtime versions for the device's tile store and depth bias
What: SEMANTICS_VERSION 1907 -> 1908 and RUNTIME_VERSION 1681 -> 1682.
Why: SEMANTICS_VERSION, because the translator's output changes under unchanged keys: the
de-indexed and private list vertex forms no longer carry the strip restart return, and the
capture form, its runtime fact and its push field are gone. RUNTIME_VERSION, because runs of
unchanged artifacts now do something else: a Depth16Unorm depth takes the device's depth bias
(no depthBiasExact or unit rescale), and a pass that loads an extended-range, padded or bfloat
attachment keeps its untouched texels' bytes (no unused-bits load pass, no capture replay) and
announces extended-range-bits-kept. ARTIFACT_FORMAT_VERSION stays: the codec tags variants by
name, and the removed ones (CaptureForm, PushField::CaptureAddress,
RuntimeFact::CapturedPositions) leave their tags unused, so an old entry holding one is a miss.
Verified: the constants alone change; the golden tables and the runtime-sources pin are
re-blessed at landing.
* Hold the lanes and the fact census to the device's store of untouched texels
What: three runtime lanes still expected Metal's tile store after 5e710fb988 made the device's
store the only form, and the mechanism test still counted the deleted
RuntimeFact::CapturedPositions.
- extended_range_blends::a_pass_of_extended_range_and_padded_colors_names_each_loaded_color:
the padded colors, which the function does not write, keep their bytes (all ones), where
Metal's pass leaves each word 0xffc0.
- extended_range_blends::a_fetched_two_plane_attachment_written_unblended_stores_metals_write:
color 2, loaded and unwritten, keeps its bytes, where Metal's pass zeroes its color words' top
two bits.
- extended_range_blend_table::a_memoryless_color_2_blends_as_a_stored_color_does: the stored
color 0's bands are compared with the unused bits as Metal's pass leaves them
(as_metal_leaves), the codes exactly, as the table's other passes already are.
- device::tests::mechanism: the variant census is 0..89 (MergedDraws takes the freed index).
Why: the lanes held the deleted exact form; the device's store is now the contract and
extended-range-bits-kept announces the difference.
Verified: on the M3 Max (MoltenVK, --cfg m2v_gpu, under maclock and memcap) the three lanes and
the rest of extended_range_blends pass (11 of 11, with waiter_submits, which failed once under a
load of 40 and passed on its rerun); on plain, device::tests::mechanism and tests::fast_paths
pass (12 of 12); clippy -D warnings clean, plain and --cfg m2v_gpu, over the four crates.
* Re-pin the runtime sources at the landing tip
The landed packet changed a runtime-sources input, so the committed digest no
longer described the sources and `the_runtime_sources_are_the_committed_ones`
would fail. Recomputed over the same inputs and committed by land-pkt.sh.
20 KiB
20 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 | 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 |
| 60 | feature | VertexAmplification | rare | vertex amplification |
| 61 | feature | LayeredRendering | rare | layered rendering on a device without its features |
| 62 | feature | ClipDistance | rare | clip distances on a device without them |
| 63 | feature | DualSourceBlending | rare | dual-source blending on a device without it |
| 64 | feature | Barycentrics | rare | barycentric coordinates |
| 65 | feature | StencilExport | rare | stencil from the shader |
| 66 | feature | SampleRateShading | rare | per-sample shading |
| 67 | feature | SamplePositions | rare | custom sample positions on a device that takes none at the pass's sample count |
| 68 | feature | PixelCoverageAtSampleRate | rare | coverage read at sample rate |
| 69 | feature | InterfaceComponents | rare | too many varyings or attachments for a device |
| 70 | feature | UnmatchedVarying | none | a Metal link error |
| 71 | feature | KernelStageIn | rare | kernel stage-in combinations Metal leaves unestablished |
| 72 | feature | Tessellation | rare | tessellation |
| 73 | feature | MeshShading | rare | mesh pipelines |
| 74 | feature | TileShading | rare | tile shaders (Apple GPU families) |
| 75 | feature | Imageblocks | rare | imageblocks (Apple GPU families) |
| 76 | feature | RayTracing | rare | ray tracing (out of scope by ruling) |
| 77 | feature | Tensors | rare | shader tensors |
| 78 | feature | RasterizationRateMap | rare | rasterization rate maps |
| 79 | feature | GpuEncodedIndirectCommands | rare | indirect command buffers encoded by a kernel |
| 80 | feature | VulkanVersion | none | a device below Vulkan 1.2 |
| 81 | feature | Constant | none | LLVM constant forms AIR does not emit |
| 82 | feature | Attribute | none | LLVM ABI attributes AIR does not use |
| 83 | feature | BitcodeRecord | none | bitcode records AIR does not emit |
| 84 | feature | SyncScope | none | synchronization scopes AIR does not use |
| 85 | feature | SubgroupOperations | app | simdgroup functions in a stage a device's subgroups do not support |
| 86 | feature | DirectCall | rare | variadic or byval calls the inliner cannot take |
| 87 | feature | WideSwitchLiteral | rare | 64-bit switch literals |
| 88 | feature | Lowering | system | the catch-all of lowering families not landed: any shader can meet one |
| 89 | feature | SamplerAddressMode | app | mirror-clamp-to-edge on a device without it |
| 90 | feature | AlphaToOne | rare | alphaToOneEnabled on a device without alphaToOne |
| 91 | feature | StageStoresAndAtomics | app | stores or atomics in vertex or fragment functions on a device without the feature |
| 92 | feature | FunctionConstantArgument | rare | a function-constant-removed argument read |
| 93 | 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 |
| 94 | feature | GroupCount | rare | more threadgroups than a device dispatches, past the binder's split |
| 95 | feature | IntersectionFunctionTable | rare | ray tracing (out of scope by ruling) |
| 96 | feature | IndependentBlending | rare | per-attachment blending on a device without independentBlend |
| 97 | feature | RasterSampleCount | app | a sample count a device lacks for the attachments |
| 98 | feature | TriangleFillLines | app | wireframe on a device without fillModeNonSolid |
| 99 | feature | DepthClipClamp | app | depth clamp on a device without depthClamp |
| 100 | feature | DepthBiasClamp | app | depth bias clamp on a device without depthBiasClamp |
| 101 | feature | ConstantAlphaBlendFactor | app | blend-alpha factors on a portability-subset device without them |
| 102 | feature | SparseTexture | rare | sparse residency reads |
| 103 | feature | TextureSize | app | a texture past a device's image limits |
| 104 | feature | TextureSampleCount | app | a sample count a device lacks for the texture |
| 105 | feature | TextureView | app | a texture view Vulkan cannot make exactly |
| 106 | feature | TextureSwizzle | app | texture swizzles whose Metal behaviour is unmeasured |
| 107 | feature | MipmapGeneration | app | generateMipmapsForTexture: of a format or chain neither the device's blits nor the compute filter can run |
| 108 | feature | HostMemory | system | newBufferWithBytesNoCopy: where the device cannot import the memory |
| 109 | feature | GpuTimes | rare | GPU times on a queue without timestamps |
| 110 | feature | CountingVisibility | rare | counting occlusion queries on a device without precise queries |
| 111 | feature | ViewFormatReinterpretation | app | a view of another component layout on a portability subset (MoltenVK) |
| 112 | feature | SeparateMultisampledDepthStencil | rare | separate multisampled depth and stencil textures |
| 113 | feature | PixelCoverage | rare | coverage reads at pixel rate in a multisampled pipeline |
| 114 | feature | PostDepthCoverage | rare | the coverage after early depth and stencil tests on a device without VK_EXT_post_depth_coverage |
| 115 | feature | CentroidVarying | rare | centroid varyings in a multisampled pipeline |
| 116 | feature | PrivateMemory | rare | very large per-thread arrays |
| 117 | feature | SparseTextures | rare | sparse heaps on a device without sparse images |
| 118 | feature | TimelineSemaphores | none | a device below the runtime's floor |
| 119 | feature | Reflection | rare | reflection of argument kinds Metal's answer is unmeasured for |
| 120 | feature | HeapTextureTiling | app | textures in Shared heaps on a device whose optimal images take no host memory |
| 121 | feature | ViewportDepthRange | rare | viewport depth outside [0, 1] |
| 122 | feature | UndeclaredTextureUsage | app | a shader write to a texture made without ShaderWrite, which plain Metal runs |
| 123 | feature | RenderTargetSize | rare | a render area past a device's framebuffer limits |
| 124 | feature | IndirectRenderState | rare | render state set by a kernel on an indirect command |
| 125 | feature | GlobalBuiltinInFragment | rare | Metal 3.1 global built-ins in fragment functions |
| 126 | gap | Textures | rare | texture forms the runtime has not built (texture buffers of some forms, X24Stencil8 views) |
| 127 | gap | ResourceHeap | rare | the resource-ID heap's remaining forms |
| 128 | gap | SparseHeaps | rare | sparse heaps |
| 129 | gap | SparseTileMaps | rare | sparse texture emulation's unbuilt pieces |
| 130 | gap | HeapPastMaxBufferSize | rare | a heap past maxBufferSize |
| 131 | gap | RotatedTexture | rare | a rotated drawable's views, rows past its buffer |
| 132 | gap | HeapTextureAlignment | rare | a heap texture needing more than 256 KiB alignment |
| 133 | gap | HeapTextureMemory | app | a heap texture the heap's memory type does not take |
| 134 | gap | FunctionTablePastMaxBufferLength | none | a function table past one buffer |
| 135 | gap | IndirectCommandBufferPastMaxBufferLength | none | an ICB past one buffer |
| 136 | gap | IndirectRenderCommands | rare | indirect render commands' remaining pieces |
| 137 | gap | IndirectImageblockSize | none | an imageblock side past 65535 |
| 138 | gap | CommandReplay | rare | the device replay of indirect command buffers |
| 139 | gap | RenderAttachments | rare | render attachment forms not built |
| 140 | gap | AccelerationStructures | rare | ray tracing (out of scope by ruling) |
| 141 | gap | FeatureEnable | none | device creation with a feature the runtime's chain lacks |
| 142 | gap | ExtensionEnable | none | device creation with an extension under an unknown name |
| 143 | gap | Render | system | render pass, resolve and attachment forms not built (20 sites: see the appendix) |
| 144 | gap | TexelsPastBufferLength | rare | a texture over a buffer past its length |
| 145 | gap | OverlappingSurfaceRows | rare | an IOSurface plane whose rows overlap |
| 146 | gap | MemorylessSurfacePlane | rare | a memoryless texture over an IOSurface plane |
| 147 | gap | IndirectCommandPastSize | none | an indirect command at or past the buffer's size |
| 148 | gap | ExecutionRangePastBuffer | rare | an execution range whose 8 bytes run past its buffer |
| 149 | gap | ExecutionRangeOffFour | rare | an execution range at an offset off 4 bytes |
| 150 | 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) |
| 151 | gap | SamplePositionsAtBegin | rare | custom sample positions Vulkan takes only at begin |
| 152 | gap | SharedEventAcrossDevices | rare | a shared event opened on another device |
| 153 | gap | ViewportDepthRange | rare | viewport depth outside [0, 1] without the device features |
| 154 | gap | NonFiniteDepthBias | rare | NaN or infinite depth bias |
| 155 | gap | DepthNeverWithoutAttachment | rare | depth compare Never with no depth attachment |
| 156 | gap | HiddenDepthStencil | app | a depth-stencil state using depth or stencil the pass lacks |
| 157 | gap | IndirectDrawArguments | rare | indirect draws whose arguments the CPU must read |
| 158 | gap | DepthStencilResolve | rare | depth/stencil resolve modes a device lacks |
| 159 | gap | TileAtSampleCount | none | tile memory at a sample count Apple's GPUs lack |
| 160 | gap | ImageblockMasters | rare | imageblocks of mixed sizes in one pass |
| 161 | gap | TileAndFragmentImageblocks | rare | explicit imageblocks shared by tile and fragment functions |
| 162 | gap | Metal4Api | app | Metal 4 (the API is missing: METAL-COVERAGE.md) |
| 163 | gap | CounterSampleBuffers | app | GPU counters and timestamps by sample buffer (missing API) |
| 164 | gap | ResidencySets | app | residency sets (missing API) |
| 165 | gap | TextureAccessCounters | rare | sparse texture access counters |
| 166 | gap | IoCommandQueues | rare | fast resource loading (missing API) |
| 167 | gap | TextureViewPools | rare | texture view pools (missing API) |
| 168 | gap | ColorAttachmentMapping | rare | color attachment mapping (missing API) |
| 169 | gap | LossyTextureCompression | rare | lossy texture compression |
| 170 | gap | ShaderValidation | rare | per-pipeline shader validation |
| 171 | gap | ShaderLogging | rare | shader os_log |
| 172 | gap | DeviceNotifications | rare | device hotplug notifications (deprecated) |
| 173 | gap | RateMapRegions | rare | draws in rate-mapped passes the region path does not draw |
| 174 | gap | LayeredPass | rare | layered passes needing a per-layer color resolve |
| 175 | gap | OverlappingTextureCopies | rare | overlapping texture copies (Metal races) |
| 176 | gap | EmptyFillPattern | none | a fill of no pattern bytes through the Apple-private fillTexture:...:bytes:length: |
| 177 | gap | RebindTextures | none | a runtime extension's rebind with a live texture |
| 178 | gap | DetachTextures | none | a runtime extension's detach with a texture no stand-in presents exactly |
| 179 | gap | DetachedTexelAccess | none | CPU texel access while a runtime extension detached the bytes |
| 180 | gap | TextureBufferLevels | rare | a texture buffer of more than one level (public, unusual) |
| 181 | gap | WriteSwizzle | none | Apple-private writeSwizzleEnabled with a swizzle that writes |
| 182 | gap | PvrtcBlockOrder | rare | PVRTC regions off whole levels |
| 183 | gap | DecodedHeapTexture | app | an ASTC texture in a heap on a device without ASTC |
| 184 | gap | VertexFetchPast4GiB | rare | vertex fetch past 4 GiB of a bind offset |
| 185 | gap | StageInFetchPast4GiB | rare | stage-in fetch past 4 GiB of a bind offset |
| 186 | apple | ProtectedContent | none | Apple-private (no public header) |
| 187 | apple | LineWidth | none | Apple-private (no public header) |
| 188 | apple | ViewportTransformDisabled | none | Apple-private (no public header) |
| 189 | apple | VertexAmplificationMode | none | Apple-private (no public header) |
| 190 | apple | DepthCleared | none | Apple-private (no public header) |
| 191 | apple | StencilCleared | none | Apple-private (no public header) |
| 192 | apple | SurfaceClientDirection | none | an IOSurface key in no public header |
| 193 | bind | DescriptorRangeExceeded | app | a buffer window past a device's descriptor range |
| 194 | bind | TexelBufferTooLarge | rare | a texture buffer past maxTexelBufferElements |
| 195 | bind | HeapTooLarge | rare | more resident textures than the pipeline's heap holds (bindless at scale) |
| 196 | bind | TessellationFactorRange | rare | tessellation factors past one storage descriptor |
| 197 | bind | PatchIndexRange | rare | patch indices past one storage descriptor |
| 198 | bind | ControlPointIndexRange | rare | control-point indices past one storage descriptor |
| 199 | bind | MissingStageInRegion | none | a stage-in region never set, which Metal leaves undefined |
| 200 | bind | UniformViewAliased | rare | Profile F's uniform-view fallback aliased by a write |
| 201 | bind | MissingDeviceAddress | rare | a slot reached through a pointer loaded from memory, bound with inline bytes or on a device without device addresses |
| 202 | limit | InlinedInstructions | rare | very large shaders after inlining |
| 203 | limit | OutputBlocks | rare | very large control flow |
| 204 | limit | IrreducibleDepth | none | deeply nested irreducible loops |
| 205 | limit | SpirvWords | rare | very large output modules |
| 206 | limit | WorkUnits | rare | very large shaders |
| 207 | limit | LedgerBytes | rare | very large shaders |
| 208 | limit | TypeCount | none | a type table past the cap |
| 209 | limit | MetadataNodes | none | metadata past the cap |
| 210 | limit | BitstreamNesting | none | malformed nesting |
| 211 | limit | InstructionCount | rare | very large modules |
| 212 | limit | LayoutNesting | none | argument-buffer layouts nested past the cap |
| 213 | limit | ConstructNesting | none | control flow nested past the cap |
| 214 | limit | PrivateArenaBytes | none | a private arena past 4 GiB |
| 215 | limit | CallStackBytes | rare | deep visible-function call stacks |
| 216 | gap | MappedTextureSampling | none | a runtime extension's texture (address_mode_map) sampled where the runtime cannot map it; no Metal API path |
| 217 | ratemap | ScreenExtent | rare | a rate map whose screen is past 16384 a side |
| 218 | ratemap | LayerCount | none | a rate map of more than two layers, which Apple's compile crashes on |
| 219 | ratemap | DenseSamples | rare | a rate map axis with more quality samples than screen pixels |
| 220 | ratemap | SampleOutOfRange | rare | a rate map quality sample outside [0, 1] among others |
| 221 | ratemap | SampleCount | rare | a rate map axis of more distinct samples than measured (9 on one layer, 4 on two) |
| 222 | budget | Time | none | a translation past its deadline: a defect of ours to fix on any supported input (AGENTS.md: 20 seconds) |
| 223 | gap | LibrarySource | app | a library compiled from Metal source (newLibraryWithSource:); the runtime takes metallibs and AIR |
| 224 | gap | RestartedStrip | none | a strip after the Apple-private setPrimitiveRestartEnabled:index: whose rewrite pass cannot run as Metal draws |
| 225 | 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 |
| 226 | 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 |
| 227 | 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 |
| 228 | feature | PrivateRenderState | none | Apple-private pipeline fields of OpenGL on Metal (no public header) |
| 229 | 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 |
| 230 | 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 |
| 231 | feature | CommandPredication | none | Apple-private command predication on a device without buffer device addresses |
| 232 | feature | ProgramScopeBinding | app | MSL 3.2 program-scope buffer bindings (macOS 15 and later) |
| 233 | feature | SeqCstFence | rare | a seq_cst fence in a vertex or fragment stage without its stores and atomics |
| 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 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) |
| 235 | 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 |
| 236 | 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 |