The planner's ruling (b) after (i): with a read through a sampler built by the words, no access MSL writes leaves a texture buffer on its own view on a device that holds some format as words, so the runtime's Gap::TexelBufferOwnView and its plumbing (the kernel interface's own views, the render content's, the encoders' checks before binds_words) go, and with them RuntimeFact::TexelBufferOwnView, which nothing produces now. Each access the words do not build now has an outcome that is not wrong output: - A read that observes its residency is the words': its status word is 0, Metal's for a texture that is not sparse, as a texture buffer never is (with_word's 0); words::wrap no longer sends it to the own view. - A read of an sRGB texture's codes is never a texture buffer's: srgb_texels answers false for a buffer's shape, so Read::raw is false there. Were one met, the compile refuses it. - A read or write in another numeric class (LoweringInputs::cross_class): the runtime never sets it, and under the identity domains no variant is chosen; on a profile that holds some format as words the compile refuses such an access (Feature::Format, not implemented). - A write of fewer than four lanes: the AIR front end takes a colour texture's write of four lanes alone (texture.rs, texel_ok), so such a call is an unknown intrinsic on every profile. The new authored case a_texture_buffer_write_of_two_lanes_is_refused_on_every_profile (an inline .ll of a8r_buffer_write narrowed to <2 x float>) checks Feature::UnknownIntrinsic on lavapipe and moltenvk-m3 under the identity domains. Docs: words.rs module docs and wrap's doc, the runtime README's known gap rewritten as the refusals; REFUSALS.md and the error basis regenerated (Gap 32 -> 31); api_signatures drops the fact's and the gap's variants. The mechanism test's variant count returns to 87. The fixture census at (i)'s tip, the condition the ruling set before this deletion (scratch job m3-max-81238, steelbrain/scratch-tb-census): 18 fixtures naming texture buffers, 1477 compilations, no own-view fact on any profile that holds a format as words. Verified with (i) at 355c902082 (gate m3-max-82186): fmt, clippy in three configurations, rustdoc, the validation suite 1322 passed (3 skipped), the conformance suite 1050 passed, doctests; the product suite 3723 passed with four reds a bless clears (the golden printout, the golden hashes, the inventory, and llvm_as part_3_of_8 for tb_word_formats.ll, which has no rows until then), the new authored case among them passing; the card legs as (i) lists them.
170 KiB
The refusal surface
Every refusal of something Metal accepts, read from the code: the construction sites of the typed refusals outside tests (scripts/refusal-surface/refusal_surface.py, which writes this file; edit its reach.tsv and the refusals' own doc comments, never the tables). Section 5 is the runtime's floor: a device below it is refused when the device is made, with every item it lacks named. The sections after it are the runtime's own typed refusals, one for each enum its Error carries, every row with its declared basis, which the runtime answers at run time too, by Error::basis. Malformed input of no Metal call at all is misuse and is not listed. METAL-COVERAGE.md lists the Metal API the runtime has no counterpart for at all.
Columns:
- What it blocks: the variant's doc comment, first sentence, and "not scheduled" where the doc says so.
- Where: the device condition, from the constructor at its sites:
NotImplementedandNotRepresentablerefuse on every device;needsnames the Vulkan feature, extension, property or limit a device lacks; a driver defect or deviation names the driver. A site that computes its capability says so. - Sites: how many construction sites, then the first two as
file (function), with the count where one function builds more than one. "via a helper" counts the places that hand the feature to a function that builds the refusal; 0 is a variant nothing builds today. - Basis: where the belief that this input must be refused comes from. Derived from the construction site where the site says it (
device,ours; a translator refusal's from itsNeeds, asNeeds::basisanswers it, through the helper a site hands its feature to, andourswhere any site is not implemented), declared as a lastBasis:line in the refusal's own doc comment where the claim is about Metal itself, and-where neither says it yet:metal-measured: Metal itself refuses the input, and a run of ours on a named device or release says so;metal-documented: Metal itself refuses it, and Apple's own words say so: a quoted assertion,NSErroror validation message, a header, or Apple's documentation;metal-takes: measured: plain Metal takes this input, so the refusal reaches past Metal. An open defect, recorded here rather than left unsaid;device: the mechanism is absent: from this Vulkan device, from its driver, or from every Vulkan device;ours: this crate's own gap, cap or deadline, or the misuse of a runtime extension Metal has no counterpart for;unknown: not established: the refusal stands, and why Metal is believed to refuse this has not been settled;
- Reach (hand-kept,
reach.tsv):system: a guest's CoreAnimation, CoreImage or VideoToolbox plausibly reaches it;app: a typical Metal app plausibly reaches it from public API;rare: public API, but specialized: few apps reach it;none: no public API path: malformed or non-Metal input, Apple-private calls, or a cap no valid program of ordinary size meets;?: not assessed yet. The floor (section 5) carries no reach mark, as it turns on the device whatever the program, and nor do the runtime's refusals after it, each an argument of a public call.
Totals
| Kind | Variants | With a site | Reach system | Reach app | Reach rare | Reach none | Unassessed |
|---|---|---|---|---|---|---|---|
| Translator and front-end refusals | 122 | 117 | 6 | 27 | 68 | 21 | 0 |
| Translation caps | 14 | 14 | 0 | 0 | 7 | 7 | 0 |
| Rate maps the compile layer does not compile | 5 | 5 | 0 | 0 | 4 | 1 | 0 |
| The translation deadline | 1 | 1 | 0 | 0 | 0 | 1 | 0 |
| Devices below the runtime's floor | 8 | 8 | 0 | 0 | 0 | 0 | 0 |
The runtime's Refusal |
95 | 95 | 0 | 0 | 0 | 0 | 0 |
The runtime's Limit |
21 | 21 | 0 | 0 | 0 | 0 | 0 |
The runtime's Gap |
31 | 31 | 0 | 0 | 0 | 0 | 0 |
Totals by basis
| Kind | metal-measured |
metal-documented |
metal-takes |
device |
ours |
unknown |
delegated |
- |
|---|---|---|---|---|---|---|---|---|
| Translator and front-end refusals | 0 | 0 | 3 | 45 | 69 | 0 | 0 | 5 |
| Translation caps | 0 | 0 | 0 | 0 | 14 | 0 | 0 | 0 |
| Rate maps the compile layer does not compile | 0 | 0 | 0 | 0 | 5 | 0 | 0 | 0 |
| The translation deadline | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
| Devices below the runtime's floor | 0 | 0 | 0 | 8 | 0 | 0 | 0 | 0 |
The runtime's Refusal |
30 | 27 | 0 | 0 | 38 | 0 | 0 | 0 |
The runtime's Limit |
0 | 0 | 0 | 15 | 6 | 0 | 0 | 0 |
The runtime's Gap |
0 | 0 | 0 | 2 | 29 | 0 | 0 | 0 |
1. Translator and front-end refusals (Unsupported: a Feature and its Needs)
| Variant | What it blocks | Where | Basis | Sites | Reach |
|---|---|---|---|---|---|
LibraryKind |
A metallib of a kind the container does not read | every device (not implemented) | ours |
via a helper: 2: crates/metal2vulkan-air/src/container/mtlb.rs (parse), crates/metal2vulkan/src/error/mod.rs (from) |
none: a metallib file type Apple's toolchain is not seen to write |
Stage |
A function stage the model does not cover | every device (not implemented) | ours |
via a helper: 2: crates/metal2vulkan-air/src/abi/check.rs (unsupported_stage), crates/metal2vulkan/src/error/mod.rs (from) |
none: a stage outside AIR's public stages |
AddressSpace |
An LLVM address space the typed model does not define (it defines AIR's thread 0 through threadgroup_imageblock 4, object_data 6, the mesh... |
every device (not implemented) | ours |
2: crates/metal2vulkan-air/src/ir/types.rs (from_raw), crates/metal2vulkan/src/memory/plan.rs (reprs) |
none: Apple's AGX library address spaces |
ModuleRecord |
A module-level record outside the accepted subset (alias, ifunc, comdat, …) | every device (not implemented) | ours |
via a helper: 4: crates/metal2vulkan-air/src/bitcode/module.rs (function), crates/metal2vulkan-air/src/bitcode/module.rs (global) (+2) |
none: LLVM constructs AIR does not emit |
Instruction |
An instruction record outside the closed instruction set | every device (not implemented) | ours |
via a helper: 10: crates/metal2vulkan-air/src/bitcode/function.rs (call), crates/metal2vulkan-air/src/bitcode/function.rs (record, 8 sites) (+1) |
none: LLVM instructions AIR does not emit |
Type |
A type outside the typed model | every device (not implemented) | ours |
via a helper: 4: crates/metal2vulkan-air/src/bitcode/types.rs (decode, 3 sites), crates/metal2vulkan/src/error/mod.rs (from) |
none: LLVM types AIR does not emit |
CallingConvention |
A calling convention other than AIR's | every device (not implemented) | ours |
via a helper: 3: crates/metal2vulkan-air/src/bitcode/function.rs (call), crates/metal2vulkan-air/src/bitcode/module.rs (function) (+1) |
none: LLVM calling conventions AIR does not use |
UnknownIntrinsic |
An intrinsic outside the closed set | every device (not implemented) | ours |
2: crates/metal2vulkan-air/src/error.rs (from), crates/metal2vulkan/src/lower/select.rs (route) |
rare: AIR from a newer compiler (macOS 27 AIR 2.9) |
AgxUnmodeled |
An AGX intrinsic whose semantics are not modeled | every device (not implemented) | ours |
1: crates/metal2vulkan/src/lower/simd/agx.rs (unmodeled) |
rare: Apple's own libraries' AGX intrinsics |
StaticInitializer |
A static initializer that cannot be evaluated | every device (not implemented) | ours |
1: crates/metal2vulkan-air/src/error.rs (from) |
none: LLVM initializers AIR does not emit |
Recursion |
Recursion (one variant) | every device (not implemented) | ours |
4: crates/metal2vulkan-air/src/canon/mod.rs (recursion, 2 sites), crates/metal2vulkan-air/src/canon/recursion.rs (dynamic_alloca) (+1) |
rare: recursion through visible functions |
DynamicCall |
Indirect calls, function pointers, visible/intersection function tables (one variant) | every device (not implemented) | ours |
6: crates/metal2vulkan-air/src/canon/devirt.rs (record), crates/metal2vulkan-air/src/canon/devirt.rs (site) (+4) |
rare: function pointers and function tables |
InlineAsm |
A call to inline assembly (asm) that an entry reaches, other than the empty asm sideeffect "", "" decode drops |
every device (not implemented) | ours |
1: crates/metal2vulkan-air/src/canon/mod.rs (post_check) |
none: inline assembly other than the empty asm("") decode drops, which MSL refuses to compile |
Linking |
Linkage signatures / stitching / dynamic libraries | every device (not implemented) | ours |
3: crates/metal2vulkan-air/src/canon/link.rs (not_implemented), crates/metal2vulkan-air/src/canon/mod.rs (post_check) (+1) |
rare: dynamic libraries and linked functions |
SimdWidth |
Simdgroup width 32 is not achievable for this usage, stage, and device | devices without a capability the site computes (subgroup::width_needs(cx.stage, model.stage(cx.stage))); devices without a capability the site computes (width_needs(stage, st)) |
device |
2: crates/metal2vulkan/src/device/subgroup.rs (subgroup_tier), crates/metal2vulkan/src/lower/simd/mod.rs (finish) |
app: simdgroup functions on a device whose subgroups cannot run 32 wide for the use |
LocalSize |
A local size beyond a device limit on this axis (None |
- | - |
0 | app: a threadgroup size past a smaller device's limit |
PartialThreadgroups |
A kernel's partial-threadgroups variant (LoweringInputs::partial_threadgroups) that the lowering cannot make |
devices without a capability the site computes (limit); every device (not implemented) |
ours |
3: crates/metal2vulkan/src/lower/mesh/mod.rs (plan_partial_groups), crates/metal2vulkan/src/lower/simd/divergent.rs (barriers) (+1) |
app: a dispatchThreads grid that is not whole threadgroups, of a kernel whose partial-threadgroups variant cannot be made |
IrreducibleConvergent |
An irreducible region containing a convergent instruction | every device (no Vulkan mechanism) | device |
1: crates/metal2vulkan/src/structurize/irreducible.rs (refuse_tangled) |
rare: irreducible loops around barriers or simd operations |
ComputeDerivativesWithSimd |
Compute derivatives in a flattened simd tier | every device (no Vulkan mechanism) | device |
1: crates/metal2vulkan/src/lower/dispatch.rs (plan_kernel) |
rare: derivatives in a kernel |
ComputeDerivatives |
Derivatives outside fragment without compute-derivative support | devices without VkFeature::ComputeDerivativeGroupLinear; every device (no Vulkan mechanism); every device (not implemented) | ours |
3: crates/metal2vulkan/src/lower/sync/barrier.rs (select_derivative, 3 sites) |
rare: derivatives in a kernel |
QuadOperations |
Quad operations in a stage without quad support | devices without VkLimit::MinSubgroupSize | device |
1: crates/metal2vulkan/src/device/subgroup.rs (subgroup_tier) |
app: quad shuffles in kernels on devices without quad operations there |
SimdgroupMatrix |
Simdgroup matrix operations | every device (not implemented) | ours |
1: crates/metal2vulkan/src/lower/simd/matrix.rs (not_implemented) |
rare: simdgroup matrix kernels |
SimdgroupMatrix16x16x16 |
A 16x16x16 simdgroup matrix product (air.simdgroup_matrix_16x16x16_[widening_]multiply_accumulate), in any stage |
every device (not implemented) | ours |
1: crates/metal2vulkan/src/lower/simd/matrix.rs (select) |
rare: 16x16x16 simdgroup matrix products (Metal: Apple10 GPUs and later) |
ArgumentBufferPointers |
Argument buffers holding buffer pointers (dynamic roots) | devices without buffer device addresses (addressed_needs) |
device |
1: crates/metal2vulkan/src/device/metal.rs (unsupported_features) |
app: argument buffers holding buffer pointers |
ArgumentBufferTextures |
Argument buffers holding textures or samplers (handle domain) | devices without a capability the site computes (gaps); devices without a capability the site computes (missing); every device (not implemented) |
ours |
13: crates/metal2vulkan/src/bind/heap.rs (member_storage_format, 4 sites), crates/metal2vulkan/src/bind/heap.rs (member_texel_view, 2 sites) (+6) |
app: argument buffers holding textures and samplers (bindless) |
ArgumentBufferObjects |
Argument-buffer members that are pipeline states, ICBs, function tables, or acceleration structures | every device (not implemented) | ours |
4: crates/metal2vulkan/src/lower/access/icb.rs (select), crates/metal2vulkan/src/lower/access/object.rs (select) (+2) |
rare: pipeline states and ICBs in argument buffers |
DereferenceLoadedPointer |
Dereferencing a pointer loaded from memory or made from an integer | devices short of a Vulkan feature the site names; devices without buffer device addresses (addressed_needs); every device (no Vulkan mechanism) |
device |
4: crates/metal2vulkan/src/lower/access/dynamic.rs (plan_misses), crates/metal2vulkan/src/lower/access/local.rs (access_ptr) (+2) |
app: pointers loaded from argument buffers |
PointerToInteger |
Storing a pointer or converting it to an integer | devices without buffer device addresses (addressed_needs) |
device |
via a helper: 1: crates/metal2vulkan/src/lower/access/dynamic.rs (require_addresses) |
rare: pointer to integer casts |
PointerCompare |
Comparing pointers with different roots | devices without VkFeature::ShaderInt64 | device |
via a helper: 1: crates/metal2vulkan/src/lower/access/copy.rs (addressed) |
rare: comparing pointers of different roots |
HandleAsPointer |
A resource handle used as a byte pointer, or conflicting handle provenance | every device (no Vulkan mechanism); every device (not implemented) | ours |
6: crates/metal2vulkan/src/lower/access/handle.rs (domain_kind), crates/metal2vulkan/src/lower/access/handle.rs (element, 2 sites) (+3) |
rare: resource handles used as byte pointers |
ConstantGlobalEscaping |
A constant global whose address escapes | every device (not implemented) | ours |
2: crates/metal2vulkan/src/memory/plan.rs (blob_nodes), crates/metal2vulkan/src/memory/plan.rs (serialize) |
rare: a constant global whose address escapes |
ThreadgroupMemorySize |
Threadgroup memory above the device limit | devices short of a device limit the site names; every device (no Vulkan mechanism) | device |
2: crates/metal2vulkan/src/memory/arena.rs (check), crates/metal2vulkan/src/memory/plan.rs (too_large) |
rare: threadgroup memory past a smaller device's limit |
ZeroedThreadgroupMemory |
Threadgroup memory that reads zero until the program writes it, on Device::from_queries' profile |
devices short of a Vulkan feature the site names | device |
1: crates/metal2vulkan/src/lower/access/local.rs (zero_threadgroup) |
rare: threadgroup memory on a device without shaderZeroInitializeWorkgroupMemory, which Vulkan 1.3 requires |
CoherentMemory |
coherent(device) accesses (Vulkan memory model) |
devices short of a Vulkan feature the site names | device |
1: crates/metal2vulkan/src/lower/sync/memory_model.rs (check) |
rare: coherent(device) accesses |
Int64Atomics |
64-bit atomics | devices short of a Vulkan feature the site names; devices without buffer device addresses (addressed_needs) |
device |
2: crates/metal2vulkan/src/lower/access/atomic.rs (select, 2 sites) |
rare: 64-bit atomics |
ImageAtomics |
Image atomics beyond 32-bit integers | every device (not implemented) | ours |
1: crates/metal2vulkan/src/lower/texture/atomic.rs (select) |
rare: texture atomics beyond 32-bit integers |
DescriptorCount |
Too many descriptors of one kind in a stage or pipeline | devices short of a device limit the site names; devices without VkLimit::MaxUniformBufferRange | device |
3: crates/metal2vulkan/src/lower/access/mod.rs (accept_placement), crates/metal2vulkan/src/lower/select.rs (finish) (+1) |
app: many textures or buffers in one stage on a smaller device |
BufferRange |
A buffer window beyond the descriptor range limits | devices without buffer device addresses (addressed_needs) |
device |
2: crates/metal2vulkan/src/lower/access/function_table.rs (select), crates/metal2vulkan/src/lower/access/mod.rs (place_slots) |
app: a buffer window past a device's descriptor range |
Int64Arithmetic |
64-bit integer arithmetic | devices without VkFeature::ShaderInt64 | device |
2: crates/metal2vulkan/src/lower/arith/legal.rs (check_scalar), crates/metal2vulkan/src/lower/select.rs (selector_form) |
rare: 64-bit integers on a device without shaderInt64 |
Float64Arithmetic |
64-bit float arithmetic | devices without VkFeature::ShaderFloat64 | device |
2: crates/metal2vulkan/src/device/metal.rs (unsupported_features), crates/metal2vulkan/src/lower/arith/legal.rs (check_scalar) |
rare: doubles (MSL has none outside Apple's own code) |
Format |
A pixel or vertex format not supported for the required use | devices without VkFeature::ShaderStorageImageExtendedFormats; devices without a capability the site computes (alternatives); devices without a capability the site computes (missing); devices without a capability the site computes (routes); devices without a format's usage; every device (no Vulkan mechanism); every device (not implemented) |
ours |
53: crates/metal2vulkan/src/lower/access/tile.rs (storage_format), crates/metal2vulkan/src/lower/fragment/color.rs (select_param, 5 sites) (+28) |
system: pixel formats a device lacks for a use (CoreVideo's 4:2:x and 10-bit formats among them) |
DivergentImplicitLod |
Divergent implicit-LOD sampling or LOD query through a multi-candidate handle | every device (not implemented) | ours |
1: crates/metal2vulkan/src/lower/sampler/select.rs (tangled) |
app: implicit-LOD sampling through a dynamically chosen texture |
ImplicitLodOutsideFragment |
Implicit-LOD sampling outside fragment | every device (not implemented) | ours |
3: crates/metal2vulkan/src/lower/sampler/constexpr.rs (query_min_level), crates/metal2vulkan/src/lower/sampler/select.rs (query_level_measured) (+1) |
rare: implicit-LOD sampling outside fragment functions |
MinLodClamp |
min_lod_clamp without shaderResourceMinLod |
devices without VkFeature::ShaderResourceMinLod; every device (not implemented) | ours |
2: crates/metal2vulkan/src/lower/sampler/select.rs (min_lod), crates/metal2vulkan/src/lower/sampler/select.rs (select_one) |
rare: min_lod_clamp on a device without shaderResourceMinLod |
TexelOffset |
A texel offset the device cannot apply | devices short of a device limit the site names; every device (no Vulkan mechanism) | device |
2: crates/metal2vulkan/src/lower/sampler/select.rs (in_device_range), crates/metal2vulkan/src/lower/sampler/select.rs (offset) |
app: texel offsets a device cannot apply |
GatherExtended |
Gather with non-constant offsets or components | devices without a capability the site computes (missing) |
device |
via a helper: 1: crates/metal2vulkan/src/lower/sampler/select.rs (dynamic_offset) |
rare: gathers with dynamic offsets or components |
StorageImageMultisample |
Multisampled storage images | every device (not implemented) | ours |
2: crates/metal2vulkan/src/lower/texture/slot.rs (declare_heap), crates/metal2vulkan/src/lower/texture/slot.rs (declare_slot) |
rare: writable multisampled textures |
StorageTextureInVertexStage |
Storage images in the vertex stage | devices short of a Vulkan feature the site names | device |
via a helper: 1: crates/metal2vulkan/src/lower/texture/slot.rs (stage_stores) |
rare: writable textures in vertex functions |
CubeArray |
Cube arrays | devices without VkFeature::ImageCubeArray | device |
2: crates/metal2vulkan/src/lower/sampler/select.rs (select_one), crates/metal2vulkan/src/lower/texture/slot.rs (declare_heap) |
rare: cube arrays on a device without imageCubeArray |
SamplerAnisotropy |
Sampler anisotropy an argument buffer lists, on a device without samplerAnisotropy |
- | - |
0 | app: anisotropic samplers an argument buffer lists, on a device without samplerAnisotropy |
SamplerBorderColor |
Sampler border colors Vulkan cannot express | devices without a capability the site computes (missing); devices without a capability the site computes (need); devices without a capability the site computes (vec![need]); every device (not implemented) |
ours |
4: crates/metal2vulkan/src/metal/sampler.rs (border_read, 4 sites) |
app: border colors a device cannot express |
SamplerLodBias |
Sampler LOD bias | devices short of a Vulkan feature the site names; devices without VkLimit::MaxSamplerLodBias; every device (no Vulkan mechanism) | device |
3: crates/metal2vulkan/src/lower/sampler/constexpr.rs (constexpr_desc, 3 sites) |
app: constexpr samplers with an LOD bias |
SamplerCompare |
Sampler compare functions outside what Vulkan allows for the image | devices short of a Vulkan feature the site names | device |
1: crates/metal2vulkan/src/metal/sampler.rs (check_sampler) |
app: compare samplers a device cannot apply to the image |
PixelSamplerCompare |
A constexpr sampler with pixel coordinates and a compare function, which Apple's compiler rejects ("invalid values combination in sampler... | every device (no Vulkan mechanism) | device |
1: crates/metal2vulkan/src/lower/sampler/constexpr.rs (lowered) |
none: Apple's compiler rejects it |
TexelBuffer |
Texture buffers beyond the device's texel-buffer limits | - | - |
0 | app: texture buffers past a device's texel-buffer limits |
RasterOrderGroups |
Raster order groups without fragment shader interlock | devices without VkFeature::FragmentShaderPixelInterlock; every device (not implemented) | ours |
3: crates/metal2vulkan/src/device/metal.rs (unsupported_features), crates/metal2vulkan/src/lower/fragment/rog.rs (mode, 2 sites) |
rare: raster order groups |
FramebufferFetch |
Framebuffer fetch in a shape not implemented (a write the function would compute over its own read of the attachment), or that needs a feature the... | devices without VkFeature::SampleRateShading; every device (not implemented) | ours |
2: crates/metal2vulkan/src/lower/fragment/fetch.rs (computed_write_refused), crates/metal2vulkan/src/lower/fragment/fetch.rs (plan_sample) |
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) |
PrimitiveId |
[[primitive_id]] in a fragment function |
devices without a capability the site computes; every device (not implemented) | ours |
2: crates/metal2vulkan/src/lower/stage_io/plan.rs (finish), crates/metal2vulkan/src/pipeline/link/varyings.rs (check_primitive_id) |
rare: primitive_id on a device without geometry or tessellation shaders, in an indexed draw or behind a mesh function |
PrivatePrimitives |
One of Metal's private primitive types (a line loop, a triangle fan, quads, a quad strip) drawn in the pulled list form... | devices without buffer device addresses (addressed_needs); every device (not implemented) |
ours |
via a helper: 1: crates/metal2vulkan/src/lower/stage_io/plan.rs (indices_feature) |
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 |
VertexAmplification |
Vertex amplification | devices short of a Vulkan feature the site names; devices without VkFeature::Multiview; devices without VkFeature::MultiviewTessellationShader; every device (not implemented) | ours |
4: crates/metal2vulkan/src/lower/stage_io/plan.rs (index_store), crates/metal2vulkan/src/lower/tessellation/mod.rs (select_param) (+2) |
rare: vertex amplification |
LayeredRendering |
Layered rendering (render_target_array_index, viewport_array_index) |
devices short of a Vulkan feature the site names; devices without VkFeature::ShaderOutputLayer; devices without VkFeature::ShaderOutputViewportIndex | device |
3: crates/metal2vulkan/src/lower/mesh/mod.rs (target_index, 2 sites), crates/metal2vulkan/src/lower/stage_io/plan.rs (index_store) |
rare: layered rendering on a device without its features |
ClipDistance |
Clip or cull distances | devices without VkFeature::ShaderClipDistance; devices without VkLimit::MaxClipDistances | device |
2: crates/metal2vulkan/src/lower/mesh/mod.rs (select, 2 sites) |
rare: clip distances on a device without them |
DualSourceBlending |
Dual-source blending | devices without VkFeature::DualSrcBlend; devices without VkLimit::MaxFragmentDualSrcAttachments | device |
3: crates/metal2vulkan/src/metal/state.rs (blend_factor), crates/metal2vulkan/src/pipeline/link/graphics.rs (check_outputs) (+1) |
rare: dual-source blending on a device without it |
Barycentrics |
Barycentric coordinates | devices without VkFeature::FragmentShaderBarycentric | device |
2: crates/metal2vulkan/src/device/metal.rs (unsupported_features), crates/metal2vulkan/src/lower/stage_io/plan.rs (param) |
rare: barycentric coordinates |
StencilExport |
Stencil export | devices without VkExtension::ExtShaderStencilExport | device |
1: crates/metal2vulkan/src/lower/stage_io/plan.rs (stencil_export_refused) |
rare: stencil from the shader |
SampleRateShading |
Per-sample shading | devices without VkFeature::SampleRateShading; devices without a capability the site computes (needs); every device (not implemented) |
ours |
3: crates/metal2vulkan/src/pipeline/link/graphics.rs (sample_invocations, 3 sites) |
rare: per-sample shading |
PullModelInterpolation |
Metal's pull-model interpolation (interpolant fragment inputs and their interpolate_at_center, _centroid, _sample and _offset functions)... |
devices without VkProperty::InterpolateAtOffsetCentered; devices without VkProperty::InterpolateAtOffsetFromSevenSixteenths; devices without a capability the site computes (lacks); every device (not implemented) |
ours |
5: crates/metal2vulkan/src/lower/fragment/interpolate.rs (select, 2 sites), crates/metal2vulkan/src/lower/stage_io/plan.rs (interpolant, 2 sites) (+1) |
rare: interpolant inputs read at the centroid, a sample or an offset |
DivergentInterpolation |
Metal's pull-model interpolation at a sample or an offset (interpolate_at_sample, interpolate_at_offset) outside the fragment function's first... |
every device (not implemented) | ours |
1: crates/metal2vulkan/src/lower/stage_io/plan.rs (interpolant_reads) |
rare: an interpolant read at a sample or an offset in a branch, a loop or after a discard |
PixelCoverageAtSampleRate |
The pixel's coverage ([[sample_mask]] read) in a fragment function that runs once per sample |
every device (no Vulkan mechanism); every device (not implemented) | ours |
2: crates/metal2vulkan/src/lower/simd/mod.rs (select_param), crates/metal2vulkan/src/pipeline/link/graphics.rs (sample_invocations) |
rare: coverage read at sample rate |
InterfaceComponents |
Too many interface components or locations | devices short of a device limit the site names; devices without VkLimit::MaxColorAttachments; devices without VkLimit::MaxVertexInputAttributes | device |
3: crates/metal2vulkan/src/pipeline/link/graphics.rs (graphics_state), crates/metal2vulkan/src/pipeline/link/varyings.rs (assign) (+1) |
rare: too many varyings or attachments for a device |
UnmatchedVarying |
A fragment input without a vertex producer (a Metal link error) | every device (no Vulkan mechanism) | device |
3: crates/metal2vulkan/src/pipeline/link/varyings.rs (mesh_fragment), crates/metal2vulkan/src/pipeline/link/varyings.rs (varyings, 2 sites) |
none: a Metal link error |
KernelStageIn |
Kernel [[stage_in]] |
every device (not implemented) | ours |
1: crates/metal2vulkan/src/lower/stage_io/stage_in.rs (select) |
rare: kernel stage-in combinations Metal leaves unestablished |
VertexStepRate |
A vertex buffer layout stepped per instance at a rate above 1, on a profile that fetches every attribute in fixed function (the identity domains,... | devices without a capability the site computes (needs) |
device |
1: crates/metal2vulkan/src/metal/vertex.rs (divided) |
app: instanced vertex layouts stepped at a rate above 1 |
VertexInputLayout |
A vertex attribute whose layout fixed-function input cannot fetch, on a profile that fetches every attribute in fixed function (the identity... | devices without a capability the site computes (limit); every device (not implemented) |
ours |
4: crates/metal2vulkan/src/pipeline/link/vertex.rs (resolve, 4 sites) |
rare: vertex offsets or strides off their format's alignment, or past a device's limits |
Tessellation |
Tessellation | devices without VkFeature::TessellationShader; devices without VkLimit::MaxTessellationGenerationLevel; every device (not implemented) | ours |
5: crates/metal2vulkan-air/src/canon/mod.rs (post_check, 2 sites), crates/metal2vulkan/src/error/mod.rs (tessellation) (+2) |
rare: tessellation |
MeshShading |
devices short of a device limit the site names; devices without VkLimit::MaxTaskPayloadSize; devices without a capability the site computes (missing); every device (not implemented) |
ours |
4: crates/metal2vulkan/src/lower/mesh/mod.rs (check_payload), crates/metal2vulkan/src/lower/mesh/mod.rs (plan_entry, 2 sites) (+1) |
rare: mesh pipelines |
|
TileShading |
every device (not implemented) | ours |
3: crates/metal2vulkan/src/lower/access/tile.rs (not_implemented), crates/metal2vulkan/src/lower/sync/barrier.rs (tile_shading) (+1) |
rare: tile shaders (Apple GPU families) |
|
Imageblocks |
An imageblock outside the forms implemented | every device (not implemented) | ours |
6: crates/metal2vulkan/src/lower/access/imageblock.rs (imageblocks), crates/metal2vulkan/src/lower/access/mod.rs (select_param) (+4) |
rare: imageblocks (Apple GPU families) |
RayTracing |
devices without a capability the site computes (missing); every device (no Vulkan mechanism); every device (not implemented) |
ours |
10: crates/metal2vulkan/src/lower/raytracing/mod.rs (instance_count), crates/metal2vulkan/src/lower/raytracing/mod.rs (intersect, 5 sites) (+4) |
rare: ray tracing (out of scope by ruling) |
|
Tensors |
every device (not implemented) | ours |
2: crates/metal2vulkan-air/src/canon/matmul2d/synth.rs (refuse), crates/metal2vulkan/src/lower/select.rs (route_air) |
rare: shader tensors |
|
RasterizationRateMap |
devices without VkFeature::MultiViewport; devices without VkFeature::ShaderDrawParameters; devices without VkFeature::ShaderOutputViewportIndex; every device (not implemented) | ours |
2: crates/metal2vulkan/src/lower/stage_io/plan.rs (region_viewport, 2 sites) |
rare: rasterization rate maps |
|
GpuEncodedIndirectCommands |
devices short of a Vulkan feature the site names; devices without buffer device addresses (addressed_needs); every device (no Vulkan mechanism); every device (not implemented) |
ours |
14: crates/metal2vulkan/src/lower/access/icb.rs (needs, 2 sites), crates/metal2vulkan/src/lower/access/icb.rs (select, 2 sites) (+7) |
rare: indirect command buffers encoded by a kernel |
|
VulkanVersion |
The device's Vulkan version is below the 1.2 floor | devices without ApiVersion::V1_2 | device |
2: crates/metal2vulkan/src/ash_interop/query.rs (query), crates/metal2vulkan/src/device/derive.rs (from_queries) |
none: a device below Vulkan 1.2 |
PushWindow |
The description's maxPushConstantsSize is below 128 bytes, Vulkan's least and the least push window a stage is lowered for |
devices without VkLimit::MaxPushConstantsSize | device |
1: crates/metal2vulkan/src/device/derive.rs (from_queries) |
none: a description whose maxPushConstantsSize is below 128 bytes, less than Vulkan lets a device report |
IdentityDomains |
The identity pointer and handle domains (PointerDomain::Identity, HandleDomain::Identity) |
devices without a capability the site computes (all); every device (not implemented) |
ours |
7: crates/metal2vulkan/src/device/derive.rs (identity_domains), crates/metal2vulkan/src/lower/sampler/anisotropic.rs (select) (+5) |
none: the identity domains, which the runtime alone takes and which lower only kernels over buffer slots, textures in slots or argument buffers, and runtime samplers, so far |
Constant |
A constants-block record LLVM defines that the typed model has no form for (a block address, a select and the other constant expressions of... |
every device (not implemented) | ours |
via a helper: 3: crates/metal2vulkan-air/src/bitcode/constants.rs (record, 2 sites), crates/metal2vulkan/src/error/mod.rs (from) |
none: LLVM constant forms AIR does not emit |
Attribute |
An LLVM attribute kind that changes the calling ABI and that AIR does not use (inalloca, preallocated, byref, nest, the swift* kinds) |
every device (not implemented) | ours |
via a helper: 2: crates/metal2vulkan-air/src/bitcode/attrs.rs (known), crates/metal2vulkan/src/error/mod.rs (from) |
none: LLVM ABI attributes AIR does not use |
BitcodeRecord |
A bitcode record LLVM defines in block that the typed model does not cover and that has no more specific variant (legacy spellings predating... |
every device (not implemented) | ours |
via a helper: 12: crates/metal2vulkan-air/src/bitcode/attrs.rs (decode_lists), crates/metal2vulkan-air/src/bitcode/function.rs (symtab) (+5) |
none: bitcode records AIR does not emit |
SyncScope |
An atomic access or fence in a synchronization scope other than LLVM's built-in singlethread and system scopes |
every device (not implemented) | ours |
via a helper: 2: crates/metal2vulkan-air/src/bitcode/function.rs (atomic), crates/metal2vulkan/src/error/mod.rs (from) |
none: synchronization scopes AIR does not use |
SubgroupOperations |
Simdgroup operations of a class the stage's subgroups do not support (the stage is not in subgroupSupportedStages, or an operation class is... |
devices without VkFeature::ShaderQuadControl; devices without VkFeature::ShaderSubgroupExtendedTypes | device |
2: crates/metal2vulkan/src/lower/simd/mod.rs (full_quads), crates/metal2vulkan/src/lower/simd/mod.rs (select_group) |
app: simdgroup functions in a stage a device's subgroups do not support |
DirectCall |
A call to a defined function the inliner cannot take | every device (not implemented) | ours |
1: crates/metal2vulkan-air/src/canon/mod.rs (post_check) |
rare: variadic or byval calls the inliner cannot take |
WideSwitchLiteral |
A switch case literal wider than 32 bits | every device (not implemented) | ours |
1: crates/metal2vulkan/src/structurize/emit.rs (check_tree) |
rare: 64-bit switch literals |
Lowering |
An instruction, intrinsic, or interface element of a lowering family whose lowering has not landed yet (each family narrows its refusals as it lands) | devices without VkFeature::ShaderDemoteToHelperInvocation; every device (not implemented) | ours |
31: crates/metal2vulkan/src/error/mod.rs (access), crates/metal2vulkan/src/lower/access/handle.rs (sampler_target) (+28) |
system: the catch-all of lowering families not landed: any shader can meet one |
SamplerAddressMode |
A sampler address mode the device lacks (MirrorClampToEdge) |
devices without VkFeature::SamplerMirrorClampToEdge; every device (not implemented) | ours |
2: crates/metal2vulkan/src/lower/sampler/constexpr.rs, crates/metal2vulkan/src/metal/sampler.rs (check_sampler) |
app: mirror-clamp-to-edge on a device without it |
AlphaToOne |
alphaToOneEnabled on a device without Vulkan's alphaToOne feature, the exact counterpart... |
devices without VkFeature::AlphaToOne | device |
1: crates/metal2vulkan/src/pipeline/link/graphics.rs (graphics_state) |
rare: alphaToOneEnabled on a device without alphaToOne |
StageStoresAndAtomics |
Buffer or image stores or atomics in a vertex or fragment function without the stage's store feature (vertexPipelineStoresAndAtomics,... |
devices without VkFeature::FragmentStoresAndAtomics | device |
1: crates/metal2vulkan/src/lower/access/tile_memory.rs (written) |
app: stores or atomics in vertex or fragment functions on a device without the feature |
FunctionConstantArgument |
An observed read of a pointer entry argument that a function-constant predicate removes, other than an absent buffer (which reads as null) or an... | every device (not implemented) | ours |
1: crates/metal2vulkan-air/src/canon/interface.rs (absent_values) |
rare: a function-constant-removed argument read |
SamplerBicubicFilter |
A use of Metal's bicubic filter that no Metal reading establishes | every device (not implemented) | ours |
2: crates/metal2vulkan/src/lower/sampler/bicubic.rs (refuse), crates/metal2vulkan/src/lower/sampler/select.rs (bicubic_refused) |
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 |
GroupCount |
A dispatch whose threadgroup count on axis exceeds maxComputeWorkGroupCount by more than the binder splits into regions (None |
- | - |
0 | rare: more threadgroups than a device dispatches, past the binder's split |
IntersectionFunctionTable |
A ray intersection through intersection functions | every device (not implemented) | ours |
6: crates/metal2vulkan/src/lower/raytracing/mod.rs (intersect, 2 sites), crates/metal2vulkan/src/lower/raytracing/mod.rs (null_table) (+3) |
rare: ray tracing (out of scope by ruling) |
IndependentBlending |
Color attachments whose write masks or blend states differ, as Metal sets them per attachment, on a device without independentBlend, where no... |
devices without VkFeature::IndependentBlend | device |
1: crates/metal2vulkan/src/pipeline/link/graphics.rs (uniform_blend) |
rare: per-attachment blending on a device without independentBlend |
RasterSampleCount |
A rasterSampleCount outside the device's framebuffer sample counts for the pipeline's attachments (framebuffer*SampleCounts), and, for a color... |
devices without a capability the site computes | device |
1: crates/metal2vulkan/src/pipeline/graphics.rs (sample_count_properties) |
app: a sample count a device lacks for the attachments |
TriangleFillLines |
The render encoder's MTLTriangleFillModeLines (polygonMode LINE) on a device without fillModeNonSolid |
devices short of a Vulkan feature the site names | device |
via a helper: 1: crates/metal2vulkan/src/metal/state.rs (polygon_mode) |
app: wireframe on a device without fillModeNonSolid |
TriangleFillPoints |
The render encoder's TriangleFillMode::Points (polygonMode POINT) on a device without fillModeNonSolid, or on a portability-subset device... |
devices short of a Vulkan feature the site names | device |
1: crates/metal2vulkan/src/metal/state.rs (polygon_mode) |
system: Apple's GL renderer's glPolygonMode(GL_POINT) on a device without fillModeNonSolid, or a portability-subset device without pointPolygons (MoltenVK) |
DepthClipClamp |
The render encoder's MTLDepthClipModeClamp (depthClampEnable) on a device without depthClamp |
devices short of a Vulkan feature the site names | device |
via a helper: 1: crates/metal2vulkan/src/metal/state.rs (depth_clamp_enable) |
app: depth clamp on a device without depthClamp |
DepthBiasClamp |
The render encoder's depth bias clamp, nonzero with a nonzero bias, on a device without depthBiasClamp |
devices short of a Vulkan feature the site names | device |
via a helper: 1: crates/metal2vulkan/src/metal/state.rs (depth_bias) |
app: depth bias clamp on a device without depthBiasClamp |
ConstantAlphaBlendFactor |
CONSTANT_ALPHA or ONE_MINUS_CONSTANT_ALPHA (Metal's BlendAlpha factors) as a color blend factor on a portability-subset device without... |
devices without VkFeature::ConstantAlphaColorBlendFactors | device |
1: crates/metal2vulkan/src/metal/state.rs (check_constant_alpha) |
app: blend-alpha factors on a portability-subset device without them |
SparseTexture |
A sparse texture (MTLTexture.isSparse) bound at slot, where a function observes the residency of its accesses (sparse_color::resident()) and... |
- | - |
0 | rare: sparse residency reads |
TextureSwizzle |
A texture swizzle whose Metal behavior is not measured | every device (not implemented) | ours |
5: crates/metal2vulkan/src/bind/heap.rs (member_texel_view), crates/metal2vulkan/src/lower/sampler/select.rs (select_one) (+3) |
app: texture swizzles whose Metal behaviour is unmeasured |
PrivateMemory |
A stage whose private memory (its thread variables and arrays, and the constants it holds per thread) takes more Function storage a thread than... |
devices without a capability the site computes (limit) |
device |
1: crates/metal2vulkan/src/lower/access/local.rs (device_arena) |
rare: very large per-thread arrays |
Reflection |
Reflection of an argument whose answer Metal's has not been measured for (reflection) |
every device (not implemented) | ours |
8: crates/metal2vulkan/src/reflection/derive.rs (gap_at), crates/metal2vulkan/src/reflection/derive.rs (read_attributes) (+6) |
rare: reflection of argument kinds Metal's answer is unmeasured for |
IndirectRenderState |
A depth_stencil_state a function reads from an argument buffer or takes as a parameter, the state of an indirect render command, which no record... |
every device (not implemented) | ours |
via a helper: 2: crates/metal2vulkan/src/lower/access/pointer.rs (unlowered), crates/metal2vulkan/src/lower/select.rs (param_family) |
rare: render state set by a kernel on an indirect command |
GlobalBuiltinInFragment |
A fragment function's read of a Metal 3.1 program-scope built-in variable that Metal does not lower there | every device (not implemented) | ours |
1: crates/metal2vulkan/src/lower/select.rs (route_air) |
rare: Metal 3.1 global built-ins in fragment functions |
PrivateRenderState |
A private fixed-function property of Metal's pipeline descriptor (Apple SPI, OpenGL on Metal's) set to a value whose effect the translation has... | devices without VkFeature::LogicOp; every device (not implemented) | ours |
5: crates/metal2vulkan/src/lower/sampler/select.rs (clamps_reference), crates/metal2vulkan/src/lower/stage_io/plan.rs (alpha_test_refused) (+3) |
none: Apple-private pipeline fields of OpenGL on Metal (no public header) |
ProgramScopeResource |
A texture, a sampler or threadgroup memory bound at program scope (MSL 3.2's !air.global_bindings), one or an array, that the entry reads |
every device (not implemented) | metal-takes: an Apple M3 Max under macOS 27.0.1, potluck job m3-max-70306 |
via a helper: 2: crates/metal2vulkan-air/src/canon/global_binding.rs (left), crates/metal2vulkan/src/error/mod.rs (from) |
app: MSL 3.2 textures, samplers and threadgroup memory bound at program scope (macOS 15 and later) |
ProgramScopeSharedSlot |
A buffer bound at program scope at a slot that a parameter of the entry, or another binding it reads, binds with another role or type | every device (not implemented) | metal-takes: an Apple M3 Max under macOS 27.0.1, potluck job m3-max-70268 |
via a helper: 2: crates/metal2vulkan-air/src/canon/global_binding.rs (shared_slot), crates/metal2vulkan/src/error/mod.rs (from) |
rare: MSL 3.2 program-scope buffers aliasing another argument of another type at one index |
ProgramScopeLinked |
A program-scope binding in the module of a function a pipeline links (a visible function, or a dynamic library's) | every device (not implemented) | metal-takes: an Apple M3 Max under macOS 27.0.1, potluck job m3-max-70306 |
1: crates/metal2vulkan-air/src/canon/link.rs (bound) |
rare: MSL 3.2 program-scope bindings in a linked visible function or a dynamic library |
ProgramScopeRead |
A read of a buffer bound at program scope other than a load of the pointer its global holds | every device (not implemented) | ours |
via a helper: 2: crates/metal2vulkan-air/src/canon/global_binding.rs (left), crates/metal2vulkan/src/error/mod.rs (from) |
none: a read of a program-scope buffer's global that Apple's compiler is not seen to write |
GenericPointer |
A generic pointer (MSL 4.1's addrspace(8)) that canonicalization cannot make a pointer of one address space, by how it comes to hold a space... |
every device (not implemented) | ours |
2: crates/metal2vulkan-air/src/canon/generic.rs (refuse), crates/metal2vulkan-air/src/canon/generic.rs (refused) |
system: MSL 4.1 generic pointers held in memory or of two spaces (macOS 27 and later) |
SeqCstFence |
A sequentially consistent fence (seq_cst atomic_thread_fence, an LLVM fence seq_cst, or a seq_cst barrier ordering device memory), whose... |
devices short of a Vulkan feature the site names | device |
1: crates/metal2vulkan/src/lower/sync/barrier.rs (require_seq_cst) |
rare: a seq_cst fence in a vertex or fragment stage without its stores and atomics |
PostDepthCoverage |
The coverage after the depth and stencil tests ([[sample_mask, post_depth_coverage]]) |
every device (not implemented) | ours |
1: crates/metal2vulkan/src/lower/stage_io/plan.rs (param) |
rare: the coverage after early depth and stencil tests, on every device |
WideLines |
Lines at a width other than 1 (Apple's setLineWidth:), drawn by the device's own wide lines (wideLines) or as bands of triangles through... |
devices without VkFeature::TessellationShader; devices without VkLimit::MaxTessellationEvaluationOutputComponents; every device (not implemented) | ours |
3: crates/metal2vulkan/src/pipeline/link/band.rs (plan, 3 sites) |
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) |
2. Translation caps (Error::LimitExceeded(Limit))
| Variant | What it blocks | Where | Basis | Sites | Reach |
|---|---|---|---|---|---|
InlinedInstructions |
Instructions after inlining | every device (a deterministic cap) | ours |
3: crates/metal2vulkan-air/src/canon/inline.rs (inline), crates/metal2vulkan-air/src/canon/inline.rs (u32_of) (+1) |
rare: very large shaders after inlining |
OutputBlocks |
Structurizer output blocks, 4(n+e)+1024 |
every device (a deterministic cap) | ours |
4: crates/metal2vulkan/src/structurize/irreducible.rs (round), crates/metal2vulkan/src/structurize/mod.rs (structure_loops) (+2) |
rare: very large control flow |
IrreducibleDepth |
Irreducible nesting depth | every device (a deterministic cap) | ours |
4: crates/metal2vulkan-air/src/graph/loops.rs (compute_in), crates/metal2vulkan/src/structurize/structurizer_properties/mod.rs (check_within_depth) (+1) |
none: deeply nested irreducible loops |
SpirvWords |
Emitted SPIR-V words | every device (a deterministic cap) | ours |
1: crates/metal2vulkan/src/pipeline/compile.rs (lower_bounded) |
rare: very large output modules |
WorkUnits |
Deterministic work units of one attempt | every device (a deterministic cap) | ours |
1: crates/metal2vulkan-air/src/budget/mod.rs (counted) |
rare: very large shaders |
LedgerBytes |
Ledger bytes of one attempt | every device (a deterministic cap) | ours |
9: crates/metal2vulkan-air/src/bitstream/mod.rs (count), crates/metal2vulkan-air/src/budget/mod.rs (charge) (+5) |
rare: very large shaders |
TypeCount |
Types in the bitcode type table | every device (a deterministic cap) | ours |
3: crates/metal2vulkan-air/src/bitcode/types.rs (decode), crates/metal2vulkan-air/src/bitcode/types.rs (id) (+1) |
none: a type table past the cap |
MetadataNodes |
Metadata nodes | every device (a deterministic cap) | ours |
6: crates/metal2vulkan-air/src/bitcode/function.rs (metadata), crates/metal2vulkan-air/src/bitcode/metadata.rs (keep_old_values, 3 sites) (+2) |
none: metadata past the cap |
BitstreamNesting |
Bitstream block nesting | every device (a deterministic cap) | ours |
1: crates/metal2vulkan-air/src/bitstream/mod.rs (enter_block) |
none: malformed nesting |
InstructionCount |
Instructions of the decoded module | every device (a deterministic cap) | ours |
8: crates/metal2vulkan-air/src/bitcode/function.rs (call), crates/metal2vulkan-air/src/bitcode/function.rs (constants) (+4) |
rare: very large modules |
LayoutNesting |
Nesting depth of air.struct_type_info layouts and the argument-buffer members inside them |
every device (a deterministic cap) | ours |
3: crates/metal2vulkan-air/src/abi/structs.rs (finish), crates/metal2vulkan-air/src/abi/structs.rs (open) (+1) |
none: argument-buffer layouts nested past the cap |
ConstructNesting |
Nesting depth of structured constructs the structurizer emits (P8 recurses once per level) | every device (a deterministic cap) | ours |
2: crates/metal2vulkan/src/structurize/emit.rs (check_tree), crates/metal2vulkan/src/structurize/emit/predicate.rs (facts_of) |
none: control flow nested past the cap |
PrivateArenaBytes |
Bytes of a function's private arena, whose pointers are u32 byte offsets |
every device (a deterministic cap) | ours |
4: crates/metal2vulkan/src/lower/access/local.rs (device_arena), crates/metal2vulkan/src/lower/access/local.rs (use_arena) (+1) |
none: a private arena past 4 GiB |
CallStackBytes |
Bytes of a kernel's call stack | every device (a deterministic cap) | ours |
1: crates/metal2vulkan-air/src/canon/recursion.rs (metal_stack) |
rare: deep visible-function call stacks |
3. Rate maps the compile layer does not compile (UnpinnedCompile)
| Variant | What it blocks | Where | Basis | Sites | Reach |
|---|---|---|---|---|---|
ScreenExtent |
A screen extent above 16384 | every device (this crate's bound: Apple's compile unmeasured or crashing there) | ours |
1: crates/metal2vulkan/src/bind/rate_map.rs (new) |
rare: a rate map whose screen is past 16384 a side |
LayerCount |
More than two layers | every device (this crate's bound: Apple's compile unmeasured or crashing there) | ours |
1: crates/metal2vulkan/src/bind/rate_map.rs (new) |
none: a rate map of more than two layers, which Apple's compile crashes on |
DenseSamples |
An axis with more quality samples than its screen extent plus one | every device (this crate's bound: Apple's compile unmeasured or crashing there) | ours |
1: crates/metal2vulkan/src/bind/rate_map.rs (new) |
rare: a rate map axis with more quality samples than screen pixels |
SampleOutOfRange |
A sample outside [0, 1] (or NaN) on an axis of two or more samples |
every device (this crate's bound: Apple's compile unmeasured or crashing there) | ours |
1: crates/metal2vulkan/src/bind/rate_map.rs (new) |
rare: a rate map quality sample outside [0, 1] among others |
SampleCount |
An axis of more samples, not all equal, than the most measured on a map of its layer count, max |
every device (this crate's bound: Apple's compile unmeasured or crashing there) | ours |
1: crates/metal2vulkan/src/bind/rate_map.rs (new) |
rare: a rate map axis of more distinct samples than measured (9 on one layer, 4 on two) |
4. The translation deadline (Error::Budget)
| Variant | What it blocks | Where | Basis | Sites | Reach |
|---|---|---|---|---|---|
Time |
The attempt's deadline passed | every device (the attempt's deadline, 20 seconds by default) | ours |
1: crates/metal2vulkan-air/src/budget/mod.rs (counted) |
none: a translation past its deadline: a defect of ours to fix on any supported input (AGENTS.md: 20 seconds) |
5. Devices below the runtime's floor (floor::BelowFloor: each floor::Missing)
| Variant | What it blocks | Where | Basis | Sites | Reach |
|---|---|---|---|---|---|
Version |
The device's Vulkan version (apiVersion) is below 1.3 |
devices below the floor, at device creation | device |
1: crates/metal2vulkan-runtime/src/floor.rs (decide) |
- |
Extension |
A device extension | devices below the floor, at device creation | device |
1: crates/metal2vulkan-runtime/src/floor.rs (decide) |
- |
Feature |
A feature | devices below the floor, at device creation | device |
1: crates/metal2vulkan-runtime/src/floor.rs (decide) |
- |
Limit |
A limit below what the runtime uses | devices below the floor, at device creation | device |
2: crates/metal2vulkan-runtime/src/floor.rs (decide, 2 sites) |
- |
QueueFamily |
A queue family with both VK_QUEUE_GRAPHICS_BIT and VK_QUEUE_COMPUTE_BIT |
devices below the floor, at device creation | device |
1: crates/metal2vulkan-runtime/src/floor.rs (decide) |
- |
MemoryType |
A memory type with these property flags, as Vulkan names them, for buffers of every usage the runtime gives them | devices below the floor, at device creation | device |
1: crates/metal2vulkan-runtime/src/floor.rs (choose) |
- |
TimeDomain |
A time domain of [TIME_DOMAINS] the device does not calibrate (vkGetPhysicalDeviceCalibrateableTimeDomainsEXT), as Vulkan names it |
devices below the floor, at device creation | device |
1: crates/metal2vulkan-runtime/src/floor.rs (decide) |
- |
SetLayout |
The layout of one of the runtime's descriptor sets, set 0 (empty) or 1 (the texture and sampler arrays), which vkGetDescriptorSetLayoutSupport... |
devices below the floor, at device creation | device |
1: crates/metal2vulkan-runtime/src/arrays.rs (supported) |
- |
6. The runtime's Refusal (Error::Refused(Refusal))
| Variant | What it blocks | Where | Basis | Sites | Reach |
|---|---|---|---|---|---|
EmptyBuffer |
A buffer of no bytes (Device::new_buffer with a length of 0) |
every device (a public call's own check of its arguments) | metal-measured: an Apple M3 Max: newBufferWithLength:0 answers nil |
2: crates/metal2vulkan-runtime/src/buffer.rs (new_managed_buffer), crates/metal2vulkan-runtime/src/buffer.rs (placed_buffer) |
- |
BufferTooLong |
A buffer longer than MAX_BUFFER_LENGTH (Device::new_buffer), or a visible-function table whose words are... |
every device (a public call's own check of its arguments) | ours: this crate's cap: a buffer's every byte lies within 2^31 bytes of each bind address in it |
3: crates/metal2vulkan-runtime/src/buffer.rs (new_managed_buffer), crates/metal2vulkan-runtime/src/buffer.rs (placed_buffer) (+1) |
- |
BufferPastBlock |
A buffer whose range leaves its block (Device::new_buffer) |
every device (a public call's own check of its arguments) | metal-measured: an Apple M3 Max, macOS 27.0.1: a placement heap of 1 MiB answers nil for a 4096-byte buffer at offset 1,047,552 |
1: crates/metal2vulkan-runtime/src/buffer.rs (placed) |
- |
HeapBufferPlace |
A heap buffer whose range leaves its heap (Device::new_heap_buffer) |
every device (a public call's own check of its arguments) | metal-measured: an Apple M3 Max, macOS 27.0.1: a placement heap of 1 MiB answers nil for a 4096-byte buffer at offset 1,047,552 |
1: crates/metal2vulkan-runtime/src/buffer.rs (new_heap_buffer) |
- |
ManagedBlockPrivate |
A Managed buffer whose bytes are in a Private block (Device::new_managed_buffer) |
every device (a public call's own check of its arguments) | metal-documented: a Managed buffer has a CPU-side copy: MTLBuffer.h gives its contents as "the data pointer of this buffer's shared copy", and didModifyRange: names the ranges "the CPU has modified" |
1: crates/metal2vulkan-runtime/src/buffer.rs (new_managed_buffer) |
- |
ManagedCopyMissing |
A Managed buffer given no place for its device copy on a device that keeps one, where Device::has_unified_memory is false... |
every device (a public call's own check of its arguments) | ours: Metal keeps a Managed buffer's second copy on a Mac with a discrete GPU; the consumer places it, as it places every buffer |
1: crates/metal2vulkan-runtime/src/buffer.rs (new_managed_buffer) |
- |
ManagedCopyOnUnified |
A Managed buffer given a place for a device copy on a device that keeps none, where Device::has_unified_memory is true... |
every device (a public call's own check of its arguments) | ours: on unified memory a Managed buffer is its bytes, as Metal keeps one copy of a Managed buffer on Apple silicon |
1: crates/metal2vulkan-runtime/src/buffer.rs (new_managed_buffer) |
- |
ManagedCopyNotPrivate |
A Managed buffer whose device copy is placed in a block that is not Private (Device::new_managed_buffer) |
every device (a public call's own check of its arguments) | ours: shaders reach the device copy in Private memory, device-local where it has room, as a discrete GPU's Metal keeps the copy in its own memory |
1: crates/metal2vulkan-runtime/src/buffer.rs (new_managed_buffer) |
- |
ManagedCopyExported |
A Managed buffer whose device copy is placed in an exported block (Device::new_managed_buffer) |
every device (a public call's own check of its arguments) | ours: Metal places a Managed buffer's second copy itself, so no Metal program puts it in memory another API shares |
1: crates/metal2vulkan-runtime/src/buffer.rs (new_managed_buffer) |
- |
ZeroRangePastBlock |
A zero fill whose range leaves its block (Device::zero_block_range), as a buffer placed there would |
every device (a public call's own check of its arguments) | ours: the fill stands for the zeroed contents of a buffer placed in the range, and Metal answers nil for a buffer placed past the end of its heap |
1: crates/metal2vulkan-runtime/src/buffer.rs (zero_block_range) |
- |
ZeroRangeShared |
A zero fill of a Shared block (Device::zero_block_range) |
every device (a public call's own check of its arguments) | ours: the host maps a Shared block, and its bytes are zeroed through the mapping, as a zeroed Shared buffer's are; the fill is for the memory the host does not map |
1: crates/metal2vulkan-runtime/src/buffer.rs (zero_block_range) |
- |
NotExported |
A call about another API's access of a block that is not exported | every device (a public call's own check of its arguments) | ours: only an exported block's memory is another API's to write or read |
2: crates/metal2vulkan-runtime/src/export.rs (external_writes_done), crates/metal2vulkan-runtime/src/export.rs (wait_until_ready) |
- |
SurfacePlanes |
A surface (Device::new_exported_surface) of no plane or of more than four, or whose pitch or start multiple is 0, or whose multiples and texels... |
every device (a public call's own check of its arguments) | ours: a DRM format has at most four memory planes, and a layout needs a nonzero multiple |
3: crates/metal2vulkan-runtime/src/d3d11.rs (import_d3d11_surface), crates/metal2vulkan-runtime/src/surface.rs (new_exported_surface, 2 sites) |
- |
ModifiedRange |
A changed range that leaves its buffer (Buffer::did_modify_range) |
every device (a public call's own check of its arguments) | ours: the copy of such a range would write past the buffer's device copy |
1: crates/metal2vulkan-runtime/src/buffer.rs (did_modify_range) |
- |
Committed |
A call on a command buffer already committed | every device (a public call's own check of its arguments) | metal-documented: Metal's validation asserts "commit an already committed command buffer", "Completed handler provided after commit call" and "Scheduled handler provided after commit call" |
1: crates/metal2vulkan-runtime/src/command.rs (open) |
- |
InScheduledHandler |
A call a scheduled handler may not make (CommandBuffer::add_scheduled_handler) |
every device (a public call's own check of its arguments) | ours: the consumer's scheduled handlers run on the submit thread, and the one consumer's make none of these calls; a guest's scheduled handler runs in the guest |
1: crates/metal2vulkan-runtime/src/command.rs (not_in_scheduled_handler) |
- |
WaitOnOwnThread |
A wait, in a handler or a listener, for what the runtime thread that runs it would have to do first, so it would never end | every device (a public call's own check of its arguments) | ours: no wait of the runtime's hangs by construction |
4: crates/metal2vulkan-runtime/src/command.rs (wait_until_completed), crates/metal2vulkan-runtime/src/command.rs (wait_until_scheduled) (+2) |
- |
OtherDevice |
An event, a buffer, a texture or a pipeline state of another device in an encode call (CommandBuffer::encode_wait_for_event,... |
every device (a public call's own check of its arguments) | ours: an event's semaphore, a buffer's block, a texture's image, a pipeline and a block belong to the VkDevice that made them |
38: crates/metal2vulkan-runtime/src/blit.rs (buffer_copy), crates/metal2vulkan-runtime/src/blit.rs (copy_from_buffer_to_buffer) (+31) |
- |
NoCommandBuffers |
A queue that may hold no command buffer (Device::new_command_queue with a count of 0) |
every device (a public call's own check of its arguments) | ours: its first commandBuffer call would wait forever |
1: crates/metal2vulkan-runtime/src/queue.rs (new_command_queue) |
- |
EncoderOpen |
A second encoder, an encode call, or a commit or enqueue, while an encoder of the command buffer is open | every device (a public call's own check of its arguments) | metal-documented: a command buffer has one active encoder at a time, ended by endEncoding before another is made or the command buffer is committed |
1: crates/metal2vulkan-runtime/src/command.rs (open) |
- |
NoPipeline |
A dispatch or a draw with no pipeline state set | every device (a public call's own check of its arguments) | metal-documented: a compute dispatch needs a compute pipeline state set first, and a draw a render pipeline state |
5: crates/metal2vulkan-runtime/src/encoder.rs (dispatch), crates/metal2vulkan-runtime/src/render_encoder.rs (draw, 2 sites) (+2) |
- |
CommandRange |
A range of an indirect command buffer's commands past them, in an execution (RenderCommandEncoder::execute_commands_in_buffer), a reset or an... |
every device (a public call's own check of its arguments) | metal-documented: each call names commands of the buffer, and the offset of a range a buffer holds must be a multiple of 4 bytes |
4: crates/metal2vulkan-runtime/src/blit.rs (optimize_indirect_command_buffer), crates/metal2vulkan-runtime/src/blit.rs (reset_commands_in_buffer) (+2) |
- |
PatchDraw |
A draw of patches with a render pipeline state whose vertex function is not a post-tessellation one, or a draw of primitives with one whose vertex... | every device (a public call's own check of its arguments) | metal-measured: an M4: plain Metal stops its process over a patch draw with a pipeline that is not a tessellation one, its validation off; Metal's validation stops a draw of primitives with a tessellation pipeline |
2: crates/metal2vulkan-runtime/src/render_encoder.rs (draw), crates/metal2vulkan-runtime/src/render_encoder.rs (execution_part) |
- |
NoTessellationFactorBuffer |
A draw of patches while the encoder has no tessellation factor buffer (setTessellationFactorBuffer:offset:instanceStride:) |
every device (a public call's own check of its arguments) | metal-measured: an Apple M3 Max, macOS 27.0.1: plain Metal ends the process, SIGSEGV, at a quad patch draw with no tessellation factor buffer, where the same draw with one set runs and paints the target, the API validation layer off |
1: crates/metal2vulkan-runtime/src/render_encoder.rs (draw) |
- |
IndexedPatchDrawWithoutIndexType |
drawIndexedPatches with a render pipeline state whose control-point index type (tessellationControlPointIndexType) is None |
every device (a public call's own check of its arguments) | metal-measured: an Apple M3 Max, macOS 27.0.1: Metal's validation stops drawIndexedPatches through a state of the index type None, directly and indirectly |
2: crates/metal2vulkan-runtime/src/render_encoder.rs, crates/metal2vulkan-runtime/src/render_encoder.rs (draw) |
- |
PatchDrawWithIndexType |
drawPatches with a render pipeline state whose control-point index type (tessellationControlPointIndexType) is not None |
every device (a public call's own check of its arguments) | metal-measured: an Apple M3 Max, macOS 27.0.1: Metal's validation stops drawPatches through a state of the index type UInt16, directly and indirectly |
2: crates/metal2vulkan-runtime/src/render_encoder.rs, crates/metal2vulkan-runtime/src/render_encoder.rs (draw) |
- |
PointSizeTopology |
Device::new_render_pipeline_state of a vertex function that writes [[point_size]] under the line or the triangle input primitive topology... |
every device (a public call's own check of its arguments) | metal-measured: an Apple M3 Max, macOS 27.0.1, every class crossed with both shapes of vertex function: Metal's pipeline creation fails with Vertex shader writes point size but inputPrimitiveTopology is MTLPrimitiveTopologyClassLine, and its Triangle counterpart; the conformance crate's topology-class-point-size-function compares it |
1: crates/metal2vulkan-runtime/src/render.rs (of) |
- |
BufferIndex |
A buffer argument index past Metal's 31 entries (setBuffer, setBytes, setBufferOffset, setThreadgroupMemoryLength) |
every device (a public call's own check of its arguments) | metal-documented: the buffer argument table has 31 entries per stage |
2: crates/metal2vulkan-runtime/src/encoder.rs (slot), crates/metal2vulkan-runtime/src/render_encoder.rs (slot) |
- |
TextureArgumentIndex |
A texture argument index past Metal's 128 entries (setTexture) |
every device (a public call's own check of its arguments) | metal-documented: the texture argument table has 128 entries per stage on Apple GPUs |
2: crates/metal2vulkan-runtime/src/encoder.rs (set_texture), crates/metal2vulkan-runtime/src/render_encoder.rs (set_texture) |
- |
SamplerArgumentIndex |
A sampler argument index past Metal's 16 entries (setSamplerState) |
every device (a public call's own check of its arguments) | metal-documented: the sampler argument table has 16 entries per stage |
2: crates/metal2vulkan-runtime/src/encoder.rs (bind_sampler), crates/metal2vulkan-runtime/src/render_encoder.rs (set_sampler_state) |
- |
FunctionTableIndex |
A visible-function table's entry at or past its size (VisibleFunctionTable::set_function, set_functions), which writes nothing |
every device (a public call's own check of its arguments) | ours: the runtime writes no byte past a table's words |
1: crates/metal2vulkan-runtime/src/function_table.rs (set_functions) |
- |
SamplerIds |
A consumer's answer to Device::new_compute_pipeline_state's numbered samplers with another count of indices |
every device (a public call's own check of its arguments) | ours: each numbered sampler takes one index |
1: crates/metal2vulkan-runtime/src/pipeline.rs (number_samplers) |
- |
NoBufferAtIndex |
setBufferOffset at an index where no buffer is bound, or a draw whose vertex descriptor reads a vertex buffer index where none is bound |
every device (a public call's own check of its arguments) | ours: there is no buffer whose offset to change, and none whose vertices the draw reads; Metal's validation stops such a draw |
3: crates/metal2vulkan-runtime/src/encoder.rs (set_buffer_offset), crates/metal2vulkan-runtime/src/render_encoder.rs (find) (+1) |
- |
ThreadgroupSize |
A threadgroup of no threads, or of more than Metal's maxTotalThreadsPerThreadgroup for the kernel (a required size's threads, where the... |
every device (a public call's own check of its arguments) | metal-documented: a threadgroup's threads total at most the state's maxTotalThreadsPerThreadgroup |
2: crates/metal2vulkan-runtime/src/encoder.rs (dispatch), crates/metal2vulkan-runtime/src/encoder.rs (size_checked) |
- |
ImageblockSize |
An imageblock size (ComputeCommandEncoder::set_imageblock_size) whose width or height is not a power of two, 0 included, or whose cells are more... |
every device (a public call's own check of its arguments) | metal-measured: an Apple M3 Max, macOS 27.0.1, probe imageblock_size_rules.m in the conformance crate, job m3-max-70002: Metal's validation layer stops each at the call, width(24) must be a power of 2., height(12) must be a power of 2., width(0) must be a power of 2. and width(64)*height(32) must be less than or equal to 1024; it takes 16 by 16, 1024 by 1, 1 by 1024, 16 by 16 for a state of 64 threads, and a size set before the pipeline state |
1: crates/metal2vulkan-runtime/src/encoder.rs (imageblock_checked) |
- |
IndirectOffset |
An indirect dispatch's or draw's argument offset that is not a multiple of 4, which Metal's indirectBufferOffset must be... |
every device (a public call's own check of its arguments) | metal-documented: MTLComputeCommandEncoder.h for dispatchThreadgroupsWithIndirectBuffer:indirectBufferOffset:threadsPerThreadgroup:, and MTLRenderCommandEncoder.h for the indirect drawPrimitives and drawIndexedPrimitives: "indirectBufferOffset must be a multiple of 4"; Apple's page for the indirect drawPatches sends its offset to the feature set tables, whose minimum constant buffer offset alignment is 4 bytes |
2: crates/metal2vulkan-runtime/src/encoder.rs (dispatch_threadgroups_with_indirect_buffer), crates/metal2vulkan-runtime/src/render_encoder.rs (indirect) |
- |
IndirectArgumentsPastEnd |
An indirect dispatch's or draw's arguments, at an offset that is a multiple of 4, that run past the buffer's end | every device (a public call's own check of its arguments) | ours: vkCmdDispatchIndirect, vkCmdDrawIndirect and vkCmdDrawIndexedIndirect read their arguments inside the buffer, VUID-vkCmdDispatchIndirect-offset-00407, VUID-vkCmdDrawIndirect-drawCount-00487 and VUID-vkCmdDrawIndexedIndirect-drawCount-00539 |
2: crates/metal2vulkan-runtime/src/encoder.rs (dispatch_threadgroups_with_indirect_buffer), crates/metal2vulkan-runtime/src/render_encoder.rs (indirect) |
- |
BufferOffsetAlignment |
A dispatch whose kernel, or a draw whose vertex or fragment function, reaches a buffer bound where its address, the buffer's gpuAddress plus the... |
every device (a public call's own check of its arguments) | metal-documented: Metal's API validation refuses the bind offset: "must be a multiple of 4 but was set to 2" for a uint * argument bound at offset 2, an Apple M3 Max, macOS 27.0.1, probes/vector_access_placement.m in the conformance crate |
1: crates/metal2vulkan-runtime/src/encoder.rs (check_alignment) |
- |
IndicesGranted |
A grant of an index already granted (Device::grant_indices) |
every device (a public call's own check of its arguments) | ours: each index has one grant, so each resource ID names one object |
1: crates/metal2vulkan-runtime/src/arrays.rs (grant) |
- |
IndicesNotGranted |
A texture, a sampler state or a pipeline state's constexpr sampler at an index no grant of its class holds (Device::new_texture,... |
every device (a public call's own check of its arguments) | ours: an object takes an index the consumer was granted |
1: crates/metal2vulkan-runtime/src/arrays.rs (place) |
- |
TextureIndex |
A texture shaders reach made without an index, or one they do not reach made with one (Device::new_texture) |
every device (a public call's own check of its arguments) | ours: an index is an element of set 1's texture arrays, which only shaders read |
5: crates/metal2vulkan-runtime/src/texture.rs (new_drawable_texture), crates/metal2vulkan-runtime/src/texture.rs (surface_texture) (+3) |
- |
TextureWithoutIndex |
A texture shaders reach through its views alone, made without an index of its own (Device::new_texture_for_views, a surface's or a Direct3D 11... |
every device (a public call's own check of its arguments) | ours: a slot pushes its texture's index, an element of set 1's texture arrays |
2: crates/metal2vulkan-runtime/src/encoder.rs (set_texture), crates/metal2vulkan-runtime/src/render_encoder.rs (set_texture) |
- |
TextureUsageAtSlot |
A dispatch or draw whose function uses a texture slot where the bound texture's usage lacks what the function's access there asks | every device (a public call's own check of its arguments) | metal-measured: an Apple M3 Max, macOS 27.0.1, jobs m3-max-78392 and m3-max-78422: setTexture:atIndex: binds the texture and plain Metal reads and writes its texels; Metal's validation asserts at the dispatch "Compute Function(k_read): reads texture (t[0]) whose usage (0x04) doesn't specify MTLTextureUsageShaderRead (0x01)", "writes texture (t[0]) whose usage (0x01) doesn't specify MTLTextureUsageShaderWrite (0x02)" for an access::write argument the function only asks the width of, and at the draw "Fragment Function(f_first): Shader reads texture (t[0]) whose usage (0x04) doesn't specify MTLTextureUsageShaderRead (0x01)" |
1: crates/metal2vulkan-runtime/src/encoder.rs (check_usage) |
- |
TextureZeroExtent |
A texture with a width, height or depth of 0 | every device (a public call's own check of its arguments) | metal-measured: an Apple M3 Max, macOS 27.0.1: plain Metal asserts "MTLTextureDescriptor has width of zero", and the same for a height of zero |
2: crates/metal2vulkan-runtime/src/texture.rs (shape), crates/metal2vulkan-runtime/src/texture.rs (texel_shape) |
- |
TextureExtentForType |
A texture with a height other than 1 of a 1D type, or a depth other than 1 of a type that is not 3D | every device (a public call's own check of its arguments) | metal-measured: an Apple M3 Max, macOS 27.0.1: plain Metal asserts "the texture type MTLTextureType1D requires that height is 1", and the same for a 2D texture of depth 2 |
2: crates/metal2vulkan-runtime/src/texture.rs (shape), crates/metal2vulkan-runtime/src/texture.rs (texel_shape) |
- |
TextureCubeNotSquare |
A cube texture whose width and height differ | every device (a public call's own check of its arguments) | metal-measured: an Apple M3 Max, macOS 27.0.1: plain Metal asserts "MTLTextureDescriptor width must equal height for cube textures" |
1: crates/metal2vulkan-runtime/src/texture.rs (shape) |
- |
TextureArrayLength |
A texture with an array length of 0, or other than 1 of a type that is not an array | every device (a public call's own check of its arguments) | metal-measured: an Apple M3 Max, macOS 27.0.1: plain Metal asserts "MTLTextureDescriptor has arrayLength of zero", where an array length of 2 is made |
3: crates/metal2vulkan-runtime/src/texture.rs (shape, 2 sites), crates/metal2vulkan-runtime/src/texture.rs (texel_shape) |
- |
TextureLevelCount |
A texture with a mipmap level count of 0, more than its full chain's, or more than 1 of a multisample or 1D type | every device (a public call's own check of its arguments) | metal-measured: an Apple M3 Max, macOS 27.0.1: plain Metal asserts "requests 5 mipmap levels, but the dimensions (8, 8, 1) can only support a maxiumum of 4 levels", and the same for 0 |
2: crates/metal2vulkan-runtime/src/texture.rs (shape), crates/metal2vulkan-runtime/src/texture.rs (texel_shape) |
- |
TextureSampleCount |
A texture with a sample count of 0, or other than 1 of a type that is not multisample | every device (a public call's own check of its arguments) | metal-measured: an Apple M3 Max, macOS 27.0.1: plain Metal asserts "has sampleCount set but is using a type that does not allow sampleCount" for 0 and for 2 of a 2D texture |
2: crates/metal2vulkan-runtime/src/texture.rs (shape), crates/metal2vulkan-runtime/src/texture.rs (texel_shape) |
- |
TextureSwizzleWithWrites |
A texture with a swizzle other than each channel from itself and shader-write or render-target usage | every device (a public call's own check of its arguments) | metal-measured: an Apple M3 Max, macOS 27.0.1: plain Metal asserts "Texture swizzling is not compatable with MTLTextureUsageShaderWrite", where a swizzle of read usage alone is made |
2: crates/metal2vulkan-runtime/src/texture.rs (own_checks), crates/metal2vulkan-runtime/src/texture.rs (texel_shape) |
- |
TextureBytesPrivate |
Texture::replace_region or Texture::get_bytes of a Private or Memoryless texture |
every device (a public call's own check of its arguments) | metal-documented: Apple's documentation of MTLStorageModePrivate: "The resource is accessible only to the GPU." |
1: crates/metal2vulkan-runtime/src/texture.rs (copy) |
- |
TextureRegion |
Texture::replace_region, Texture::get_bytes or a blit copy (BlitCommandEncoder::copy_from_texture) of a level or slice past the texture's,... |
every device (a public call's own check of its arguments) | ours: no texel of the texture is there to copy |
1: crates/metal2vulkan-runtime/src/texture.rs (place) |
- |
TextureBytesLayout |
Texture::replace_region or Texture::get_bytes with rows closer than a row of the region, images closer than an image of it, or bytes too few... |
every device (a public call's own check of its arguments) | ours: the call would read or write past the bytes it is given, or one texel's bytes over another's |
1: crates/metal2vulkan-runtime/src/texture.rs (copy) |
- |
BufferCopyLayout |
BlitCommandEncoder::copy_from_buffer or BlitCommandEncoder::copy_from_texture_to_buffer whose offset or row stride, for a format of single... |
every device (a public call's own check of its arguments) | metal-measured: an Apple M3 Max, macOS 27.0.1, probe blit_buffer_copy_rules.m in the conformance crate, jobs m3-max-43541 and m3-max-43545: Metal's validation layer stops an RGBA8Unorm offset of 2, sourceOffset (2) must be a multiple of 4 bytes, a row stride of 18, sourceBytesPerRow (18) must be a multiple of 4 bytes, and the same of a copy into a buffer, a row stride of 12 for rows of 16 bytes, an image stride of 12 for images of 16, and a region 16 bytes past the buffer's end, totalBytesUsed(4112) must be <= [sourceBuffer length](4096); it takes an R8Unorm offset of 2, a row stride of 0 for one row, image strides of no whole number of rows, and an image stride on a 2D texture and on a slice of a 1D array |
1: crates/metal2vulkan-runtime/src/blit.rs (buffer_copy) |
- |
FillRange |
BlitCommandEncoder::fill_buffer of an empty range, or of one past the buffer's end |
every device (a public call's own check of its arguments) | metal-measured: an Apple M3 Max, macOS 27.0.1, probe blit_fill_rules.m in the conformance crate, job m3-max-43573: Metal's validation layer stops both, range.length(0) must not be 0 and (range.location + range.length)(68) must be <= [buffer length](64) |
1: crates/metal2vulkan-runtime/src/blit.rs (fill_range) |
- |
TextureViewRange |
Texture::new_texture_view of an empty range of levels or slices, or of one past the texture's |
every device (a public call's own check of its arguments) | metal-measured: an Apple M3 Max, macOS 27.0.1, probe texture_view_rules.m in the conformance crate, job m3-max-43677: Metal's validation layer stops each, (newLevelRange.location + newLevelRange.length)(4) must be <= [texture mipmapLevelCount](3), newLevelRange.length must not be 0 and (newSliceRange.location + newSliceRange.length)(4) must be <= (3) |
1: crates/metal2vulkan-runtime/src/texture.rs (view) |
- |
TextureViewSlices |
Texture::new_texture_view of a slice count the view's type does not take |
every device (a public call's own check of its arguments) | metal-documented: Apple's makeTextureView(pixelFormat:textureType:levels:slices:) page: "The length value of the sliceRange parameter needs to be 6 if the new texture type value is MTLTextureType.typeCube, or a multiple of 6 if the new texture type value is MTLTextureType.typeCubeArray"; and measured on an Apple M3 Max, macOS 27.0.1: plain Metal asserts "newSliceRange.length(2) must equal (1) for textureType (MTLTextureType2D)" |
1: crates/metal2vulkan-runtime/src/texture.rs (view) |
- |
TextureViewFormat |
Texture::new_texture_view of a pixel format Metal does not view the texture as |
every device (a public call's own check of its arguments) | metal-measured: an Apple M3 Max, macOS 27.0.1, probe texture_view_rules.m in the conformance crate, jobs m3-max-43677 and m3-max-59523: Metal's validation layer stops a view of another format of a texture of ShaderRead usage, R32Uint, RGBA8Uint, BGRA8Unorm and BGRA8Unorm_sRGB of RGBA8Unorm, A8Unorm, R8Snorm and R8Uint of R8Unorm, R16Unorm of RG8Unorm, "texture usage (0x01) doesn't specify MTLTextureUsagePixelFormatView (0x10)", and makes it where the usage adds PixelFormatView; plain Metal makes each, a blit out of it reading the texture's bytes; Apple's makeTextureView and MTLTextureUsage.pixelFormatView pages state the rest |
2: crates/metal2vulkan-runtime/src/d3d11.rs (d3d11_plane_form), crates/metal2vulkan-runtime/src/texture.rs (view) |
- |
MipmapFormat |
BlitCommandEncoder::generate_mipmaps of a texture of more than one level whose pixel format is not a colour-renderable, filterable one |
every device (a public call's own check of its arguments) | metal-measured: Apple's generateMipmaps(for:) page: mipmap generation works only for textures with colour-renderable and colour-filterable pixel formats; Metal's API validation stops the others, measured on an Apple M3 Max and an M4 |
1: crates/metal2vulkan-runtime/src/blit.rs (generate_mipmaps) |
- |
TextureCopyMismatch |
BlitCommandEncoder::copy_from_texture between textures of two pixel formats, or of two sample counts |
every device (a public call's own check of its arguments) | metal-measured: an Apple M3 Max, macOS 27.0.1, probe blit_copy_format_pairs.m in the conformance crate: Metal's validation layer stops every pair of two formats it was given, sRGB, integer, float, channel order, depth and compressed pairs among them, with [sourceTexture pixelFormat](...) must equal [destinationTexture pixelFormat](...), and a source of four samples into one of one with [sourceTexture sampleCount](4) must equal [destinationTexture sampleCount](1) |
2: crates/metal2vulkan-runtime/src/blit.rs (texel_texture_copy), crates/metal2vulkan-runtime/src/blit.rs (texture_copy) |
- |
AliasingCopy |
A blit copy between a texture placed in a heap (Device::new_heap_texture) and a resource whose memory meets the texture's, which the two then... |
every device (a public call's own check of its arguments) | metal-measured: an Apple M3 Max, macOS 27.0.1, probe overlapping_alias_copies.m in the conformance crate, jobs m3-max-81486 and m3-max-81493: Metal's validation layer stops a copy between a buffer and a texture over its bytes in a placement heap, either way, and the region method between two textures over each other's bytes, over part of a level or all of it, with "blitting between aliasing resources is defined on a placement heap only when using a blit method copying entire texture surfaces, or when copying between buffers", and copyFromTexture:toTexture: between a heap texture and a linear texture over a heap buffer at its bytes with "blitting between aliasing resources is defined on a placement heap only when both textures are linear and have the same bufferBytesPerRow value"; with the layer off, each gives the source's bytes from before the copy |
2: crates/metal2vulkan-runtime/src/blit.rs (buffer_copy), crates/metal2vulkan-runtime/src/blit.rs (texture_copy) |
- |
ManagedTextureBytes |
A Managed texture's bytes the device cannot copy in place (Device::new_managed_texture) |
every device (a public call's own check of its arguments) | ours: a buffer-to-image copy reads a place only so laid out, and the consumer's bytes are the place the copy reads |
5: crates/metal2vulkan-runtime/src/texture.rs (check_places), crates/metal2vulkan-runtime/src/texture.rs (named) (+2) |
- |
BufferTextureLayout |
A texture over a buffer (Buffer::new_texture) whose rows are not a whole number of texels apart or are closer than a row, whose offset is not a... |
every device (a public call's own check of its arguments) | ours: a linear image and a copy read rows whole texels apart from a texel's start, and texels past the buffer would lie in memory it does not hold |
2: crates/metal2vulkan-runtime/src/texture.rs (check_over), crates/metal2vulkan-runtime/src/texture.rs (texel_texture) |
- |
TextureNotInPlace |
A texture over a buffer asked of Buffer::new_texture_in_place that Buffer::new_texture would make as the counted copy, an image of its own... |
every device (a public call's own check of its arguments) | ours: the call makes a texture in place or none, so that the consumer keeps the bytes in a texture of its own where the device's linear image does not take them |
2: crates/metal2vulkan-runtime/src/texture.rs (texture, 2 sites) |
- |
TextureBufferAlignment |
A texture buffer (MTLTextureTypeTextureBuffer) over a buffer (Buffer::new_texture) whose offset is not a multiple of the device's minimum... |
every device (a public call's own check of its arguments) | metal-documented: MTLDevice.h: minimumTextureBufferAlignmentForPixelFormat: "Returns the minimum alignment required for offset and rowBytes when creating a texture buffer from a buffer" |
1: crates/metal2vulkan-runtime/src/texture.rs (texel_texture) |
- |
TextureBufferNotOverBuffer |
A texture buffer (MTLTextureTypeTextureBuffer) made other than over a buffer or in a heap |
every device (a public call's own check of its arguments) | ours: a texture buffer's texels are a buffer's bytes, read through a buffer view of the buffer; the runtime places no buffer of its own outside the consumer's heaps |
1: crates/metal2vulkan-runtime/src/texture.rs (shape) |
- |
HeapTexturePlace |
A heap texture whose image, or a texture buffer's texels, do not lie in its heap (Device::new_heap_texture, Device::new_heap_texture_for_views) |
every device (a public call's own check of its arguments) | ours: an image bound past its heap's range would take memory the heap does not hold, and Vulkan binds an image only at its alignment, and views a texel buffer only at its offset alignment |
2: crates/metal2vulkan-runtime/src/texture.rs (heap_texels), crates/metal2vulkan-runtime/src/texture.rs (make) |
- |
DrawableDescriptor |
A drawable's texture (Device::new_drawable_texture) of a descriptor that is not a 2D texture of one level of the swapchain's image extent, or... |
every device (a public call's own check of its arguments) | ours: the texture is the swapchain's image, which the descriptor states |
1: crates/metal2vulkan-runtime/src/texture.rs (new_drawable_texture) |
- |
DrawableFormat |
A drawable's texture (Device::new_drawable_texture) over a swapchain whose image format is not the one the runtime holds the descriptor's pixel... |
every device (a public call's own check of its arguments) | ours: the texture's views and copies read the image in the format the runtime holds the pixel format in |
1: crates/metal2vulkan-runtime/src/texture.rs (new_drawable_texture) |
- |
DrawableUsage |
A drawable's texture (Device::new_drawable_texture) over a swapchain whose image usage lacks some of what the runtime's own texture of the... |
every device (a public call's own check of its arguments) | ours: each of the texture's uses takes its image's usage |
1: crates/metal2vulkan-runtime/src/texture.rs (new_drawable_texture) |
- |
NotDrawable |
Texture::drawable_acquired or CommandBuffer::present_drawable of a texture that is not over a swapchain's image, or a view of one |
every device (a public call's own check of its arguments) | ours: only a swapchain's image is acquired and presented |
2: crates/metal2vulkan-runtime/src/texture.rs (drawable_acquired), crates/metal2vulkan-runtime/src/texture.rs (present_turn) |
- |
DrawableAcquired |
Texture::drawable_acquired of a drawable acquired and not presented since |
every device (a public call's own check of its arguments) | ours: a swapchain's image is acquired again only once it was presented |
1: crates/metal2vulkan-runtime/src/texture.rs (drawable_acquired) |
- |
DrawableNotAcquired |
CommandBuffer::present_drawable of a drawable not acquired since its last present, or one a command buffer not yet committed already presents |
every device (a public call's own check of its arguments) | ours: a swapchain's image is presented once for each acquire |
1: crates/metal2vulkan-runtime/src/texture.rs (present_turn) |
- |
DrawableSemaphoreRepeated |
CommandBuffer::present_drawable with a semaphore the command buffer already signals for another drawable |
every device (a public call's own check of its arguments) | ours: Vulkan signals a binary semaphore only while it is unsignalled, and each present waits on a semaphore of its own |
1: crates/metal2vulkan-runtime/src/command.rs (present_drawable) |
- |
BufferCopyRange |
A copy between buffers (BlitCommandEncoder::copy_from_buffer_to_buffer) whose range, size bytes from offset, leaves the source or the... |
every device (a public call's own check of its arguments) | metal-documented: Metal's validation stops a copy past either buffer's length |
1: crates/metal2vulkan-runtime/src/blit.rs (buffer_to_buffer) |
- |
BufferCopyOverlap |
A copy within one buffer whose source and destination ranges share bytes | every device (a public call's own check of its arguments) | metal-documented: Apple's page for copy(from:sourceOffset:to:destinationOffset:size:): "You can pass the same buffer to the sourceBuffer and destinationBuffer parameters if size is less than the distance between sourceOffset and destinationOffset". The bytes plain Metal leaves differ by device: it runs the copy, its API validation on, and on an Apple M3 Max, macOS 27.0.1, arm64 and x86_64 under Rosetta (job m3-max-80419), and on a Radeon Pro 5300M, macOS 26.7.1 (job m3-max-80501), every overlap equals memmove's, forward and backward, Shared and Private, 64 bytes to 16 MiB in five runs each; on that Mac's UHD Graphics 630 a forward overlap, destination above source, of 64 KiB and up differs from memmove's in each of five runs, at the same first byte and in the same count of bytes, while the smaller and the backward ones equal it |
1: crates/metal2vulkan-runtime/src/blit.rs (buffer_to_buffer) |
- |
AttachmentUsage |
A render pass attachment (CommandBuffer::render_command_encoder) whose texture was made without RenderTarget usage |
every device (a public call's own check of its arguments) | metal-documented: a texture a render pass renders into needs MTLTextureUsageRenderTarget; Metal's validation stops the descriptor |
1: crates/metal2vulkan-runtime/src/texture.rs (attachment) |
- |
ResolveTexture |
A store action that resolves (MultisampleResolve or StoreAndMultisampleResolve), on a render pass attachment or set by its encoder, for an... |
every device (a public call's own check of its arguments) | metal-documented: MTLRenderPass.h: resolveTexture is "Only used (and required) if the store action is set to MTLStoreActionMultisampleResolve" |
2: crates/metal2vulkan-runtime/src/pass.rs (resolving), crates/metal2vulkan-runtime/src/render_encoder.rs (later_store) |
- |
ResolveFormat |
A resolve of a render pass color attachment of an integer pixel format | every device (a public call's own check of its arguments) | metal-documented: Metal's validation asserts that an integer color format "cannot be a MSAA resolve target", and plain Metal writes values no sample holds |
1: crates/metal2vulkan-runtime/src/pass.rs (check) |
- |
AttachmentPlace |
A render pass attachment or resolve texture of a level or slice past its texture's | every device (a public call's own check of its arguments) | ours: no texel of the texture is there to render into |
4: crates/metal2vulkan-runtime/src/texture.rs (attachment_view, 3 sites), crates/metal2vulkan-runtime/src/texture.rs (resolve_attachment) |
- |
AttachmentFormat |
A render pass color attachment of a depth or stencil pixel format, a depth attachment of a format without depth, or a stencil attachment of a... | every device (a public call's own check of its arguments) | metal-documented: a color attachment takes a color-renderable format, a depth attachment a format with depth and a stencil attachment a format with stencil; Metal's validation stops the descriptor |
3: crates/metal2vulkan-runtime/src/pass.rs (check, 3 sites) |
- |
NoAttachmentPass |
A render pass with no attachment whose renderTargetWidth or renderTargetHeight is 0, or whose defaultRasterSampleCount is 0, Metal's default |
every device (a public call's own check of its arguments) | metal-measured: an Apple M3 Max, macOS 27.0.1, the API validation layer off, m3-max-62174, probes/no_attachment_passes.m: a side of 0 makes no encoder, nil, and a count of 0 ends the process at the encoder, SIGABRT, where 64 by 64 pixels at 1 sample makes one |
1: crates/metal2vulkan-runtime/src/pass.rs (check) |
- |
SamplePositions |
A render pass's sample positions (setSamplePositions:count:) other than the device's own |
every device (a public call's own check of its arguments) | metal-documented: MTLRenderPass.h: the positions are "to be used in MSAA rendering (i.e. when sample count > 1)" and the count "must be a valid sample count"; MTLTypes.h: a position's range is "[0,1) for both x and y"; MTLDevice.h's programmableSamplePositionsSupported; Metal's validation stops a pass of more positions than samples, a coordinate outside the pixel and positions in a pass of one sample, and one position past the samples ends plain Metal's process on an Apple M4, the conformance suite's sample_positions module |
1: crates/metal2vulkan-runtime/src/positions.rs (locations) |
- |
DefaultSamplePositions |
The default sample positions (getDefaultSamplePositions:count:) of a sample count the device does not render (supports_texture_sample_count... |
every device (a public call's own check of its arguments) | metal-measured: an Apple M3 Max, macOS 27.0.1: plain Metal asserts "count (n) is not supported on this device." for 0, 3, 5, 6, 8, 16, 17, 32 and 33, with or without its validation layer, the conformance crate's probes/default_sample_positions.m |
1: crates/metal2vulkan-runtime/src/device.rs (default_sample_positions) |
- |
VertexBufferOffset |
A draw whose vertex descriptor reads a vertex buffer at an offset at or past the buffer's length | every device (a public call's own check of its arguments) | metal-documented: a buffer's offset lies inside it; Metal's validation stops the bind |
1: crates/metal2vulkan-runtime/src/render_encoder.rs (vertex_range) |
- |
IndexBufferOffset |
An indexed draw whose index buffer offset is not a multiple of the index size, or whose indices leave the buffer | every device (a public call's own check of its arguments) | metal-documented: the offset is a multiple of the index size and the indices lie in the buffer; Metal's validation stops the draw |
1: crates/metal2vulkan-runtime/src/render_encoder.rs (draw) |
- |
TessellationFactorOffset |
A tessellation factor buffer whose factors, at its address plus the offset, start at an odd byte | every device (a public call's own check of its arguments) | metal-documented: setTessellationFactorBuffer:offset:instanceStride:'s offset is a multiple of 4; Metal's validation stops a patch draw with any other |
1: crates/metal2vulkan-runtime/src/render_encoder.rs (set_tessellation_factor_buffer) |
- |
PatchIndexBufferOffset |
A patch draw's patch index buffer (patchIndexBuffer) at an offset that is not a multiple of 4 |
every device (a public call's own check of its arguments) | metal-measured: an Apple M3 Max, macOS 27.0.1: Metal's validation stops a patch draw whose patchIndexBufferOffset is not a multiple of 4, directly and indirectly |
1: crates/metal2vulkan-runtime/src/render_encoder.rs |
- |
ControlPointIndexBufferOffset |
An indexed patch draw's control-point index buffer (controlPointIndexBuffer) at an offset that is not a multiple of the index size the state's... |
every device (a public call's own check of its arguments) | metal-measured: an Apple M3 Max, macOS 27.0.1: Metal's validation stops drawIndexedPatches whose controlPointIndexBufferOffset is not a multiple of the index size, directly and indirectly |
1: crates/metal2vulkan-runtime/src/render_encoder.rs |
- |
ArgumentPlace |
An indirect dispatch's arguments, an indexed draw's indices, a patch draw's patch or control-point indices, or a visibility result, at a byte of... | every device (a public call's own check of its arguments) | ours: vkCmdDispatchIndirect reads its arguments at a multiple of 4 in the VkBuffer, vkCmdBindIndexBuffer takes indices at a multiple of their size in the memory, a patch draw's control stage loads its indices through their address at that alignment, and vkCmdCopyQueryPoolResults writes 64-bit results at a multiple of 8, VUID-vkCmdCopyQueryPoolResults-flags-00823; a Metal buffer starts at an aligned address, so Metal's offset rules alone keep each aligned there |
5: crates/metal2vulkan-runtime/src/encoder.rs (dispatch_threadgroups_with_indirect_buffer), crates/metal2vulkan-runtime/src/render_encoder.rs (+3) |
- |
ViewportNotFinite |
A viewport with a field that is NaN or infinite (but its origin's x, which draws nothing) | every device (a public call's own check of its arguments) | metal-measured: an Apple M4, macOS 27.0.1: Metal's validation stops a NaN or infinite origin; the other fields are taken by the same rule |
1: crates/metal2vulkan-runtime/src/render_encoder.rs (checked) |
- |
StencilAttachment |
A draw under a depth-stencil state that tests the stencil, in a pass without a stencil attachment | every device (a public call's own check of its arguments) | metal-measured: an Apple M4, macOS 27.0.1: Metal's validation stops the draw; plain Metal tests it against a hidden stencil of 0 that the runtime does not keep |
1: crates/metal2vulkan-runtime/src/render_encoder.rs (draw) |
- |
NoVisibilityResultBuffer |
A visibility result mode but Disabled (setVisibilityResultMode:offset:) in a pass with no visibility result buffer |
every device (a public call's own check of its arguments) | metal-documented: Apple's page for setVisibilityResultMode(_:offset:): "To create a render pass that can enable visibility testing, assign an MTLBuffer instance to the visibilityResultBuffer property of an MTLRenderPassDescriptor" |
1: crates/metal2vulkan-runtime/src/render_encoder.rs (set_visibility_result_mode) |
- |
VisibilityResultOffset |
A visibility result mode but Disabled at an offset that is not a multiple of 8, or whose 8 bytes run past the visibility result buffer |
every device (a public call's own check of its arguments) | metal-documented: MTLRenderCommandEncoder.h: "offset must be a multiple of 8"; Apple's page for visibilityResultBuffer: "The GPU stores visibility results as 64-bit integers, so you need to reserve 8 bytes for each visibility result" |
1: crates/metal2vulkan-runtime/src/render_encoder.rs (set_visibility_result_mode) |
- |
VisibilityResultOffsetTaken |
A visibility result mode but Disabled at an offset a mode of the encoder took before, Disabled between them or not |
every device (a public call's own check of its arguments) | metal-documented: Apple's page for setVisibilityResultMode(_:offset:): "You can set a specific offset value only once per render pass"; Metal's validation stops it, "using the same offset (0) in the visibility buffer twice in the same command encoder is not allowed", an Apple M3 Max, macOS 27.0.1, the conformance case visibility-counting-revisit, where plain Metal adds the later draws to the result |
1: crates/metal2vulkan-runtime/src/render_encoder.rs (set_visibility_result_mode) |
- |
7. The runtime's Limit (Error::Limit(Limit))
| Variant | What it blocks | Where | Basis | Sites | Reach |
|---|---|---|---|---|---|
BlockLen |
A block longer than one allocation and one buffer hold on the device (Device::take_block past maxMemoryAllocationSize or maxBufferSize) |
at the device's limit | device: the device's maxMemoryAllocationSize and maxBufferSize |
4: crates/metal2vulkan-runtime/src/import.rs (check_len), crates/metal2vulkan-runtime/src/memory.rs (round) (+2) |
- |
BlockIds |
A block after every block number has been used (Device::take_block) |
every device (a public call's own check of its arguments) | ours: block numbers are 32 bits |
2: crates/metal2vulkan-runtime/src/memory.rs (allocation_number), crates/metal2vulkan-runtime/src/memory.rs (number) |
- |
ThreadgroupMemory |
A dispatch whose threadgroup memory, the kernel's own and the lengths set (each rounded up to 16 bytes), is past the device's... | at the device's limit | device: the device's maxComputeSharedMemorySize |
1: crates/metal2vulkan-runtime/src/encoder.rs (threadgroup_memory) |
- |
ThreadgroupThreads |
A dispatch whose threadgroup is within Metal's maxTotalThreadsPerThreadgroup for the kernel and past the state's on this device |
at the device's limit | device: the device's compute work-group and shared-memory limits |
1: crates/metal2vulkan-runtime/src/encoder.rs (size_checked) |
- |
BytesLength |
setBytes data longer than one parameter ring chunk |
every device (a public call's own check of its arguments) | ours: a ring chunk is 64 KiB |
2: crates/metal2vulkan-runtime/src/encoder.rs (set_bytes), crates/metal2vulkan-runtime/src/render_encoder.rs (set_bytes) |
- |
IndexRange |
A grant of no indices, or one past its class's range (Device::grant_indices, [IndexClass::range]) |
every device (a public call's own check of its arguments) | ours: the descriptor arrays are 65,536 sampled and 65,536 storage textures, one index of both a texture's, and 4,000 samplers of each use, and index 0 is nil |
1: crates/metal2vulkan-runtime/src/arrays.rs (grant) |
- |
TextureSize |
A texture whose extent or array layers are past what the device makes of its format, type, usage and sample count | at the device's limit | device: the image format query's maxExtent and maxArrayLayers, an import's with its handle type, and maxTexelBufferElements |
2: crates/metal2vulkan-runtime/src/texture.rs (size_within), crates/metal2vulkan-runtime/src/texture.rs (texel_width) |
- |
DeviceSamplers |
A sampler state whose device samplers would take the device past its maxSamplerAllocationCount, less the sampler arrays' two defaults... |
at the device's limit | device: the device's maxSamplerAllocationCount |
1: crates/metal2vulkan-runtime/src/sampler.rs (take) |
- |
LodClampVariants |
A sampler state bound with LOD clamps of its own past the variants the runtime holds at once | every device (a public call's own check of its arguments) | ours: the runtime's 4,000 variant elements |
1: crates/metal2vulkan-runtime/src/arrays.rs (place_variant) |
- |
LevelElements |
A dispatch or a draw that binds a texture of more than one level to a slot its function writes or reads at a level other than the constant 0 (MSL... | every device (a public call's own check of its arguments) | ours: the runtime's 65,536 level elements, 4,096 runs of 16 |
2: crates/metal2vulkan-runtime/src/arrays.rs (place_levels), crates/metal2vulkan-runtime/src/texture.rs (hold_levels) |
- |
MemoryAllocations |
A VkDeviceMemory allocation past the device's maxMemoryAllocationCount live ones, refused before the driver is called |
at the device's limit | device: the device's maxMemoryAllocationCount |
1: crates/metal2vulkan-runtime/src/memory.rs (allocate) |
- |
AllocationNotMapped |
A take that no free range fits made an allocation that the consumer's BlockMappings::map did not map |
every device (a public call's own check of its arguments) | ours: the consumer's hook gave the allocation no place in its own address range |
1: crates/metal2vulkan-runtime/src/memory.rs (own) |
- |
AllocationAddress |
A take that no free range fits made an allocation whose device address the device placed off a multiple of 16 (Device::take_block, and the... |
at the device's limit | device: the address vkGetBufferDeviceAddress gives the allocation's buffer |
1: crates/metal2vulkan-runtime/src/memory.rs (make_allocation) |
- |
NoImport |
An import of a handle the device does not take (Device::import_dma_buf and Device::import_dma_bufs on Unix, Device::import_host_memory, a... |
at the device's limit | device: the device's extensions, features, queue family and external buffer properties |
8: crates/metal2vulkan-runtime/src/d3d11.rs (d3d11_plane_form, 2 sites), crates/metal2vulkan-runtime/src/d3d11.rs (d3d11_plane_texture) (+5) |
- |
ImportType |
An import whose handle's memory type query offers no type the import takes, so nothing is imported | at the device's limit | device: the handle's memory type query and the buffer's or image's memory requirements |
3: crates/metal2vulkan-runtime/src/d3d11.rs (d3d11_plane_texture), crates/metal2vulkan-runtime/src/import.rs (dma_buf_type) (+1) |
- |
ImportCoherence |
An import of a dma-buf (Device::import_dma_buf and Device::import_dma_bufs, on Unix) on a device whose Shared memory type, the first... |
at the device's limit | device: the Shared memory type's VK_MEMORY_PROPERTY_HOST_COHERENT_BIT |
1: crates/metal2vulkan-runtime/src/import.rs (dma_buf_type) |
- |
ImportAlignment |
An import of no bytes, or one whose address or length is not a multiple of alignment |
at the device's limit | device: minImportedHostPointerAlignment and the buffer's memory requirements |
4: crates/metal2vulkan-runtime/src/import.rs (check_len), crates/metal2vulkan-runtime/src/import.rs (check_size) (+2) |
- |
SparseAddressSpace |
An import over several dma-bufs (Device::import_dma_bufs, on Unix) whose sparse buffer would take the device's sparse address space past its... |
at the device's limit | device: sparseAddressSpaceSize |
1: crates/metal2vulkan-runtime/src/import.rs (reserve) |
- |
NoExport |
An export of a handle the device does not give (Device::new_exported_block) |
at the device's limit | device: the device's extensions and its external buffer properties |
5: crates/metal2vulkan-runtime/src/export.rs (handle, 2 sites), crates/metal2vulkan-runtime/src/export.rs (new_exported_block) (+2) |
- |
ExportType |
An export of a handle the device gives, but not in the one form an export takes (Device::new_exported_block) |
at the device's limit | device: its extensions and the buffer's memory requirements |
6: crates/metal2vulkan-runtime/src/export.rs (new_exported_block), crates/metal2vulkan-runtime/src/import.rs (surface_import) (+4) |
- |
TextureSamples |
A multisample texture of a sample count the device does not make for its format, type and usage | at the device's limit | device: the image format query's sampleCounts |
1: crates/metal2vulkan-runtime/src/texture.rs (planned) |
- |
8. The runtime's Gap (Error::Unsupported(Gap))
| Variant | What it blocks | Where | Basis | Sites | Reach |
|---|---|---|---|---|---|
IndirectCommandBuffers |
An indirect command buffer, its execution, or a compute pipeline state for one, of what the runtime does not build, kind naming it |
every device (a public call's own check of its arguments) | ours: the first cut of indirect command buffers builds that alone |
5: crates/metal2vulkan-runtime/src/indirect.rs (new_indirect_command_buffer), crates/metal2vulkan-runtime/src/indirect.rs (shape) (+3) |
- |
KernelInput |
A kernel that reads something the compute encoder does not supply yet, kind naming what |
every device (a public call's own check of its arguments) | ours: the encoder supplies only those |
1: crates/metal2vulkan-runtime/src/pipeline.rs (gap) |
- |
StageIn |
A form of a kernel's [[stage_in]] that is not built, kind naming which |
every device (a public call's own check of its arguments) | ours: no replay stream makes a compute state with a stage-input descriptor or sets a stage-in region indirectly; what Metal reads at an indexed step's rate past 1 is not measured |
2: crates/metal2vulkan-runtime/src/encoder.rs (set_stage_in_region_with_indirect_buffer), crates/metal2vulkan-runtime/src/pipeline.rs (of) |
- |
ImageblockLength |
An imageblock length Metal answers by a rule no case measures | every device (a public call's own check of its arguments) | ours: no case measures Metal's rule for the length |
2: crates/metal2vulkan-runtime/src/pipeline.rs (imageblock_memory_length_for_dimensions), crates/metal2vulkan-runtime/src/render.rs (imageblock_sample_length) |
- |
PartialSimdgroups |
A dispatch whose threadgroup is not whole SIMD groups of a kernel whose tier runs each SIMD group as one subgroup of width threads (a pinned... |
every device (a public call's own check of its arguments) | ours: no emulated-SIMD-group module |
1: crates/metal2vulkan-runtime/src/encoder.rs (decide) |
- |
PartialThreadgroups |
dispatchThreads with a grid that is not a whole number of threadgroups on some axis, of a kernel that observes its threadgroup partition and... |
every device (a public call's own check of its arguments) | ours: the translator's partial-threadgroups variant does not take the emulated SIMD-group tier, nor a vote word past the workgroup memory |
1: crates/metal2vulkan-runtime/src/encoder.rs (decide) |
- |
NoStageInRegion |
A dispatch of a kernel that reads the stage-in region ([[grid_origin]], [[grid_size]], a [[stage_in]] attribute of a thread-position step)... |
every device (a public call's own check of its arguments) | ours: no replay stream dispatches such a kernel without setting a region |
1: crates/metal2vulkan-runtime/src/encoder.rs (dispatch) |
- |
IndirectPrivateArena |
dispatchThreadgroupsWithIndirectBuffer:indirectBufferOffset:threadsPerThreadgroup: of a kernel whose private memory lives in the runtime's... |
every device (a public call's own check of its arguments) | ours: no replay stream dispatches such a kernel indirectly |
1: crates/metal2vulkan-runtime/src/encoder.rs (dispatch) |
- |
MemorylessTexture |
A texture of Memoryless storage, which only render passes use |
every device (a public call's own check of its arguments) | ours: render passes are built, but a memoryless attachment keeps its contents for the whole render encoder, across the renderings the runtime ends and restarts inside it, and the image that would hold them is not built |
1: crates/metal2vulkan-runtime/src/texture.rs (checked) |
- |
TextureBufferSwizzle |
A texture buffer (MTLTextureTypeTextureBuffer) with a swizzle other than each channel's own (Buffer::new_texture), which Metal applies to its... |
every device (a public call's own check of its arguments) | ours: a texel buffer view has no component mapping, and a texture's resource ID carries no swizzle to the shader; no recorded stream makes one |
1: crates/metal2vulkan-runtime/src/texture.rs (texel_shape) |
- |
TextureFormat |
A texture of a pixel format the runtime makes no image of on this device for the descriptor's usage | every device (a public call's own check of its arguments) | ours: the device's format query, or the identity domains' shaders read every texture through its view alone |
5: crates/metal2vulkan-runtime/src/texture.rs (attachment_view), crates/metal2vulkan-runtime/src/texture.rs (form) (+3) |
- |
MipmapFilter |
BlitCommandEncoder::generate_mipmaps of a texture whose image the device's blits do not filter |
every device (a public call's own check of its arguments) | ours: the device's format query; the levels are the device's blit chain alone |
1: crates/metal2vulkan-runtime/src/blit.rs (generate_mipmaps) |
- |
CubicSampler |
A sampler state whose minification or magnification filter is cubic (Device::new_sampler_state) |
every device (a public call's own check of its arguments) | ours: the translator's identity domains do not filter bicubically, and Vulkan's cubic filter is not Metal's |
1: crates/metal2vulkan-runtime/src/sampler.rs (new_sampler_state) |
- |
TextureBytes |
Texture::replace_region, Texture::get_bytes or a blit copy between a buffer and a texture (BlitCommandEncoder::copy_from_buffer) of a... |
every device (a public call's own check of its arguments) | ours: no copy between such an image and bytes is built |
4: crates/metal2vulkan-runtime/src/blit.rs (buffer_copy), crates/metal2vulkan-runtime/src/blit.rs (with_option) (+2) |
- |
TextureCopy |
BlitCommandEncoder::copy_from_texture that the floor's vkCmdCopyImage does not make |
every device (a public call's own check of its arguments) | ours: Vulkan 1.3 copies none of these with one command; each is built when a replay stream makes one |
1: crates/metal2vulkan-runtime/src/blit.rs (texture_copy) |
- |
OverlappingCopy |
A blit copy whose source and destination share memory where no copy command orders it as from the source before the copy, which Metal leaves... | every device (a public call's own check of its arguments) | ours: no copy command reads bytes it writes, VUID-vkCmdCopyImage-pRegions-00124 and its twins, and the device's layout of two heap textures leaves no cut; rows of two pitches that cross are built, in an order of rows from where they cross, when a replay stream or a walk counts one; the whole level between two heap textures is built through an image of the runtime's, counted, when a guest's run counts one |
2: crates/metal2vulkan-runtime/src/blit.rs (buffer_copy), crates/metal2vulkan-runtime/src/blit.rs (copy_from_texture) |
- |
TextureOverBuffer |
A texture over a buffer (Buffer::new_texture) the runtime does not make |
every device (a public call's own check of its arguments) | ours: the in-place linear image and the copy form take one 2D color image, and a texture buffer's view the texel-buffer offset alignment of Vulkan 1.3 |
4: crates/metal2vulkan-runtime/src/texture.rs (check_over), crates/metal2vulkan-runtime/src/texture.rs (error) (+2) |
- |
HeapTexture |
A heap texture the runtime does not place (Device::new_heap_texture, Device::new_heap_texture_for_views and Device::heap_texture_size_and_align) |
every device (a public call's own check of its arguments) | ours: heap textures are built for Private and Shared heaps of placeable images |
2: crates/metal2vulkan-runtime/src/texture.rs (heap_fit), crates/metal2vulkan-runtime/src/texture.rs (heap_source) |
- |
SurfaceUsage |
A plane of a Direct3D 11 texture's import (Device::import_d3d11_surface, on Windows) whose texture's uses ask an image usage the texture's bind... |
at the device's limit | device: the import's image format query and the texture's bind flags |
2: crates/metal2vulkan-runtime/src/d3d11.rs (d3d11_plane_form), crates/metal2vulkan-runtime/src/texture.rs (surface_texture) |
- |
D3d11SurfaceBuffer |
The buffer of a surface of Direct3D 11 textures (Surface::buffer of Device::import_d3d11_surface's, a Windows host's) |
every device (a public call's own check of its arguments) | ours: each plane is a Direct3D 11 texture of its own, imported into memory of its own as an optimal image, so no one memory holds the picture's bytes for a buffer |
1: crates/metal2vulkan-runtime/src/surface.rs (buffer) |
- |
BufferCopyAlignment |
BlitCommandEncoder::copy_from_buffer or BlitCommandEncoder::copy_from_texture_to_buffer whose bytes no copy command in the floor addresses,... |
every device (a public call's own check of its arguments) | ours: Vulkan 1.3 places a copy's rows in a buffer by a count of texels from an aligned offset; each is built when a replay stream makes one |
1: crates/metal2vulkan-runtime/src/blit.rs (buffer_copy) |
- |
FillAlignment |
BlitCommandEncoder::fill_buffer of a range that does not start and end on whole 4-byte words of the bytes shaders reach, which Metal fills byte... |
every device (a public call's own check of its arguments) | ours: vkCmdFillBuffer writes whole words; a byte fill is built when a replay stream makes one |
1: crates/metal2vulkan-runtime/src/blit.rs (fill_range) |
- |
RenderPipeline |
A render pipeline state of something the runtime does not build yet | every device (a public call's own check of its arguments) | ours: the replay streams' render pipelines draw into colour, depth and stencil attachments of one sample, with no tessellation and no framebuffer fetch; each other kind is built when a replay stream makes one |
5: crates/metal2vulkan-runtime/src/render.rs (draw_input), crates/metal2vulkan-runtime/src/render.rs (of) (+2) |
- |
SwizzledReadWrite |
A draw or dispatch whose function declares access::read_write at texture slot slot and reads it, where the texture bound there has a swizzle... |
every device (a public call's own check of its arguments) | ours: built when a replay stream counts one |
2: crates/metal2vulkan-runtime/src/encoder.rs (dispatch), crates/metal2vulkan-runtime/src/render_encoder.rs (find) |
- |
OpenClLineTexture |
A dispatch of a kernel of OpenCL mode (ComputePipelineDescriptor::open_cl_mode_enabled) whose texture slot slot is bound to a 1D or 1D array... |
every device (a public call's own check of its arguments) | ours: no reading of it is documented Metal |
1: crates/metal2vulkan-runtime/src/encoder.rs (dispatch) |
- |
StorageElement |
A draw or dispatch whose function writes a texture slot, or reads one through its storage image (access::read_write), bound to a texture made... |
every device (a public call's own check of its arguments) | ours: the storage element through a view of the nearest format whose storage Vulkan requires of every device, with the translator's conversion, is the form to build |
4: crates/metal2vulkan-runtime/src/encoder.rs (dispatch, 2 sites), crates/metal2vulkan-runtime/src/render_encoder.rs (find, 2 sites) |
- |
BicubicTexels |
A dispatch or a draw whose function samples texture slot slot through a constexpr sampler with Metal's bicubic filter (filter::bicubic), where... |
every device (a public call's own check of its arguments) | ours: each refused format's treatment is built when a guest binds one |
2: crates/metal2vulkan-runtime/src/encoder.rs (dispatch), crates/metal2vulkan-runtime/src/render_encoder.rs (find) |
- |
TextureView |
Texture::new_texture_view of a kind Metal makes and the runtime does not build |
every device (a public call's own check of its arguments) | ours: the replay streams' views that compute binds are same-format views of every slice, 2D views of one slice of a 2D array, and level subranges, swizzled or not; each other kind is built when a replay stream binds one |
1: crates/metal2vulkan-runtime/src/texture.rs (view) |
- |
RenderPass |
A render pass of something the runtime does not build yet (CommandBuffer::render_command_encoder) |
every device (a public call's own check of its arguments) | ours: the replay streams' passes render into one to two color attachments and a stencil or a depth attachment, each a level of a 2D texture of one sample, with no resolve and a clear depth of 1, none naming two textures for its depth and stencil; each other kind is built when a replay stream makes one; DepthStencilViews and ClearDepth are what Vulkan's rendering under the floor takes no form of |
8: crates/metal2vulkan-runtime/src/pass.rs (check), crates/metal2vulkan-runtime/src/pass.rs (ops) (+6) |
- |
Draw |
A draw or render encoder state the runtime does not build yet (RenderCommandEncoder) |
every device (a public call's own check of its arguments) | ours: the replay streams draw lines and triangles through one viewport Vulkan's is, with pipeline states of their pass's formats, filled and clipped; each other kind is built when a replay stream draws one), and device for [DrawKind::DividedBaseInstance] (a device that does not report supportsNonZeroFirstInstance |
13: crates/metal2vulkan-runtime/src/render.rs (for_pass), crates/metal2vulkan-runtime/src/render.rs (pipeline) (+8) |
- |
StageSize |
A pipeline the device does not make for its heaviest stage's weight, for what cause names |
at the device's limit | device: on the Iris Xe of RPL-P, ANV, Mesa 26.2.6, the consumer's helper compiles of entry weights 186,065 to 424,132 passed its 3 GiB cap, job m3-max-65807; a driver whose helper's compile met its cap or time, or that keeps no pipeline cache data, gives no data to make the pipeline from |
3: crates/metal2vulkan-runtime/src/pipeline.rs (past_stage_bound), crates/metal2vulkan-runtime/src/render.rs (of) (+1) |
- |
Appendix: every site
Each refusal's sites, with the function that builds it.
feature::LibraryKind:crates/metal2vulkan-air/src/container/mtlb.rs (parse);crates/metal2vulkan/src/error/mod.rs (from)feature::Stage:crates/metal2vulkan-air/src/abi/check.rs (unsupported_stage);crates/metal2vulkan/src/error/mod.rs (from)feature::AddressSpace:crates/metal2vulkan-air/src/ir/types.rs (from_raw);crates/metal2vulkan/src/memory/plan.rs (reprs)feature::ModuleRecord:crates/metal2vulkan-air/src/bitcode/module.rs (function);crates/metal2vulkan-air/src/bitcode/module.rs (global);crates/metal2vulkan-air/src/bitcode/module.rs (record);crates/metal2vulkan/src/error/mod.rs (from)feature::Instruction:crates/metal2vulkan-air/src/bitcode/function.rs (call);crates/metal2vulkan-air/src/bitcode/function.rs (record, 8 sites);crates/metal2vulkan/src/error/mod.rs (from)feature::Type:crates/metal2vulkan-air/src/bitcode/types.rs (decode, 3 sites);crates/metal2vulkan/src/error/mod.rs (from)feature::CallingConvention:crates/metal2vulkan-air/src/bitcode/function.rs (call);crates/metal2vulkan-air/src/bitcode/module.rs (function);crates/metal2vulkan/src/error/mod.rs (from)feature::UnknownIntrinsic:crates/metal2vulkan-air/src/error.rs (from);crates/metal2vulkan/src/lower/select.rs (route)feature::AgxUnmodeled:crates/metal2vulkan/src/lower/simd/agx.rs (unmodeled)feature::StaticInitializer:crates/metal2vulkan-air/src/error.rs (from)feature::Recursion:crates/metal2vulkan-air/src/canon/mod.rs (recursion, 2 sites);crates/metal2vulkan-air/src/canon/recursion.rs (dynamic_alloca);crates/metal2vulkan-air/src/canon/static_init.rs (run)feature::DynamicCall:crates/metal2vulkan-air/src/canon/devirt.rs (record);crates/metal2vulkan-air/src/canon/devirt.rs (site);crates/metal2vulkan-air/src/canon/devirt.rs (unfolded_decl);crates/metal2vulkan-air/src/canon/mod.rs (post_check);crates/metal2vulkan-air/src/canon/prune.rs (prune_in);crates/metal2vulkan/src/lower/select.rs (route_air)feature::InlineAsm:crates/metal2vulkan-air/src/canon/mod.rs (post_check)feature::Linking:crates/metal2vulkan-air/src/canon/link.rs (not_implemented);crates/metal2vulkan-air/src/canon/mod.rs (post_check);crates/metal2vulkan-air/src/canon/mod.rs (specialize_dynamic)feature::SimdWidth:crates/metal2vulkan/src/device/subgroup.rs (subgroup_tier);crates/metal2vulkan/src/lower/simd/mod.rs (finish)feature::PartialThreadgroups:crates/metal2vulkan/src/lower/mesh/mod.rs (plan_partial_groups);crates/metal2vulkan/src/lower/simd/divergent.rs (barriers);crates/metal2vulkan/src/pipeline/compile.rs (analyze_one)feature::IrreducibleConvergent:crates/metal2vulkan/src/structurize/irreducible.rs (refuse_tangled)feature::ComputeDerivativesWithSimd:crates/metal2vulkan/src/lower/dispatch.rs (plan_kernel)feature::ComputeDerivatives:crates/metal2vulkan/src/lower/sync/barrier.rs (select_derivative, 3 sites)feature::QuadOperations:crates/metal2vulkan/src/device/subgroup.rs (subgroup_tier)feature::SimdgroupMatrix:crates/metal2vulkan/src/lower/simd/matrix.rs (not_implemented)feature::SimdgroupMatrix16x16x16:crates/metal2vulkan/src/lower/simd/matrix.rs (select)feature::ArgumentBufferPointers:crates/metal2vulkan/src/device/metal.rs (unsupported_features)feature::ArgumentBufferTextures:crates/metal2vulkan/src/bind/heap.rs (member_storage_format, 4 sites);crates/metal2vulkan/src/bind/heap.rs (member_texel_view, 2 sites);crates/metal2vulkan/src/lower/access/handle.rs (select);crates/metal2vulkan/src/lower/sampler/select.rs (select_one);crates/metal2vulkan/src/lower/sampler/select.rs (select_sampling);crates/metal2vulkan/src/lower/texture/atomic.rs (select);crates/metal2vulkan/src/lower/texture/slot.rs (declare_heap, 2 sites);crates/metal2vulkan/src/pipeline/link.rs (heap_set)feature::ArgumentBufferObjects:crates/metal2vulkan/src/lower/access/icb.rs (select);crates/metal2vulkan/src/lower/access/object.rs (select);crates/metal2vulkan/src/memory/provenance.rs (access);crates/metal2vulkan/src/memory/provenance.rs (classify)feature::DereferenceLoadedPointer:crates/metal2vulkan/src/lower/access/dynamic.rs (plan_misses);crates/metal2vulkan/src/lower/access/local.rs (access_ptr);crates/metal2vulkan/src/lower/access/local.rs (threadgroup_constant_refusal);crates/metal2vulkan/src/memory/plan.rs (analyze)feature::PointerToInteger:crates/metal2vulkan/src/lower/access/dynamic.rs (require_addresses)feature::PointerCompare:crates/metal2vulkan/src/lower/access/copy.rs (addressed)feature::HandleAsPointer:crates/metal2vulkan/src/lower/access/handle.rs (domain_kind);crates/metal2vulkan/src/lower/access/handle.rs (element, 2 sites);crates/metal2vulkan/src/memory/plan.rs (reprs);crates/metal2vulkan/src/memory/provenance.rs (classify);crates/metal2vulkan/src/memory/provenance.rs (seed)feature::ConstantGlobalEscaping:crates/metal2vulkan/src/memory/plan.rs (blob_nodes);crates/metal2vulkan/src/memory/plan.rs (serialize)feature::ThreadgroupMemorySize:crates/metal2vulkan/src/memory/arena.rs (check);crates/metal2vulkan/src/memory/plan.rs (too_large)feature::ZeroedThreadgroupMemory:crates/metal2vulkan/src/lower/access/local.rs (zero_threadgroup)feature::CoherentMemory:crates/metal2vulkan/src/lower/sync/memory_model.rs (check)feature::Int64Atomics:crates/metal2vulkan/src/lower/access/atomic.rs (select, 2 sites)feature::ImageAtomics:crates/metal2vulkan/src/lower/texture/atomic.rs (select)feature::DescriptorCount:crates/metal2vulkan/src/lower/access/mod.rs (accept_placement);crates/metal2vulkan/src/lower/select.rs (finish);crates/metal2vulkan/src/pipeline/link.rs (limit_error)feature::BufferRange:crates/metal2vulkan/src/lower/access/function_table.rs (select);crates/metal2vulkan/src/lower/access/mod.rs (place_slots)feature::Int64Arithmetic:crates/metal2vulkan/src/lower/arith/legal.rs (check_scalar);crates/metal2vulkan/src/lower/select.rs (selector_form)feature::Float64Arithmetic:crates/metal2vulkan/src/device/metal.rs (unsupported_features);crates/metal2vulkan/src/lower/arith/legal.rs (check_scalar)feature::Format:crates/metal2vulkan/src/lower/access/tile.rs (storage_format);crates/metal2vulkan/src/lower/fragment/color.rs (select_param, 5 sites);crates/metal2vulkan/src/lower/sampler/select.rs (select_extended);crates/metal2vulkan/src/lower/sampler/select.rs (texel_in);crates/metal2vulkan/src/lower/stage_io/extended_color.rs (plan, 2 sites);crates/metal2vulkan/src/lower/stage_io/plan.rs (entry);crates/metal2vulkan/src/lower/stage_io/plan.rs (zeroed_output);crates/metal2vulkan/src/lower/stage_io/word_color.rs (plan);crates/metal2vulkan/src/lower/texture/mod.rs (cross_class);crates/metal2vulkan/src/lower/texture/mod.rs (select);crates/metal2vulkan/src/lower/texture/mod.rs (select_image);crates/metal2vulkan/src/lower/texture/mod.rs (select_read_as, 2 sites);crates/metal2vulkan/src/lower/texture/mod.rs (select_write);crates/metal2vulkan/src/lower/texture/slot.rs (atomic_format, 2 sites);crates/metal2vulkan/src/lower/texture/slot.rs (declare_slot, 2 sites);crates/metal2vulkan/src/lower/texture/slot.rs (storage_format, 6 sites);crates/metal2vulkan/src/lower/texture/slot.rs (ulong_format, 3 sites);crates/metal2vulkan/src/lower/texture/words.rs (not_built);crates/metal2vulkan/src/metal/format/mod.rs (candidates);crates/metal2vulkan/src/metal/format/mod.rs (held_storage_choice, 3 sites);crates/metal2vulkan/src/metal/format/mod.rs (storage_choice);crates/metal2vulkan/src/metal/format/mod.rs (vk_format, 2 sites);crates/metal2vulkan/src/metal/vertex.rs (fetch_as, 2 sites);crates/metal2vulkan/src/pipeline/color_writes.rs (rotated_blend_in_shader);crates/metal2vulkan/src/pipeline/link/graphics.rs (extended_write_mask, 2 sites);crates/metal2vulkan/src/pipeline/link/graphics.rs (graphics_state, 3 sites);crates/metal2vulkan/src/pipeline/link/graphics.rs (reads_alpha_to_coverage, 2 sites);crates/metal2vulkan/src/pipeline/link/graphics.rs (textured_fetches);crates/metal2vulkan/src/pipeline/rotated_blend.rs (alpha_in_red_blend);crates/metal2vulkan/src/pipeline/rotated_blend.rs (rotated_blend)feature::DivergentImplicitLod:crates/metal2vulkan/src/lower/sampler/select.rs (tangled)feature::ImplicitLodOutsideFragment:crates/metal2vulkan/src/lower/sampler/constexpr.rs (query_min_level);crates/metal2vulkan/src/lower/sampler/select.rs (query_level_measured);crates/metal2vulkan/src/lower/sampler/select.rs (query_min_level)feature::MinLodClamp:crates/metal2vulkan/src/lower/sampler/select.rs (min_lod);crates/metal2vulkan/src/lower/sampler/select.rs (select_one)feature::TexelOffset:crates/metal2vulkan/src/lower/sampler/select.rs (in_device_range);crates/metal2vulkan/src/lower/sampler/select.rs (offset)feature::GatherExtended:crates/metal2vulkan/src/lower/sampler/select.rs (dynamic_offset)feature::StorageImageMultisample:crates/metal2vulkan/src/lower/texture/slot.rs (declare_heap);crates/metal2vulkan/src/lower/texture/slot.rs (declare_slot)feature::StorageTextureInVertexStage:crates/metal2vulkan/src/lower/texture/slot.rs (stage_stores)feature::CubeArray:crates/metal2vulkan/src/lower/sampler/select.rs (select_one);crates/metal2vulkan/src/lower/texture/slot.rs (declare_heap)feature::SamplerBorderColor:crates/metal2vulkan/src/metal/sampler.rs (border_read, 4 sites)feature::SamplerLodBias:crates/metal2vulkan/src/lower/sampler/constexpr.rs (constexpr_desc, 3 sites)feature::SamplerCompare:crates/metal2vulkan/src/metal/sampler.rs (check_sampler)feature::PixelSamplerCompare:crates/metal2vulkan/src/lower/sampler/constexpr.rs (lowered)feature::RasterOrderGroups:crates/metal2vulkan/src/device/metal.rs (unsupported_features);crates/metal2vulkan/src/lower/fragment/rog.rs (mode, 2 sites)feature::FramebufferFetch:crates/metal2vulkan/src/lower/fragment/fetch.rs (computed_write_refused);crates/metal2vulkan/src/lower/fragment/fetch.rs (plan_sample)feature::PrimitiveId:crates/metal2vulkan/src/lower/stage_io/plan.rs (finish);crates/metal2vulkan/src/pipeline/link/varyings.rs (check_primitive_id)feature::PrivatePrimitives:crates/metal2vulkan/src/lower/stage_io/plan.rs (indices_feature)feature::VertexAmplification:crates/metal2vulkan/src/lower/stage_io/plan.rs (index_store);crates/metal2vulkan/src/lower/tessellation/mod.rs (select_param);crates/metal2vulkan/src/pipeline/link/graphics.rs (vertex_amplification);crates/metal2vulkan/src/pipeline/link/tessellation/mod.rs (control_plan)feature::LayeredRendering:crates/metal2vulkan/src/lower/mesh/mod.rs (target_index, 2 sites);crates/metal2vulkan/src/lower/stage_io/plan.rs (index_store)feature::ClipDistance:crates/metal2vulkan/src/lower/mesh/mod.rs (select, 2 sites)feature::DualSourceBlending:crates/metal2vulkan/src/metal/state.rs (blend_factor);crates/metal2vulkan/src/pipeline/link/graphics.rs (check_outputs);crates/metal2vulkan/src/pipeline/rotated_blend.rs (rotated_blend)feature::Barycentrics:crates/metal2vulkan/src/device/metal.rs (unsupported_features);crates/metal2vulkan/src/lower/stage_io/plan.rs (param)feature::StencilExport:crates/metal2vulkan/src/lower/stage_io/plan.rs (stencil_export_refused)feature::SampleRateShading:crates/metal2vulkan/src/pipeline/link/graphics.rs (sample_invocations, 3 sites)feature::PullModelInterpolation:crates/metal2vulkan/src/lower/fragment/interpolate.rs (select, 2 sites);crates/metal2vulkan/src/lower/stage_io/plan.rs (interpolant, 2 sites);crates/metal2vulkan/src/lower/stage_io/plan.rs (interpolant_reads)feature::DivergentInterpolation:crates/metal2vulkan/src/lower/stage_io/plan.rs (interpolant_reads)feature::PixelCoverageAtSampleRate:crates/metal2vulkan/src/lower/simd/mod.rs (select_param);crates/metal2vulkan/src/pipeline/link/graphics.rs (sample_invocations)feature::InterfaceComponents:crates/metal2vulkan/src/pipeline/link/graphics.rs (graphics_state);crates/metal2vulkan/src/pipeline/link/varyings.rs (assign);crates/metal2vulkan/src/pipeline/link/varyings.rs (limit_error)feature::UnmatchedVarying:crates/metal2vulkan/src/pipeline/link/varyings.rs (mesh_fragment);crates/metal2vulkan/src/pipeline/link/varyings.rs (varyings, 2 sites)feature::KernelStageIn:crates/metal2vulkan/src/lower/stage_io/stage_in.rs (select)feature::VertexStepRate:crates/metal2vulkan/src/metal/vertex.rs (divided)feature::VertexInputLayout:crates/metal2vulkan/src/pipeline/link/vertex.rs (resolve, 4 sites)feature::Tessellation:crates/metal2vulkan-air/src/canon/mod.rs (post_check, 2 sites);crates/metal2vulkan/src/error/mod.rs (tessellation);crates/metal2vulkan/src/lower/tessellation/mod.rs (plan_entry);crates/metal2vulkan/src/pipeline/link/tessellation/mod.rs (control_plan)feature::MeshShading:crates/metal2vulkan/src/lower/mesh/mod.rs (check_payload);crates/metal2vulkan/src/lower/mesh/mod.rs (plan_entry, 2 sites);crates/metal2vulkan/src/memory/plan.rs (reprs)feature::TileShading:crates/metal2vulkan/src/lower/access/tile.rs (not_implemented);crates/metal2vulkan/src/lower/sync/barrier.rs (tile_shading);crates/metal2vulkan/src/pipeline/compile/api.rs (tile_pipeline)feature::Imageblocks:crates/metal2vulkan/src/lower/access/imageblock.rs (imageblocks);crates/metal2vulkan/src/lower/access/mod.rs (select_param);crates/metal2vulkan/src/lower/fragment/mod.rs (select_param);crates/metal2vulkan/src/lower/stage_io/plan.rs (entry);crates/metal2vulkan/src/lower/texture/mod.rs (select);crates/metal2vulkan/src/lower/texture/slice.rs (imageblocks)feature::RayTracing:crates/metal2vulkan/src/lower/raytracing/mod.rs (instance_count);crates/metal2vulkan/src/lower/raytracing/mod.rs (intersect, 5 sites);crates/metal2vulkan/src/lower/raytracing/mod.rs (primitive_data_read);crates/metal2vulkan/src/lower/raytracing/mod.rs (select_param);crates/metal2vulkan/src/lower/raytracing/mod.rs (slot_of);crates/metal2vulkan/src/lower/select.rs (route_air)feature::Tensors:crates/metal2vulkan-air/src/canon/matmul2d/synth.rs (refuse);crates/metal2vulkan/src/lower/select.rs (route_air)feature::RasterizationRateMap:crates/metal2vulkan/src/lower/stage_io/plan.rs (region_viewport, 2 sites)feature::GpuEncodedIndirectCommands:crates/metal2vulkan/src/lower/access/icb.rs (needs, 2 sites);crates/metal2vulkan/src/lower/access/icb.rs (select, 2 sites);crates/metal2vulkan/src/lower/access/mod.rs (plan_replay, 3 sites);crates/metal2vulkan/src/lower/access/object.rs (select);crates/metal2vulkan/src/lower/select.rs (finish);crates/metal2vulkan/src/lower/stage_io/plan.rs (indirect_range);crates/metal2vulkan/src/lower/stage_io/plan.rs (merged);crates/metal2vulkan/src/lower/stage_io/plan.rs (param);crates/metal2vulkan/src/pipeline/compile.rs (analyze_one, 2 sites)feature::VulkanVersion:crates/metal2vulkan/src/ash_interop/query.rs (query);crates/metal2vulkan/src/device/derive.rs (from_queries)feature::PushWindow:crates/metal2vulkan/src/device/derive.rs (from_queries)feature::IdentityDomains:crates/metal2vulkan/src/device/derive.rs (identity_domains);crates/metal2vulkan/src/lower/sampler/anisotropic.rs (select);crates/metal2vulkan/src/lower/sampler/mod.rs (finish);crates/metal2vulkan/src/lower/select.rs (identity_admits);crates/metal2vulkan/src/lower/sync/barrier.rs (require_seq_cst);crates/metal2vulkan/src/lower/texture/slot.rs (storage_format);crates/metal2vulkan/src/pipeline/link.rs (identity_set)feature::Constant:crates/metal2vulkan-air/src/bitcode/constants.rs (record, 2 sites);crates/metal2vulkan/src/error/mod.rs (from)feature::Attribute:crates/metal2vulkan-air/src/bitcode/attrs.rs (known);crates/metal2vulkan/src/error/mod.rs (from)feature::BitcodeRecord:crates/metal2vulkan-air/src/bitcode/attrs.rs (decode_lists);crates/metal2vulkan-air/src/bitcode/function.rs (symtab);crates/metal2vulkan-air/src/bitcode/metadata.rs (decode, 6 sites);crates/metal2vulkan-air/src/bitcode/module.rs (check_bodies);crates/metal2vulkan-air/src/bitcode/module.rs (read);crates/metal2vulkan-air/src/bitcode/module.rs (symtab);crates/metal2vulkan/src/error/mod.rs (from)feature::SyncScope:crates/metal2vulkan-air/src/bitcode/function.rs (atomic);crates/metal2vulkan/src/error/mod.rs (from)feature::SubgroupOperations:crates/metal2vulkan/src/lower/simd/mod.rs (full_quads);crates/metal2vulkan/src/lower/simd/mod.rs (select_group)feature::DirectCall:crates/metal2vulkan-air/src/canon/mod.rs (post_check)feature::WideSwitchLiteral:crates/metal2vulkan/src/structurize/emit.rs (check_tree)feature::Lowering:crates/metal2vulkan/src/error/mod.rs (access);crates/metal2vulkan/src/lower/access/handle.rs (sampler_target);crates/metal2vulkan/src/lower/access/handle.rs (texture_target);crates/metal2vulkan/src/lower/access/imageblock.rs (operand);crates/metal2vulkan/src/lower/access/mod.rs (not_lowered);crates/metal2vulkan/src/lower/access/pulled.rs (share);crates/metal2vulkan/src/lower/arith/legal.rs (not_lowered);crates/metal2vulkan/src/lower/dispatch.rs (not_lowered);crates/metal2vulkan/src/lower/fragment/discard.rs (not_lowered);crates/metal2vulkan/src/lower/fragment/discard.rs (plan);crates/metal2vulkan/src/lower/fragment/mod.rs (not_lowered);crates/metal2vulkan/src/lower/mesh/mod.rs (not_lowered);crates/metal2vulkan/src/lower/raytracing/mod.rs (not_lowered);crates/metal2vulkan/src/lower/sampler/mod.rs (refuse);crates/metal2vulkan/src/lower/sampler/select.rs (refuse);crates/metal2vulkan/src/lower/select.rs (not_lowered);crates/metal2vulkan/src/lower/select.rs (route_air, 2 sites);crates/metal2vulkan/src/lower/simd/mod.rs (not_lowered);crates/metal2vulkan/src/lower/simd/mod.rs (select_param);crates/metal2vulkan/src/lower/simd/workgroup.rs (check);crates/metal2vulkan/src/lower/stage_io/fetch.rs (not_lowered);crates/metal2vulkan/src/lower/stage_io/mod.rs (not_lowered);crates/metal2vulkan/src/lower/sync/barrier.rs (not_lowered);crates/metal2vulkan/src/lower/sync/memory_model.rs (not_implemented);crates/metal2vulkan/src/lower/sync/memory_model.rs (select);crates/metal2vulkan/src/lower/tessellation/mod.rs (not_lowered);crates/metal2vulkan/src/lower/texture/mod.rs (refuse);crates/metal2vulkan/src/lower/texture/mod.rs (select_through);crates/metal2vulkan/src/lower/texture/mod.rs (select_write);crates/metal2vulkan/src/pipeline/link/tessellation/mod.rs (patch_fetch_projection)feature::SamplerAddressMode:crates/metal2vulkan/src/lower/sampler/constexpr.rs;crates/metal2vulkan/src/metal/sampler.rs (check_sampler)feature::AlphaToOne:crates/metal2vulkan/src/pipeline/link/graphics.rs (graphics_state)feature::StageStoresAndAtomics:crates/metal2vulkan/src/lower/access/tile_memory.rs (written)feature::FunctionConstantArgument:crates/metal2vulkan-air/src/canon/interface.rs (absent_values)feature::SamplerBicubicFilter:crates/metal2vulkan/src/lower/sampler/bicubic.rs (refuse);crates/metal2vulkan/src/lower/sampler/select.rs (bicubic_refused)feature::IntersectionFunctionTable:crates/metal2vulkan/src/lower/raytracing/mod.rs (intersect, 2 sites);crates/metal2vulkan/src/lower/raytracing/mod.rs (null_table);crates/metal2vulkan/src/lower/raytracing/mod.rs (select_table);crates/metal2vulkan/src/lower/raytracing/mod.rs (table_of);crates/metal2vulkan/src/lower/select.rs (route_air)feature::IndependentBlending:crates/metal2vulkan/src/pipeline/link/graphics.rs (uniform_blend)feature::RasterSampleCount:crates/metal2vulkan/src/pipeline/graphics.rs (sample_count_properties)feature::TriangleFillLines:crates/metal2vulkan/src/metal/state.rs (polygon_mode)feature::TriangleFillPoints:crates/metal2vulkan/src/metal/state.rs (polygon_mode)feature::DepthClipClamp:crates/metal2vulkan/src/metal/state.rs (depth_clamp_enable)feature::DepthBiasClamp:crates/metal2vulkan/src/metal/state.rs (depth_bias)feature::ConstantAlphaBlendFactor:crates/metal2vulkan/src/metal/state.rs (check_constant_alpha)feature::TextureSwizzle:crates/metal2vulkan/src/bind/heap.rs (member_texel_view);crates/metal2vulkan/src/lower/sampler/select.rs (select_one);crates/metal2vulkan/src/lower/texture/mod.rs (select_read_as);crates/metal2vulkan/src/lower/texture/mod.rs (select_write);crates/metal2vulkan/src/lower/texture/slice.rs (select)feature::PrivateMemory:crates/metal2vulkan/src/lower/access/local.rs (device_arena)feature::Reflection:crates/metal2vulkan/src/reflection/derive.rs (gap_at);crates/metal2vulkan/src/reflection/derive.rs (read_attributes);crates/metal2vulkan/src/reflection/derive.rs (specialized_reads);crates/metal2vulkan/src/reflection/function.rs (attribute);crates/metal2vulkan/src/reflection/function.rs (module_constants);crates/metal2vulkan/src/reflection/function.rs (unmeasured);crates/metal2vulkan/src/reflection/linked.rs (function);crates/metal2vulkan/src/reflection/mod.rs (kernel_stage)feature::IndirectRenderState:crates/metal2vulkan/src/lower/access/pointer.rs (unlowered);crates/metal2vulkan/src/lower/select.rs (param_family)feature::GlobalBuiltinInFragment:crates/metal2vulkan/src/lower/select.rs (route_air)feature::PrivateRenderState:crates/metal2vulkan/src/lower/sampler/select.rs (clamps_reference);crates/metal2vulkan/src/lower/stage_io/plan.rs (alpha_test_refused);crates/metal2vulkan/src/lower/texture/mod.rs (mode_rounded_write);crates/metal2vulkan/src/pipeline/private_state.rs (logic_operation);crates/metal2vulkan/src/pipeline/private_state.rs (refused)feature::ProgramScopeResource:crates/metal2vulkan-air/src/canon/global_binding.rs (left);crates/metal2vulkan/src/error/mod.rs (from)feature::ProgramScopeSharedSlot:crates/metal2vulkan-air/src/canon/global_binding.rs (shared_slot);crates/metal2vulkan/src/error/mod.rs (from)feature::ProgramScopeLinked:crates/metal2vulkan-air/src/canon/link.rs (bound)feature::ProgramScopeRead:crates/metal2vulkan-air/src/canon/global_binding.rs (left);crates/metal2vulkan/src/error/mod.rs (from)feature::GenericPointer:crates/metal2vulkan-air/src/canon/generic.rs (refuse);crates/metal2vulkan-air/src/canon/generic.rs (refused)feature::SeqCstFence:crates/metal2vulkan/src/lower/sync/barrier.rs (require_seq_cst)feature::PostDepthCoverage:crates/metal2vulkan/src/lower/stage_io/plan.rs (param)feature::WideLines:crates/metal2vulkan/src/pipeline/link/band.rs (plan, 3 sites)limit::InlinedInstructions:crates/metal2vulkan-air/src/canon/inline.rs (inline);crates/metal2vulkan-air/src/canon/inline.rs (u32_of);crates/metal2vulkan-air/src/canon/inline.rs (usize_of)limit::OutputBlocks:crates/metal2vulkan/src/structurize/irreducible.rs (round);crates/metal2vulkan/src/structurize/mod.rs (structure_loops);crates/metal2vulkan/src/structurize/structurizer_properties/mod.rs (output_cap_is_checked_before_allocating);crates/metal2vulkan/src/structurize/structurizer_properties/trees.rs (the_output_cap_is_checked_before_emission)limit::IrreducibleDepth:crates/metal2vulkan-air/src/graph/loops.rs (compute_in);crates/metal2vulkan/src/structurize/structurizer_properties/mod.rs (check_within_depth);crates/metal2vulkan/src/structurize/structurizer_properties/mod.rs (irreducible_nesting_beyond_the_cap_is_refused, 2 sites)limit::SpirvWords:crates/metal2vulkan/src/pipeline/compile.rs (lower_bounded)limit::WorkUnits:crates/metal2vulkan-air/src/budget/mod.rs (counted)limit::LedgerBytes:crates/metal2vulkan-air/src/bitstream/mod.rs (count);crates/metal2vulkan-air/src/budget/mod.rs (charge);crates/metal2vulkan-air/src/budget/mod.rs (grow, 2 sites);crates/metal2vulkan-air/src/budget/mod.rs (reserve);crates/metal2vulkan-air/src/budget/mod.rs (reserve_exact, 2 sites);crates/metal2vulkan-air/src/graph/mod.rs (grow);crates/metal2vulkan/src/spirv/verify/mod.rs (with_capacity)limit::TypeCount:crates/metal2vulkan-air/src/bitcode/types.rs (decode);crates/metal2vulkan-air/src/bitcode/types.rs (id);crates/metal2vulkan-air/src/ir/types.rs (intern)limit::MetadataNodes:crates/metal2vulkan-air/src/bitcode/function.rs (metadata);crates/metal2vulkan-air/src/bitcode/metadata.rs (keep_old_values, 3 sites);crates/metal2vulkan-air/src/bitcode/metadata.rs (push);crates/metal2vulkan-air/src/bitcode/metadata.rs (strings)limit::BitstreamNesting:crates/metal2vulkan-air/src/bitstream/mod.rs (enter_block)limit::InstructionCount:crates/metal2vulkan-air/src/bitcode/function.rs (call);crates/metal2vulkan-air/src/bitcode/function.rs (constants);crates/metal2vulkan-air/src/bitcode/function.rs (count_record, 2 sites);crates/metal2vulkan-air/src/bitcode/function.rs (decode);crates/metal2vulkan-air/src/bitcode/function.rs (forward);crates/metal2vulkan-air/src/bitcode/function.rs (push, 2 sites)limit::LayoutNesting:crates/metal2vulkan-air/src/abi/structs.rs (finish);crates/metal2vulkan-air/src/abi/structs.rs (open);crates/metal2vulkan/src/bind/argument_buffer.rs (layout)limit::ConstructNesting:crates/metal2vulkan/src/structurize/emit.rs (check_tree);crates/metal2vulkan/src/structurize/emit/predicate.rs (facts_of)limit::PrivateArenaBytes:crates/metal2vulkan/src/lower/access/local.rs (device_arena);crates/metal2vulkan/src/lower/access/local.rs (use_arena);crates/metal2vulkan/src/memory/plan.rs (place_allocas, 2 sites)limit::CallStackBytes:crates/metal2vulkan-air/src/canon/recursion.rs (metal_stack)ratemap::ScreenExtent:crates/metal2vulkan/src/bind/rate_map.rs (new)ratemap::LayerCount:crates/metal2vulkan/src/bind/rate_map.rs (new)ratemap::DenseSamples:crates/metal2vulkan/src/bind/rate_map.rs (new)ratemap::SampleOutOfRange:crates/metal2vulkan/src/bind/rate_map.rs (new)ratemap::SampleCount:crates/metal2vulkan/src/bind/rate_map.rs (new)budget::Time:crates/metal2vulkan-air/src/budget/mod.rs (counted)floor::Version:crates/metal2vulkan-runtime/src/floor.rs (decide)floor::Extension:crates/metal2vulkan-runtime/src/floor.rs (decide)floor::Feature:crates/metal2vulkan-runtime/src/floor.rs (decide)floor::Limit:crates/metal2vulkan-runtime/src/floor.rs (decide, 2 sites)floor::QueueFamily:crates/metal2vulkan-runtime/src/floor.rs (decide)floor::MemoryType:crates/metal2vulkan-runtime/src/floor.rs (choose)floor::TimeDomain:crates/metal2vulkan-runtime/src/floor.rs (decide)floor::SetLayout:crates/metal2vulkan-runtime/src/arrays.rs (supported)rt:Refusal::EmptyBuffer:crates/metal2vulkan-runtime/src/buffer.rs (new_managed_buffer);crates/metal2vulkan-runtime/src/buffer.rs (placed_buffer)rt:Refusal::BufferTooLong:crates/metal2vulkan-runtime/src/buffer.rs (new_managed_buffer);crates/metal2vulkan-runtime/src/buffer.rs (placed_buffer);crates/metal2vulkan-runtime/src/function_table.rs (new_visible_function_table)rt:Refusal::BufferPastBlock:crates/metal2vulkan-runtime/src/buffer.rs (placed)rt:Refusal::HeapBufferPlace:crates/metal2vulkan-runtime/src/buffer.rs (new_heap_buffer)rt:Refusal::ManagedBlockPrivate:crates/metal2vulkan-runtime/src/buffer.rs (new_managed_buffer)rt:Refusal::ManagedCopyMissing:crates/metal2vulkan-runtime/src/buffer.rs (new_managed_buffer)rt:Refusal::ManagedCopyOnUnified:crates/metal2vulkan-runtime/src/buffer.rs (new_managed_buffer)rt:Refusal::ManagedCopyNotPrivate:crates/metal2vulkan-runtime/src/buffer.rs (new_managed_buffer)rt:Refusal::ManagedCopyExported:crates/metal2vulkan-runtime/src/buffer.rs (new_managed_buffer)rt:Refusal::ZeroRangePastBlock:crates/metal2vulkan-runtime/src/buffer.rs (zero_block_range)rt:Refusal::ZeroRangeShared:crates/metal2vulkan-runtime/src/buffer.rs (zero_block_range)rt:Refusal::NotExported:crates/metal2vulkan-runtime/src/export.rs (external_writes_done);crates/metal2vulkan-runtime/src/export.rs (wait_until_ready)rt:Refusal::SurfacePlanes:crates/metal2vulkan-runtime/src/d3d11.rs (import_d3d11_surface);crates/metal2vulkan-runtime/src/surface.rs (new_exported_surface, 2 sites)rt:Refusal::ModifiedRange:crates/metal2vulkan-runtime/src/buffer.rs (did_modify_range)rt:Refusal::Committed:crates/metal2vulkan-runtime/src/command.rs (open)rt:Refusal::InScheduledHandler:crates/metal2vulkan-runtime/src/command.rs (not_in_scheduled_handler)rt:Refusal::WaitOnOwnThread:crates/metal2vulkan-runtime/src/command.rs (wait_until_completed);crates/metal2vulkan-runtime/src/command.rs (wait_until_scheduled);crates/metal2vulkan-runtime/src/event.rs (wait_until_signaled_value);crates/metal2vulkan-runtime/src/queue.rs (command_buffer)rt:Refusal::OtherDevice:crates/metal2vulkan-runtime/src/blit.rs (buffer_copy);crates/metal2vulkan-runtime/src/blit.rs (copy_from_buffer_to_buffer);crates/metal2vulkan-runtime/src/blit.rs (copy_from_texture);crates/metal2vulkan-runtime/src/blit.rs (fill_buffer);crates/metal2vulkan-runtime/src/blit.rs (generate_mipmaps);crates/metal2vulkan-runtime/src/blit.rs (optimize_indirect_command_buffer);crates/metal2vulkan-runtime/src/blit.rs (reset_commands_in_buffer);crates/metal2vulkan-runtime/src/blit.rs (synchronize_resource);crates/metal2vulkan-runtime/src/command.rs (check);crates/metal2vulkan-runtime/src/command.rs (present_drawable);crates/metal2vulkan-runtime/src/device.rs (release_block);crates/metal2vulkan-runtime/src/encoder.rs (bind_sampler);crates/metal2vulkan-runtime/src/encoder.rs (dispatch_threadgroups_with_indirect_buffer);crates/metal2vulkan-runtime/src/encoder.rs (set_buffer);crates/metal2vulkan-runtime/src/encoder.rs (set_compute_pipeline_state);crates/metal2vulkan-runtime/src/encoder.rs (set_texture);crates/metal2vulkan-runtime/src/encoder.rs (use_resource, 3 sites);crates/metal2vulkan-runtime/src/fence.rs (check);crates/metal2vulkan-runtime/src/pass.rs (check, 2 sites);crates/metal2vulkan-runtime/src/pass.rs (resolve);crates/metal2vulkan-runtime/src/render_encoder.rs;crates/metal2vulkan-runtime/src/render_encoder.rs (draw);crates/metal2vulkan-runtime/src/render_encoder.rs (execute_commands_in_buffer);crates/metal2vulkan-runtime/src/render_encoder.rs (execute_commands_in_buffer_with_range);crates/metal2vulkan-runtime/src/render_encoder.rs (indirect);crates/metal2vulkan-runtime/src/render_encoder.rs (set_buffer);crates/metal2vulkan-runtime/src/render_encoder.rs (set_depth_stencil_state);crates/metal2vulkan-runtime/src/render_encoder.rs (set_render_pipeline_state);crates/metal2vulkan-runtime/src/render_encoder.rs (set_sampler_state);crates/metal2vulkan-runtime/src/render_encoder.rs (set_tessellation_factor_buffer);crates/metal2vulkan-runtime/src/render_encoder.rs (set_texture);crates/metal2vulkan-runtime/src/render_encoder.rs (use_resource, 3 sites);crates/metal2vulkan-runtime/src/texture.rs (new_managed_texture)rt:Refusal::NoCommandBuffers:crates/metal2vulkan-runtime/src/queue.rs (new_command_queue)rt:Refusal::EncoderOpen:crates/metal2vulkan-runtime/src/command.rs (open)rt:Refusal::NoPipeline:crates/metal2vulkan-runtime/src/encoder.rs (dispatch);crates/metal2vulkan-runtime/src/render_encoder.rs (draw, 2 sites);crates/metal2vulkan-runtime/src/render_encoder.rs (draw_reaches);crates/metal2vulkan-runtime/src/render_encoder.rs (execution_part)rt:Refusal::CommandRange:crates/metal2vulkan-runtime/src/blit.rs (optimize_indirect_command_buffer);crates/metal2vulkan-runtime/src/blit.rs (reset_commands_in_buffer);crates/metal2vulkan-runtime/src/render_encoder.rs (execute_commands_in_buffer);crates/metal2vulkan-runtime/src/render_encoder.rs (execute_commands_in_buffer_with_range)rt:Refusal::PatchDraw:crates/metal2vulkan-runtime/src/render_encoder.rs (draw);crates/metal2vulkan-runtime/src/render_encoder.rs (execution_part)rt:Refusal::NoTessellationFactorBuffer:crates/metal2vulkan-runtime/src/render_encoder.rs (draw)rt:Refusal::IndexedPatchDrawWithoutIndexType:crates/metal2vulkan-runtime/src/render_encoder.rs;crates/metal2vulkan-runtime/src/render_encoder.rs (draw)rt:Refusal::PatchDrawWithIndexType:crates/metal2vulkan-runtime/src/render_encoder.rs;crates/metal2vulkan-runtime/src/render_encoder.rs (draw)rt:Refusal::PointSizeTopology:crates/metal2vulkan-runtime/src/render.rs (of)rt:Refusal::BufferIndex:crates/metal2vulkan-runtime/src/encoder.rs (slot);crates/metal2vulkan-runtime/src/render_encoder.rs (slot)rt:Refusal::TextureArgumentIndex:crates/metal2vulkan-runtime/src/encoder.rs (set_texture);crates/metal2vulkan-runtime/src/render_encoder.rs (set_texture)rt:Refusal::SamplerArgumentIndex:crates/metal2vulkan-runtime/src/encoder.rs (bind_sampler);crates/metal2vulkan-runtime/src/render_encoder.rs (set_sampler_state)rt:Refusal::FunctionTableIndex:crates/metal2vulkan-runtime/src/function_table.rs (set_functions)rt:Refusal::SamplerIds:crates/metal2vulkan-runtime/src/pipeline.rs (number_samplers)rt:Refusal::NoBufferAtIndex:crates/metal2vulkan-runtime/src/encoder.rs (set_buffer_offset);crates/metal2vulkan-runtime/src/render_encoder.rs (find);crates/metal2vulkan-runtime/src/render_encoder.rs (set_buffer_offset)rt:Refusal::ThreadgroupSize:crates/metal2vulkan-runtime/src/encoder.rs (dispatch);crates/metal2vulkan-runtime/src/encoder.rs (size_checked)rt:Refusal::ImageblockSize:crates/metal2vulkan-runtime/src/encoder.rs (imageblock_checked)rt:Refusal::IndirectOffset:crates/metal2vulkan-runtime/src/encoder.rs (dispatch_threadgroups_with_indirect_buffer);crates/metal2vulkan-runtime/src/render_encoder.rs (indirect)rt:Refusal::IndirectArgumentsPastEnd:crates/metal2vulkan-runtime/src/encoder.rs (dispatch_threadgroups_with_indirect_buffer);crates/metal2vulkan-runtime/src/render_encoder.rs (indirect)rt:Refusal::BufferOffsetAlignment:crates/metal2vulkan-runtime/src/encoder.rs (check_alignment)rt:Refusal::IndicesGranted:crates/metal2vulkan-runtime/src/arrays.rs (grant)rt:Refusal::IndicesNotGranted:crates/metal2vulkan-runtime/src/arrays.rs (place)rt:Refusal::TextureIndex:crates/metal2vulkan-runtime/src/texture.rs (new_drawable_texture);crates/metal2vulkan-runtime/src/texture.rs (surface_texture);crates/metal2vulkan-runtime/src/texture.rs (texel_texture);crates/metal2vulkan-runtime/src/texture.rs (texture);crates/metal2vulkan-runtime/src/texture.rs (view)rt:Refusal::TextureWithoutIndex:crates/metal2vulkan-runtime/src/encoder.rs (set_texture);crates/metal2vulkan-runtime/src/render_encoder.rs (set_texture)rt:Refusal::TextureUsageAtSlot:crates/metal2vulkan-runtime/src/encoder.rs (check_usage)rt:Refusal::TextureZeroExtent:crates/metal2vulkan-runtime/src/texture.rs (shape);crates/metal2vulkan-runtime/src/texture.rs (texel_shape)rt:Refusal::TextureExtentForType:crates/metal2vulkan-runtime/src/texture.rs (shape);crates/metal2vulkan-runtime/src/texture.rs (texel_shape)rt:Refusal::TextureCubeNotSquare:crates/metal2vulkan-runtime/src/texture.rs (shape)rt:Refusal::TextureArrayLength:crates/metal2vulkan-runtime/src/texture.rs (shape, 2 sites);crates/metal2vulkan-runtime/src/texture.rs (texel_shape)rt:Refusal::TextureLevelCount:crates/metal2vulkan-runtime/src/texture.rs (shape);crates/metal2vulkan-runtime/src/texture.rs (texel_shape)rt:Refusal::TextureSampleCount:crates/metal2vulkan-runtime/src/texture.rs (shape);crates/metal2vulkan-runtime/src/texture.rs (texel_shape)rt:Refusal::TextureSwizzleWithWrites:crates/metal2vulkan-runtime/src/texture.rs (own_checks);crates/metal2vulkan-runtime/src/texture.rs (texel_shape)rt:Refusal::TextureBytesPrivate:crates/metal2vulkan-runtime/src/texture.rs (copy)rt:Refusal::TextureRegion:crates/metal2vulkan-runtime/src/texture.rs (place)rt:Refusal::TextureBytesLayout:crates/metal2vulkan-runtime/src/texture.rs (copy)rt:Refusal::BufferCopyLayout:crates/metal2vulkan-runtime/src/blit.rs (buffer_copy)rt:Refusal::FillRange:crates/metal2vulkan-runtime/src/blit.rs (fill_range)rt:Refusal::TextureViewRange:crates/metal2vulkan-runtime/src/texture.rs (view)rt:Refusal::TextureViewSlices:crates/metal2vulkan-runtime/src/texture.rs (view)rt:Refusal::TextureViewFormat:crates/metal2vulkan-runtime/src/d3d11.rs (d3d11_plane_form);crates/metal2vulkan-runtime/src/texture.rs (view)rt:Refusal::MipmapFormat:crates/metal2vulkan-runtime/src/blit.rs (generate_mipmaps)rt:Refusal::TextureCopyMismatch:crates/metal2vulkan-runtime/src/blit.rs (texel_texture_copy);crates/metal2vulkan-runtime/src/blit.rs (texture_copy)rt:Refusal::AliasingCopy:crates/metal2vulkan-runtime/src/blit.rs (buffer_copy);crates/metal2vulkan-runtime/src/blit.rs (texture_copy)rt:Refusal::ManagedTextureBytes:crates/metal2vulkan-runtime/src/texture.rs (check_places);crates/metal2vulkan-runtime/src/texture.rs (named);crates/metal2vulkan-runtime/src/texture.rs (named_host);crates/metal2vulkan-runtime/src/texture.rs (upload_region, 2 sites)rt:Refusal::BufferTextureLayout:crates/metal2vulkan-runtime/src/texture.rs (check_over);crates/metal2vulkan-runtime/src/texture.rs (texel_texture)rt:Refusal::TextureNotInPlace:crates/metal2vulkan-runtime/src/texture.rs (texture, 2 sites)rt:Refusal::TextureBufferAlignment:crates/metal2vulkan-runtime/src/texture.rs (texel_texture)rt:Refusal::TextureBufferNotOverBuffer:crates/metal2vulkan-runtime/src/texture.rs (shape)rt:Refusal::HeapTexturePlace:crates/metal2vulkan-runtime/src/texture.rs (heap_texels);crates/metal2vulkan-runtime/src/texture.rs (make)rt:Refusal::DrawableDescriptor:crates/metal2vulkan-runtime/src/texture.rs (new_drawable_texture)rt:Refusal::DrawableFormat:crates/metal2vulkan-runtime/src/texture.rs (new_drawable_texture)rt:Refusal::DrawableUsage:crates/metal2vulkan-runtime/src/texture.rs (new_drawable_texture)rt:Refusal::NotDrawable:crates/metal2vulkan-runtime/src/texture.rs (drawable_acquired);crates/metal2vulkan-runtime/src/texture.rs (present_turn)rt:Refusal::DrawableAcquired:crates/metal2vulkan-runtime/src/texture.rs (drawable_acquired)rt:Refusal::DrawableNotAcquired:crates/metal2vulkan-runtime/src/texture.rs (present_turn)rt:Refusal::DrawableSemaphoreRepeated:crates/metal2vulkan-runtime/src/command.rs (present_drawable)rt:Refusal::BufferCopyRange:crates/metal2vulkan-runtime/src/blit.rs (buffer_to_buffer)rt:Refusal::BufferCopyOverlap:crates/metal2vulkan-runtime/src/blit.rs (buffer_to_buffer)rt:Refusal::AttachmentUsage:crates/metal2vulkan-runtime/src/texture.rs (attachment)rt:Refusal::ResolveTexture:crates/metal2vulkan-runtime/src/pass.rs (resolving);crates/metal2vulkan-runtime/src/render_encoder.rs (later_store)rt:Refusal::ResolveFormat:crates/metal2vulkan-runtime/src/pass.rs (check)rt:Refusal::AttachmentPlace:crates/metal2vulkan-runtime/src/texture.rs (attachment_view, 3 sites);crates/metal2vulkan-runtime/src/texture.rs (resolve_attachment)rt:Refusal::AttachmentFormat:crates/metal2vulkan-runtime/src/pass.rs (check, 3 sites)rt:Refusal::NoAttachmentPass:crates/metal2vulkan-runtime/src/pass.rs (check)rt:Refusal::SamplePositions:crates/metal2vulkan-runtime/src/positions.rs (locations)rt:Refusal::DefaultSamplePositions:crates/metal2vulkan-runtime/src/device.rs (default_sample_positions)rt:Refusal::VertexBufferOffset:crates/metal2vulkan-runtime/src/render_encoder.rs (vertex_range)rt:Refusal::IndexBufferOffset:crates/metal2vulkan-runtime/src/render_encoder.rs (draw)rt:Refusal::TessellationFactorOffset:crates/metal2vulkan-runtime/src/render_encoder.rs (set_tessellation_factor_buffer)rt:Refusal::PatchIndexBufferOffset:crates/metal2vulkan-runtime/src/render_encoder.rsrt:Refusal::ControlPointIndexBufferOffset:crates/metal2vulkan-runtime/src/render_encoder.rsrt:Refusal::ArgumentPlace:crates/metal2vulkan-runtime/src/encoder.rs (dispatch_threadgroups_with_indirect_buffer);crates/metal2vulkan-runtime/src/render_encoder.rs;crates/metal2vulkan-runtime/src/render_encoder.rs (draw);crates/metal2vulkan-runtime/src/render_encoder.rs (indirect);crates/metal2vulkan-runtime/src/render_encoder.rs (set_visibility_result_mode)rt:Refusal::ViewportNotFinite:crates/metal2vulkan-runtime/src/render_encoder.rs (checked)rt:Refusal::StencilAttachment:crates/metal2vulkan-runtime/src/render_encoder.rs (draw)rt:Refusal::NoVisibilityResultBuffer:crates/metal2vulkan-runtime/src/render_encoder.rs (set_visibility_result_mode)rt:Refusal::VisibilityResultOffset:crates/metal2vulkan-runtime/src/render_encoder.rs (set_visibility_result_mode)rt:Refusal::VisibilityResultOffsetTaken:crates/metal2vulkan-runtime/src/render_encoder.rs (set_visibility_result_mode)rt:Limit::BlockLen:crates/metal2vulkan-runtime/src/import.rs (check_len);crates/metal2vulkan-runtime/src/memory.rs (round);crates/metal2vulkan-runtime/src/surface.rs (copy_form);crates/metal2vulkan-runtime/src/surface.rs (dma_buf_in_place)rt:Limit::BlockIds:crates/metal2vulkan-runtime/src/memory.rs (allocation_number);crates/metal2vulkan-runtime/src/memory.rs (number)rt:Limit::ThreadgroupMemory:crates/metal2vulkan-runtime/src/encoder.rs (threadgroup_memory)rt:Limit::ThreadgroupThreads:crates/metal2vulkan-runtime/src/encoder.rs (size_checked)rt:Limit::BytesLength:crates/metal2vulkan-runtime/src/encoder.rs (set_bytes);crates/metal2vulkan-runtime/src/render_encoder.rs (set_bytes)rt:Limit::IndexRange:crates/metal2vulkan-runtime/src/arrays.rs (grant)rt:Limit::TextureSize:crates/metal2vulkan-runtime/src/texture.rs (size_within);crates/metal2vulkan-runtime/src/texture.rs (texel_width)rt:Limit::DeviceSamplers:crates/metal2vulkan-runtime/src/sampler.rs (take)rt:Limit::LodClampVariants:crates/metal2vulkan-runtime/src/arrays.rs (place_variant)rt:Limit::LevelElements:crates/metal2vulkan-runtime/src/arrays.rs (place_levels);crates/metal2vulkan-runtime/src/texture.rs (hold_levels)rt:Limit::MemoryAllocations:crates/metal2vulkan-runtime/src/memory.rs (allocate)rt:Limit::AllocationNotMapped:crates/metal2vulkan-runtime/src/memory.rs (own)rt:Limit::AllocationAddress:crates/metal2vulkan-runtime/src/memory.rs (make_allocation)rt:Limit::NoImport:crates/metal2vulkan-runtime/src/d3d11.rs (d3d11_plane_form, 2 sites);crates/metal2vulkan-runtime/src/d3d11.rs (d3d11_plane_texture);crates/metal2vulkan-runtime/src/d3d11.rs (import_d3d11_surface);crates/metal2vulkan-runtime/src/import.rs (import_dma_buf);crates/metal2vulkan-runtime/src/import.rs (import_dma_bufs);crates/metal2vulkan-runtime/src/import.rs (import_host_memory);crates/metal2vulkan-runtime/src/import.rs (surface_import)rt:Limit::ImportType:crates/metal2vulkan-runtime/src/d3d11.rs (d3d11_plane_texture);crates/metal2vulkan-runtime/src/import.rs (dma_buf_type);crates/metal2vulkan-runtime/src/import.rs (import_host_memory)rt:Limit::ImportCoherence:crates/metal2vulkan-runtime/src/import.rs (dma_buf_type)rt:Limit::ImportAlignment:crates/metal2vulkan-runtime/src/import.rs (check_len);crates/metal2vulkan-runtime/src/import.rs (check_size);crates/metal2vulkan-runtime/src/import.rs (import_dma_bufs);crates/metal2vulkan-runtime/src/import.rs (import_host_memory)rt:Limit::SparseAddressSpace:crates/metal2vulkan-runtime/src/import.rs (reserve)rt:Limit::NoExport:crates/metal2vulkan-runtime/src/export.rs (handle, 2 sites);crates/metal2vulkan-runtime/src/export.rs (new_exported_block);crates/metal2vulkan-runtime/src/surface.rs (dma_buf_in_place);crates/metal2vulkan-runtime/src/surface.rs (new_exported_surface)rt:Limit::ExportType:crates/metal2vulkan-runtime/src/export.rs (new_exported_block);crates/metal2vulkan-runtime/src/import.rs (surface_import);crates/metal2vulkan-runtime/src/memory.rs (export);crates/metal2vulkan-runtime/src/memory.rs (surface_view);crates/metal2vulkan-runtime/src/surface.rs (dma_buf_in_place);crates/metal2vulkan-runtime/src/surface.rs (new_exported_surface)rt:Limit::TextureSamples:crates/metal2vulkan-runtime/src/texture.rs (planned)rt:Gap::IndirectCommandBuffers:crates/metal2vulkan-runtime/src/indirect.rs (new_indirect_command_buffer);crates/metal2vulkan-runtime/src/indirect.rs (shape);crates/metal2vulkan-runtime/src/pipeline.rs (compute_pipeline_state);crates/metal2vulkan-runtime/src/render_encoder.rs (draw);crates/metal2vulkan-runtime/src/render_encoder.rs (execution_part)rt:Gap::KernelInput:crates/metal2vulkan-runtime/src/pipeline.rs (gap)rt:Gap::StageIn:crates/metal2vulkan-runtime/src/encoder.rs (set_stage_in_region_with_indirect_buffer);crates/metal2vulkan-runtime/src/pipeline.rs (of)rt:Gap::ImageblockLength:crates/metal2vulkan-runtime/src/pipeline.rs (imageblock_memory_length_for_dimensions);crates/metal2vulkan-runtime/src/render.rs (imageblock_sample_length)rt:Gap::PartialSimdgroups:crates/metal2vulkan-runtime/src/encoder.rs (decide)rt:Gap::PartialThreadgroups:crates/metal2vulkan-runtime/src/encoder.rs (decide)rt:Gap::NoStageInRegion:crates/metal2vulkan-runtime/src/encoder.rs (dispatch)rt:Gap::IndirectPrivateArena:crates/metal2vulkan-runtime/src/encoder.rs (dispatch)rt:Gap::MemorylessTexture:crates/metal2vulkan-runtime/src/texture.rs (checked)rt:Gap::TextureBufferSwizzle:crates/metal2vulkan-runtime/src/texture.rs (texel_shape)rt:Gap::TextureFormat:crates/metal2vulkan-runtime/src/texture.rs (attachment_view);crates/metal2vulkan-runtime/src/texture.rs (form);crates/metal2vulkan-runtime/src/texture.rs (planned);crates/metal2vulkan-runtime/src/texture.rs (texel_form);crates/metal2vulkan-runtime/src/texture.rs (texel_texture)rt:Gap::MipmapFilter:crates/metal2vulkan-runtime/src/blit.rs (generate_mipmaps)rt:Gap::CubicSampler:crates/metal2vulkan-runtime/src/sampler.rs (new_sampler_state)rt:Gap::TextureBytes:crates/metal2vulkan-runtime/src/blit.rs (buffer_copy);crates/metal2vulkan-runtime/src/blit.rs (with_option);crates/metal2vulkan-runtime/src/texture.rs (check_places);crates/metal2vulkan-runtime/src/texture.rs (copy)rt:Gap::TextureCopy:crates/metal2vulkan-runtime/src/blit.rs (texture_copy)rt:Gap::OverlappingCopy:crates/metal2vulkan-runtime/src/blit.rs (buffer_copy);crates/metal2vulkan-runtime/src/blit.rs (copy_from_texture)rt:Gap::TextureOverBuffer:crates/metal2vulkan-runtime/src/texture.rs (check_over);crates/metal2vulkan-runtime/src/texture.rs (error);crates/metal2vulkan-runtime/src/texture.rs (over_texel);crates/metal2vulkan-runtime/src/texture.rs (texel_texture)rt:Gap::HeapTexture:crates/metal2vulkan-runtime/src/texture.rs (heap_fit);crates/metal2vulkan-runtime/src/texture.rs (heap_source)rt:Gap::SurfaceUsage:crates/metal2vulkan-runtime/src/d3d11.rs (d3d11_plane_form);crates/metal2vulkan-runtime/src/texture.rs (surface_texture)rt:Gap::D3d11SurfaceBuffer:crates/metal2vulkan-runtime/src/surface.rs (buffer)rt:Gap::BufferCopyAlignment:crates/metal2vulkan-runtime/src/blit.rs (buffer_copy)rt:Gap::FillAlignment:crates/metal2vulkan-runtime/src/blit.rs (fill_range)rt:Gap::RenderPipeline:crates/metal2vulkan-runtime/src/render.rs (draw_input);crates/metal2vulkan-runtime/src/render.rs (of);crates/metal2vulkan-runtime/src/render.rs (refuse);crates/metal2vulkan-runtime/src/render.rs (stage_module, 2 sites)rt:Gap::SwizzledReadWrite:crates/metal2vulkan-runtime/src/encoder.rs (dispatch);crates/metal2vulkan-runtime/src/render_encoder.rs (find)rt:Gap::OpenClLineTexture:crates/metal2vulkan-runtime/src/encoder.rs (dispatch)rt:Gap::StorageElement:crates/metal2vulkan-runtime/src/encoder.rs (dispatch, 2 sites);crates/metal2vulkan-runtime/src/render_encoder.rs (find, 2 sites)rt:Gap::BicubicTexels:crates/metal2vulkan-runtime/src/encoder.rs (dispatch);crates/metal2vulkan-runtime/src/render_encoder.rs (find)rt:Gap::TextureView:crates/metal2vulkan-runtime/src/texture.rs (view)rt:Gap::RenderPass:crates/metal2vulkan-runtime/src/pass.rs (check);crates/metal2vulkan-runtime/src/pass.rs (ops);crates/metal2vulkan-runtime/src/pass.rs (resolve);crates/metal2vulkan-runtime/src/positions.rs (locations);crates/metal2vulkan-runtime/src/render_encoder.rs (later_store);crates/metal2vulkan-runtime/src/texture.rs (attachment_view);crates/metal2vulkan-runtime/src/texture.rs (resolve_attachment);crates/metal2vulkan-runtime/src/texture.rs (stand_in)rt:Gap::Draw:crates/metal2vulkan-runtime/src/render.rs (for_pass);crates/metal2vulkan-runtime/src/render.rs (pipeline);crates/metal2vulkan-runtime/src/render_encoder.rs (attachment_reads, 4 sites);crates/metal2vulkan-runtime/src/render_encoder.rs (checked);crates/metal2vulkan-runtime/src/render_encoder.rs (draw);crates/metal2vulkan-runtime/src/render_encoder.rs (interrupt_refused);crates/metal2vulkan-runtime/src/render_encoder.rs (set_scissor_rects);crates/metal2vulkan-runtime/src/render_encoder.rs (set_triangle_fill_mode);crates/metal2vulkan-runtime/src/render_encoder.rs (set_viewports);crates/metal2vulkan-runtime/src/render_encoder.rs (shadow_copies)rt:Gap::StageSize:crates/metal2vulkan-runtime/src/pipeline.rs (past_stage_bound);crates/metal2vulkan-runtime/src/render.rs (of);crates/metal2vulkan-runtime/src/stage.rs (gap)