diff --git a/crates/metal2vulkan-runtime/README.md b/crates/metal2vulkan-runtime/README.md index 8f4da6599..9e6f8a3de 100644 --- a/crates/metal2vulkan-runtime/README.md +++ b/crates/metal2vulkan-runtime/README.md @@ -229,6 +229,10 @@ Calls Metal does not have, for a consumer that emulates a Metal device: its sampler's. - Resource ID reservations, placements and counts (`Device::reserve_resource_ids`, `IdPlacement`, `Device::sampler_ids_live`), and the private getters of indirect commands. +- `execute_commands_in_buffer_checked` and `execute_commands_in_buffer_indirect_checked` (render and + compute encoders) take an `IndirectCommandCheck`, which the host step that records an execution + from records the GPU may have written calls with each command it will record, before it records + any. - `HostMemory::with_dma_buf` and its `DmaBufSource`: dma-bufs of a no-copy object's pages, for a device that refuses their pointer. diff --git a/crates/metal2vulkan-runtime/src/compute.rs b/crates/metal2vulkan-runtime/src/compute.rs index c18608fc9..33a61cc0f 100644 --- a/crates/metal2vulkan-runtime/src/compute.rs +++ b/crates/metal2vulkan-runtime/src/compute.rs @@ -59,7 +59,7 @@ use super::fetch_reach; use super::function_table::VisibleFunctionTable; use super::heap::Heap; use super::heap_sets; -use super::indirect_command_buffer::IndirectCommandBuffer; +use super::indirect_command_buffer::{IndirectCommandBuffer, IndirectCommandCheck}; use super::indirect_dispatch::{ self, ArgumentDispatch, Arguments, FlatCall, FlatPreprocess, HostDispatch, STAGE_IN_REGION_BYTES, @@ -91,7 +91,7 @@ use metal2vulkan::metal::{BarrierScope, DispatchType, RenderStages, ResourceUsag use metal2vulkan::pipeline::Stage; use std::collections::BTreeMap; use std::ops::Range; -use std::sync::{Arc, OnceLock}; +use std::sync::{Arc, Mutex, OnceLock}; /// Entries of a compute encoder's threadgroup memory table. pub(super) const THREADGROUP_SLOTS: u32 = 31; @@ -1026,6 +1026,35 @@ impl ComputeCommandEncoder { &mut self, icb: &IndirectCommandBuffer, range: Range, + ) -> Result<(), Error> { + self.execute_range(icb, range, None) + } + + /// [`execute_commands_in_buffer`](Self::execute_commands_in_buffer) with a check of the + /// commands its host step runs (a runtime extension; Metal has none): where a host step + /// records the execution from the records as the GPU and the CPU left them (an encoder made + /// `icb` resident for writing, or the execution lies inside a block of command predication), + /// the step first calls `check` with each command it will record, in order, before it records + /// any of them ([`IndirectCommandCheck`]). An execution recorded at the commit from the CPU's + /// records never calls it, and one with a check never runs on the GPU alone + /// (`VK_EXT_device_generated_commands`), so the step always reads the records. Refused as + /// [`execute_commands_in_buffer`](Self::execute_commands_in_buffer) refuses. + pub fn execute_commands_in_buffer_checked( + &mut self, + icb: &IndirectCommandBuffer, + range: Range, + check: IndirectCommandCheck, + ) -> Result<(), Error> { + self.execute_range(icb, range, Some(check)) + } + + /// [`execute_commands_in_buffer`](Self::execute_commands_in_buffer), with `check` for its + /// host step where one is given. + fn execute_range( + &mut self, + icb: &IndirectCommandBuffer, + range: Range, + check: Option, ) -> Result<(), Error> { self.log(|_| ComputeCall::Execute(icb.clone(), range.clone())); const CALL: &str = indirect_execute::CALL; @@ -1045,7 +1074,7 @@ impl ComputeCommandEncoder { return Ok(()); } let fixed = u64::from(range.start)..u64::from(range.end); - self.defer_execution(icb, ExecutionRange::Fixed(range), pipeline)?; + self.defer_execution(icb, ExecutionRange::Fixed(range), pipeline, check)?; self.capture(|| Event::Execute(icb.clone(), fixed)); Ok(()) } @@ -1074,6 +1103,35 @@ impl ComputeCommandEncoder { icb: &IndirectCommandBuffer, range_buffer: &Buffer, offset: u64, + ) -> Result<(), Error> { + self.execute_indirect_range(icb, range_buffer, offset, None) + } + + /// [`execute_commands_in_buffer_indirect`](Self::execute_commands_in_buffer_indirect) with a + /// check of the commands its host step runs, which always records it: the step first calls + /// `check` with each command of the range it read that it will record, in order, before it + /// records any of them, as + /// [`execute_commands_in_buffer_checked`](Self::execute_commands_in_buffer_checked)'s does + /// ([`IndirectCommandCheck`]). Refused as + /// [`execute_commands_in_buffer_indirect`](Self::execute_commands_in_buffer_indirect) refuses. + pub fn execute_commands_in_buffer_indirect_checked( + &mut self, + icb: &IndirectCommandBuffer, + range_buffer: &Buffer, + offset: u64, + check: IndirectCommandCheck, + ) -> Result<(), Error> { + self.execute_indirect_range(icb, range_buffer, offset, Some(check)) + } + + /// [`execute_commands_in_buffer_indirect`](Self::execute_commands_in_buffer_indirect), with + /// `check` for its host step where one is given. + fn execute_indirect_range( + &mut self, + icb: &IndirectCommandBuffer, + range_buffer: &Buffer, + offset: u64, + check: Option, ) -> Result<(), Error> { self.log(|_| ComputeCall::ExecuteIndirect(icb.clone(), range_buffer.clone(), offset)); const CALL: &str = indirect_execute::CALL_INDIRECT; @@ -1094,7 +1152,7 @@ impl ComputeCommandEncoder { offset, indirect_execute::RANGE_BYTES, )?; - self.defer_execution(icb, ExecutionRange::Indirect(copy), pipeline)?; + self.defer_execution(icb, ExecutionRange::Indirect(copy), pipeline, check)?; self.capture(|| Event::ExecuteIndirect(icb.clone(), range_buffer.clone(), offset)); Ok(()) } @@ -1115,12 +1173,13 @@ impl ComputeCommandEncoder { /// Leave the execution of `range` of `icb` to record later (`indirect_execute.rs`), with /// the encoder's pipeline state `pipeline` where `icb` inherits it, its bound buffers where - /// `icb` inherits them, and what it made resident so far. + /// `icb` inherits them, and what it made resident so far, and `check` for its host step. fn defer_execution( &mut self, icb: &IndirectCommandBuffer, range: ExecutionRange, pipeline: Option, + check: Option, ) -> Result<(), Error> { self.sync_heaps(); let table = if icb.descriptor().inherit_buffers { @@ -1136,6 +1195,7 @@ impl ComputeCommandEncoder { table, ordered: self.dispatch_type == DispatchType::Serial, gate, + check: check.map(Mutex::new), })))?; // Its commands may name any pipeline state. self.command_encoded(true); diff --git a/crates/metal2vulkan-runtime/src/deferred.rs b/crates/metal2vulkan-runtime/src/deferred.rs index 95350405f..2867214c5 100644 --- a/crates/metal2vulkan-runtime/src/deferred.rs +++ b/crates/metal2vulkan-runtime/src/deferred.rs @@ -124,8 +124,9 @@ impl Deferred { let device = command_buffer.device(); match self { Deferred::Execute(execute) if step => { - // Inside a block of command predication its host step reads the counter first. - let recorded = match execute.predicated() { + // Inside a block of command predication its host step reads the counter first; a + // checked execution's step reads its records for the caller's check. + let recorded = match execute.predicated() || execute.check.is_some() { true => None, false => generated_execute::record(command_buffer, execute)?, }; diff --git a/crates/metal2vulkan-runtime/src/indirect_command_buffer.rs b/crates/metal2vulkan-runtime/src/indirect_command_buffer.rs index 407af05ab..28fffa2a9 100644 --- a/crates/metal2vulkan-runtime/src/indirect_command_buffer.rs +++ b/crates/metal2vulkan-runtime/src/indirect_command_buffer.rs @@ -1561,6 +1561,31 @@ impl IndirectCommandBuffer { Ok(commands) } + /// Call `check` on each command of `range` (inside the size) whose record `recorded` holds, + /// in order, as [`commands`](Self::commands) reads them now: the host step's check of the + /// commands it will record, before it records any ([`IndirectCommandCheck`]). `recorded` is + /// the step's records of the range, `None` for one that faulted; an empty list (a faulted + /// header) checks nothing. + pub(super) fn check_recorded( + &self, + check: &Mutex, + range: Range, + recorded: &[Option], + ) -> Result<(), Error> { + if range.is_empty() || recorded.iter().all(Option::is_none) { + return Ok(()); + } + let first = u64::from(range.start); + let commands = self.commands(first..u64::from(range.end))?; + let mut check = lock(check); + for ((index, command), record) in (first..).zip(&commands).zip(recorded) { + if record.is_some() { + check(index, command); + } + } + Ok(()) + } + /// Announce the kinds of the states' identifiers `commands` answer, none of which is measured /// to be Metal's number (`unique_identifier.rs`); a command that names no state answers 0, as /// Metal's does. @@ -2666,6 +2691,17 @@ fn low_bits(size: Size) -> [u32; 3] { [size.width, size.height, size.depth].map(|axis| axis as u32) } +/// A check of the commands an execution's host step runs (a runtime extension; Metal has none), +/// given to `execute_commands_in_buffer_checked` or `execute_commands_in_buffer_indirect_checked` +/// of a render or a compute encoder. Where a host step records the execution from the records as +/// the GPU and the CPU left them, it calls the check once for each command it will record, in +/// order, before it records any command of the range, on the thread that runs the step: with the +/// command's index in the buffer and the command as [`IndirectCommandBuffer::commands`] reads it +/// then. A command whose record faulted runs nothing and is not checked; nor is any where the +/// buffer's header faulted. The check may end the process, and must not unwind; returning lets the +/// commands run. A command buffer dropped before its host step never calls it. +pub type IndirectCommandCheck = Box; + /// One command of an indirect command buffer, as [`IndirectCommandBuffer::commands`] reads it: a /// runtime extension standing for Metal's private getters. #[non_exhaustive] diff --git a/crates/metal2vulkan-runtime/src/indirect_execute.rs b/crates/metal2vulkan-runtime/src/indirect_execute.rs index 0cb2fef2a..bd0441c28 100644 --- a/crates/metal2vulkan-runtime/src/indirect_execute.rs +++ b/crates/metal2vulkan-runtime/src/indirect_execute.rs @@ -75,7 +75,9 @@ use super::device::lock; use super::encoder::{EncoderCore, RecordedSegment}; use super::error::{internal, invalid, Error, Problem}; use super::executed_commands::{ExecutedCommand, RecordsRead}; -use super::indirect_command_buffer::{IndirectCommandBuffer, IndirectCommandBufferProblem, Reader}; +use super::indirect_command_buffer::{ + IndirectCommandBuffer, IndirectCommandBufferProblem, IndirectCommandCheck, Reader, +}; use super::pipeline::{BufferForms, ComputePipelineState, IndirectStates, Variant}; use super::predication::HostGate; use super::residency::Residency; @@ -136,6 +138,10 @@ pub(super) struct Execute { /// The check of the block of command predication it was encoded in, if any /// (`predication.rs`): a host step records it, and nothing where the counter skips. pub(super) gate: Option, + /// The caller's check of the commands its host step records + /// (`execute_commands_in_buffer_checked`): the step calls it before it records them, and it + /// keeps the execution off the GPU-alone path (`generated_execute.rs`). + pub(super) check: Option>, } /// The commands an execution runs. @@ -438,6 +444,11 @@ impl Execute { return Ok((commands.into_iter().map(Some).collect(), faults)); }; let written = self.icb.written_records(range.clone())?; + // The caller's check sees each command the step will record, before it records any. + if let Some(check) = &self.check { + self.icb + .check_recorded(check, range.clone(), &written.records)?; + } // A record naming the ID of the state the CPU set runs its program, else the state of its // ID among `states` (`IndirectCommandBuffer::step_states`). let (named, released) = self.icb.step_states(range.start, &written.records, states); diff --git a/crates/metal2vulkan-runtime/src/lib.rs b/crates/metal2vulkan-runtime/src/lib.rs index 7aebf9fa3..37bae4d8f 100644 --- a/crates/metal2vulkan-runtime/src/lib.rs +++ b/crates/metal2vulkan-runtime/src/lib.rs @@ -276,7 +276,8 @@ pub use host_memory::{Deallocator, HostMemory, KeepAlive}; pub use indirect_command_buffer::{ EncodedComputeCommand, EncodedRenderCommand, IndirectBufferBinding, IndirectCommand, IndirectCommandBuffer, IndirectCommandBufferDescriptor, IndirectCommandBufferProblem, - IndirectComputeCommand, IndirectDispatch, IndirectDraw, IndirectRenderCommand, + IndirectCommandCheck, IndirectComputeCommand, IndirectDispatch, IndirectDraw, + IndirectRenderCommand, }; pub use interop::SemaphoreProblem; pub use library::{Function, FunctionDescriptor, Library}; diff --git a/crates/metal2vulkan-runtime/src/render/executions.rs b/crates/metal2vulkan-runtime/src/render/executions.rs index 80820ca66..9c0902a58 100644 --- a/crates/metal2vulkan-runtime/src/render/executions.rs +++ b/crates/metal2vulkan-runtime/src/render/executions.rs @@ -271,7 +271,9 @@ use crate::encoder::{EncoderCore, RecordedSegment}; use crate::error::{internal, invalid, vulkan, Error, Problem, RuntimeGap}; use crate::executed_commands::{ExecutedCommand, RecordsRead}; use crate::fragment_imageblock::PassImageblock; -use crate::indirect_command_buffer::{IndirectCommandBuffer, IndirectCommandBufferProblem, Reader}; +use crate::indirect_command_buffer::{ + IndirectCommandBuffer, IndirectCommandBufferProblem, IndirectCommandCheck, Reader, +}; use crate::indirect_dispatch; use crate::indirect_execute::{self, ExecutionRange}; use crate::pipeline::budget::Urgency; @@ -305,7 +307,7 @@ use metal2vulkan::pipeline::VertexStride; use std::borrow::Cow; use std::collections::{BTreeMap, BTreeSet}; use std::ops::Range; -use std::sync::{Arc, OnceLock}; +use std::sync::{Arc, Mutex, OnceLock}; mod ahead; @@ -351,6 +353,34 @@ impl RenderCommandEncoder { &mut self, icb: &IndirectCommandBuffer, range: Range, + ) -> Result<(), Error> { + self.execute_range(icb, range, None) + } + + /// [`execute_commands_in_buffer`](Self::execute_commands_in_buffer) with a check of the + /// commands its host step runs (a runtime extension; Metal has none): where a host step + /// records the pass from the records as the GPU and the CPU left them (an encoder made `icb` + /// resident for writing, `IndirectCommandBuffer::gpu_written`), the step first calls `check` + /// with each command of the range it will record, in order, before it records any of them + /// ([`IndirectCommandCheck`]). An execution `commit` records from the CPU's records never + /// calls it. Refused as [`execute_commands_in_buffer`](Self::execute_commands_in_buffer) + /// refuses. + pub fn execute_commands_in_buffer_checked( + &mut self, + icb: &IndirectCommandBuffer, + range: Range, + check: IndirectCommandCheck, + ) -> Result<(), Error> { + self.execute_range(icb, range, Some(check)) + } + + /// [`execute_commands_in_buffer`](Self::execute_commands_in_buffer), with `check` for its + /// host step where one is given. + fn execute_range( + &mut self, + icb: &IndirectCommandBuffer, + range: Range, + check: Option, ) -> Result<(), Error> { self.log(|_| RenderCall::Execute(icb.clone(), range.clone())); self.core.check_device(CALL, icb.device())?; @@ -375,7 +405,7 @@ impl RenderCommandEncoder { Inherited::Encoder(state) => Some(state), }; self.degrade_repeated_start(icb, &range); - self.defer_execution(icb, ExecutionRange::Fixed(range), pipeline) + self.defer_execution(icb, ExecutionRange::Fixed(range), pipeline, check) } /// `executeCommandsInBuffer:indirectBuffer:indirectBufferOffset:`: run the render commands @@ -407,6 +437,35 @@ impl RenderCommandEncoder { icb: &IndirectCommandBuffer, range_buffer: &Buffer, offset: u64, + ) -> Result<(), Error> { + self.execute_indirect_range(icb, range_buffer, offset, None) + } + + /// [`execute_commands_in_buffer_indirect`](Self::execute_commands_in_buffer_indirect) with a + /// check of the commands its host step runs, which always records the pass: the step first + /// calls `check` with each command of the range it read that it will record, in order, before + /// it records any of them, as + /// [`execute_commands_in_buffer_checked`](Self::execute_commands_in_buffer_checked)'s does + /// ([`IndirectCommandCheck`]). Refused as + /// [`execute_commands_in_buffer_indirect`](Self::execute_commands_in_buffer_indirect) refuses. + pub fn execute_commands_in_buffer_indirect_checked( + &mut self, + icb: &IndirectCommandBuffer, + range_buffer: &Buffer, + offset: u64, + check: IndirectCommandCheck, + ) -> Result<(), Error> { + self.execute_indirect_range(icb, range_buffer, offset, Some(check)) + } + + /// [`execute_commands_in_buffer_indirect`](Self::execute_commands_in_buffer_indirect), with + /// `check` for its host step where one is given. + fn execute_indirect_range( + &mut self, + icb: &IndirectCommandBuffer, + range_buffer: &Buffer, + offset: u64, + check: Option, ) -> Result<(), Error> { self.log(|_| RenderCall::ExecuteIndirect(icb.clone(), range_buffer.clone(), offset)); const CALL_INDIRECT: &str = indirect_execute::CALL_INDIRECT; @@ -437,7 +496,7 @@ impl RenderCommandEncoder { offset, indirect_execute::RANGE_BYTES, )?; - self.defer_execution(icb, ExecutionRange::Indirect(copy), pipeline) + self.defer_execution(icb, ExecutionRange::Indirect(copy), pipeline, check) } /// The pipeline state an execution of `icb` here runs with (`Inherited`). Where the @@ -491,6 +550,7 @@ impl RenderCommandEncoder { icb: &IndirectCommandBuffer, range: ExecutionRange, pipeline: Option, + check: Option, ) -> Result<(), Error> { self.sync_heaps(); // An execution rewrites an extended-range or padded attachment as a draw does, of reset @@ -694,6 +754,7 @@ impl RenderCommandEncoder { snapshot, shadows, lent, + check: check.map(Mutex::new), }); // Its commands may name any pipeline state, reading handles in any stage. self.command_encoded(every_render_stage()); @@ -744,6 +805,9 @@ pub(crate) struct RenderExecution { /// The query its commands' draws count in, where a visibility result mode was set at the /// call. lent: Option, + /// The caller's check of the commands the host step records + /// (`execute_commands_in_buffer_checked`), which the step calls before it records them. + check: Option>, } /// The encoder's state an execution's draws take: as the call found it, its tables only where @@ -2222,6 +2286,11 @@ impl RenderExecution { )); } let written = self.icb.written_records(range.clone())?; + // The caller's check sees each command the step will record, before it records any. + if let Some(check) = &self.check { + self.icb + .check_recorded(check, range.clone(), &written.records)?; + } let states = RenderPipelineState::indirect_states(device); // A record naming the ID of the state the CPU set runs its program, else the state of its // ID among `states` (`IndirectCommandBuffer::step_render_states`); the commands it runs diff --git a/crates/metal2vulkan-validation/src/runtime_lane/indirect_host_steps.rs b/crates/metal2vulkan-validation/src/runtime_lane/indirect_host_steps.rs index 15abe0b05..f8a531bb1 100644 --- a/crates/metal2vulkan-validation/src/runtime_lane/indirect_host_steps.rs +++ b/crates/metal2vulkan-validation/src/runtime_lane/indirect_host_steps.rs @@ -50,6 +50,7 @@ use metal2vulkan_runtime::{ ResourceOptions, Size, }; use std::ptr::NonNull; +use std::sync::atomic::{AtomicUsize, Ordering}; use std::sync::{mpsc, Arc, Mutex}; use std::time::Instant; @@ -416,6 +417,85 @@ fn commands_a_kernel_writes_run_after_it() { }); } +/// A checked execution (`execute_commands_in_buffer_checked`) of commands a kernel writes: its host +/// step calls the check once for each command it records, in order, with the command as +/// `IndirectCommandBuffer::commands` reads it (each a dispatch), before it records any: the +/// commands' windows of `out` are all still zero at every call. An execution of the CPU's records +/// in a buffer no encoder made resident for writing, which `commit` records, never calls it, and +/// both run as their plain forms run. The commands the check reads answer the runtime's unique +/// identifiers of their states, which the device announces as the getter does. +#[test] +fn a_checked_execution_checks_each_written_command_before_its_step_records_it() { + on_device_forcing(&[Degradation::UnmeasuredUniqueIdentifier], |device| { + let queue = device.new_command_queue().unwrap(); + let setup = Setup::new(device, 2); + let seen: Arc>> = Arc::default(); + let command_buffer = queue.command_buffer().unwrap(); + let mut encoder = command_buffer.compute_command_encoder().unwrap(); + setup.write(&mut encoder); + encoder + .use_resource(setup.params.as_resource(), ResourceUsage::READ) + .unwrap(); + encoder + .use_resource(setup.out.as_resource(), ResourceUsage::WRITE) + .unwrap(); + let (out, log) = (setup.out.clone(), Arc::clone(&seen)); + encoder + .execute_commands_in_buffer_checked( + &setup.icb, + 0..COMMANDS, + Box::new(move |index, command| { + let untouched = words(&read_buffer(&out, 0, out.length()).unwrap()) + .iter() + .all(|word| *word == 0); + let dispatches = matches!( + command, + IndirectCommand::Compute(command) if command.dispatch.is_some() + ); + log.lock().unwrap().push((index, dispatches, untouched)); + }), + ) + .unwrap(); + encoder.end_encoding().unwrap(); + complete(&command_buffer); + assert_eq!(setup.output(), expected(), "the checked commands run"); + let every: Vec<(u64, bool, bool)> = + (0..COMMANDS).map(|index| (index, true, true)).collect(); + assert_eq!( + *seen.lock().unwrap(), + every, + "each command, before any runs" + ); + // The CPU's records, recorded at the commit: no call. + let setup = Setup::new(device, 2); + setup.write_on_the_cpu(); + let calls = Arc::new(AtomicUsize::new(0)); + let counted = Arc::clone(&calls); + let command_buffer = queue.command_buffer().unwrap(); + let mut encoder = command_buffer.compute_command_encoder().unwrap(); + encoder + .use_resource(setup.params.as_resource(), ResourceUsage::READ) + .unwrap(); + encoder + .use_resource(setup.out.as_resource(), ResourceUsage::WRITE) + .unwrap(); + encoder + .execute_commands_in_buffer_checked( + &setup.icb, + 0..COMMANDS, + Box::new(move |_, _| { + counted.fetch_add(1, Ordering::SeqCst); + }), + ) + .unwrap(); + encoder.end_encoding().unwrap(); + complete(&command_buffer); + assert!(!setup.icb.gpu_written()); + assert_eq!(setup.output(), expected(), "the CPU's records run"); + assert_eq!(calls.load(Ordering::SeqCst), 0, "no host step, no check"); + }); +} + /// The kernel writes the buffer whose ID its argument buffer holds now, as Metal's kernel does /// (`kernel_cpu_reused`): a buffer made and gone leaves ID 1 free, the setup's buffer takes it /// again, and the commands the kernel writes through ID 1, which the CPU wrote into its argument diff --git a/docs/REFUSALS.md b/docs/REFUSALS.md index 5c0e24348..e81e31a49 100644 --- a/docs/REFUSALS.md +++ b/docs/REFUSALS.md @@ -14,7 +14,7 @@ Columns: - `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. -Generated at `a46fde1ab`. +Generated at `61b517915`. ## Totals @@ -84,7 +84,7 @@ Generated at `a46fde1ab`. | `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) | 1: `crates/metal2vulkan/src/lower/sampler/constexpr.rs:115` | `none`: Apple's compiler rejects it | | `TexelBuffer` | Texture buffers beyond the device's texel-buffer limits | devices without a format's usage; every device (no Vulkan mechanism) | 3: `crates/metal2vulkan/src/bind/instantiate.rs:853`, `crates/metal2vulkan/src/bind/instantiate.rs:859` (+1) | `app`: texture buffers past a device's texel-buffer limits | | `RasterOrderGroups` | Raster order groups without fragment shader interlock | devices without VkFeature::FragmentShaderPixelInterlock; devices without VkFeature::FragmentShaderSampleInterlock; devices without a capability the site computes (`alternatives`); every device (not implemented) | 4: `crates/metal2vulkan/src/device/metal.rs:242`, `crates/metal2vulkan/src/lower/fragment/rog.rs:151` (+2) | `rare`: raster order groups | -| `FramebufferFetch` | Framebuffer fetch without an ordered form on the device (rasterization-order attachment access, or the pixel interlock's storage form where the... | devices short of a Vulkan property the site names; devices without VkFeature::FragmentShaderPixelInterlock; devices without VkFeature::RasterizationOrderColorAttachmentAccess; devices without VkFeature::SampleRateShading; devices without a capability the site computes; devices without a capability the site computes (`alternatives`); devices without a capability the site computes (`c`); devices without a capability the site computes (`capability`); devices without a capability the site computes (`missing`); devices without a format's usage; drivers with a defect; every device (not implemented) | 26: `crates/metal2vulkan-runtime/src/families/features.rs:1007`, `crates/metal2vulkan-runtime/src/render.rs:5528` (+24) | `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) | +| `FramebufferFetch` | Framebuffer fetch without an ordered form on the device (rasterization-order attachment access, or the pixel interlock's storage form where the... | devices short of a Vulkan property the site names; devices without VkFeature::FragmentShaderPixelInterlock; devices without VkFeature::RasterizationOrderColorAttachmentAccess; devices without VkFeature::SampleRateShading; devices without a capability the site computes; devices without a capability the site computes (`alternatives`); devices without a capability the site computes (`c`); devices without a capability the site computes (`capability`); devices without a capability the site computes (`missing`); devices without a format's usage; drivers with a defect; every device (not implemented) | 26: `crates/metal2vulkan-runtime/src/families/features.rs:1007`, `crates/metal2vulkan-runtime/src/render.rs:5494` (+24) | `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) | 3: `crates/metal2vulkan-runtime/src/families/features.rs:1115`, `crates/metal2vulkan/src/lower/stage_io/plan.rs:3008` (+1) | `rare`: primitive_id on a device without geometry or tessellation shaders, in an indexed draw or behind a mesh function | | `VertexAmplification` | Vertex amplification | devices without VkFeature::Multiview; devices without VkFeature::MultiviewTessellationShader; devices without VkLimit::MaxMultiviewInstanceIndex; devices without a capability the site computes (`needs`); every device (not implemented) | 5: `crates/metal2vulkan/src/bind/graphics.rs:3871`, `crates/metal2vulkan/src/lower/stage_io/plan.rs:1258` (+3) | `rare`: vertex amplification | | `LayeredRendering` | Layered rendering (`render_target_array_index`, `viewport_array_index`) | devices without VkFeature::ImageView2DOn3DImage; devices without VkFeature::MultiViewport; devices without VkFeature::ShaderOutputLayer; devices without VkFeature::ShaderOutputViewportIndex; devices without a capability the site computes (`needs`); every device (not implemented) | 7: `crates/metal2vulkan-runtime/src/render_pass.rs:1578`, `crates/metal2vulkan-runtime/src/render_state.rs:1078` (+5) | `rare`: layered rendering on a device without its features | @@ -92,11 +92,11 @@ Generated at `a46fde1ab`. | `DualSourceBlending` | Dual-source blending | devices without VkFeature::DualSrcBlend; devices without VkLimit::MaxFragmentDualSrcAttachments | 5: `crates/metal2vulkan-runtime/src/families/formats.rs:386`, `crates/metal2vulkan/src/metal/state.rs:37` (+3) | `rare`: dual-source blending on a device without it | | `Barycentrics` | Barycentric coordinates | devices without VkFeature::FragmentShaderBarycentric; devices without VkFeature::GeometryShader; devices without a capability the site computes (`needs`); drivers with a defect; every device (not implemented) | 5: `crates/metal2vulkan/src/device/metal.rs:263`, `crates/metal2vulkan/src/lower/stage_io/plan.rs:1853` (+3) | `rare`: barycentric coordinates | | `StencilExport` | Stencil export | devices without VkExtension::ExtShaderStencilExport; every device (not implemented) | 6: `crates/metal2vulkan-runtime/src/families/features.rs:1102`, `crates/metal2vulkan/src/bind/graphics.rs:2580` (+4) | `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) | 3: `crates/metal2vulkan/src/pipeline/link/graphics.rs:815`, `crates/metal2vulkan/src/pipeline/link/graphics.rs:817` (+1) | `rare`: per-sample shading | +| `SampleRateShading` | Per-sample shading | devices without VkFeature::SampleRateShading; devices without a capability the site computes (`needs`); every device (not implemented) | 3: `crates/metal2vulkan/src/pipeline/link/graphics.rs:832`, `crates/metal2vulkan/src/pipeline/link/graphics.rs:834` (+1) | `rare`: per-sample shading | | `PixelCoverageAtSampleRate` | The pixel's coverage (`[[sample_mask]]` read) in a fragment function that runs once per sample | drivers with a defect; every device (no Vulkan mechanism); every device (not implemented) | 3: `crates/metal2vulkan/src/lower/fragment/coverage.rs:291`, `crates/metal2vulkan/src/lower/simd/mod.rs:739` (+1) | `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 | 4: `crates/metal2vulkan/src/pipeline/compile/color_group.rs:202`, `crates/metal2vulkan/src/pipeline/link/graphics.rs:294` (+2) | `rare`: too many varyings or attachments for a device | +| `InterfaceComponents` | Too many interface components or locations | devices short of a device limit the site names; devices without VkLimit::MaxColorAttachments; devices without VkLimit::MaxVertexInputAttributes | 4: `crates/metal2vulkan/src/pipeline/compile/color_group.rs:202`, `crates/metal2vulkan/src/pipeline/link/graphics.rs:301` (+2) | `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) | 3: `crates/metal2vulkan/src/pipeline/link/varyings.rs:318`, `crates/metal2vulkan/src/pipeline/link/varyings.rs:537` (+1) | `none`: a Metal link error | -| `KernelStageIn` | Kernel `[[stage_in]]` | every device (not implemented) | 3: `crates/metal2vulkan-runtime/src/indirect_execute.rs:336`, `crates/metal2vulkan/src/bind/dispatch.rs:877` (+1) | `rare`: kernel stage-in combinations Metal leaves unestablished | +| `KernelStageIn` | Kernel `[[stage_in]]` | every device (not implemented) | 3: `crates/metal2vulkan-runtime/src/indirect_execute.rs:342`, `crates/metal2vulkan/src/bind/dispatch.rs:877` (+1) | `rare`: kernel stage-in combinations Metal leaves unestablished | | `Tessellation` | Tessellation | devices without VkLimit::MaxPushConstantsSize; devices without VkLimit::MaxStorageBufferRange; devices without VkLimit::MaxTessellationGenerationLevel; every device (not implemented) | 13: `crates/metal2vulkan-air/src/canon/mod.rs:1243`, `crates/metal2vulkan-air/src/canon/mod.rs:1334` (+11) | `rare`: tessellation | | `MeshShading` | | devices short of a device limit the site names; devices without VkLimit::MaxMeshOutputLayers; devices without VkLimit::MaxTaskPayloadSize; devices without a capability the site computes (`missing`); every device (not implemented) | 7: `crates/metal2vulkan/src/bind/graphics.rs:1536`, `crates/metal2vulkan/src/bind/graphics.rs:2940` (+5) | `rare`: mesh pipelines | | `TileShading` | | devices without VkLimit::MaxStorageBufferRange; devices without a format's usage; every device (not implemented) | 5: `crates/metal2vulkan-runtime/src/render/tile_dispatch.rs:518`, `crates/metal2vulkan/src/bind/plan/compute.rs:237` (+3) | `rare`: tile shaders (Apple GPU families) | @@ -115,13 +115,13 @@ Generated at `a46fde1ab`. | `WideSwitchLiteral` | A switch case literal wider than 32 bits | every device (not implemented) | 1: `crates/metal2vulkan/src/structurize/emit.rs:207` | `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 short of a device limit the site names; devices without VkFeature::ShaderDemoteToHelperInvocation; every device (not implemented) | 35: `crates/metal2vulkan/src/bind/plan/resources.rs:762`, `crates/metal2vulkan/src/lower/access/handle.rs:1062` (+33) | `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) | 2: `crates/metal2vulkan/src/lower/sampler/constexpr.rs:176`, `crates/metal2vulkan/src/metal/sampler.rs:251` | `app`: mirror-clamp-to-edge on a device without it | -| `AlphaToOne` | `alphaToOneEnabled` | every device (not implemented) | 1: `crates/metal2vulkan/src/pipeline/link/graphics.rs:275` | `rare`: alphaToOneEnabled | +| `AlphaToOne` | `alphaToOneEnabled` | every device (not implemented) | 1: `crates/metal2vulkan/src/pipeline/link/graphics.rs:282` | `rare`: alphaToOneEnabled | | `StageStoresAndAtomics` | Buffer or image stores or atomics in a vertex or fragment function without the stage's store feature (`vertexPipelineStoresAndAtomics`,... | devices without VkFeature::FragmentStoresAndAtomics | 1: `crates/metal2vulkan/src/lower/access/tile_memory.rs:72` | `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... | devices short of a Vulkan feature the site names; every device (not implemented) | 2: `crates/metal2vulkan-air/src/canon/interface.rs:899`, `crates/metal2vulkan/src/lower/access/absent.rs:100` | `rare`: a function-constant-removed argument read | | `SamplerBicubicFilter` | A use of Metal's bicubic filter that no Metal reading establishes | every device (not implemented) | 5: `crates/metal2vulkan/src/bind/heap.rs:997`, `crates/metal2vulkan/src/bind/plan/resources.rs:1876` (+3) | `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` | every device (no Vulkan mechanism) | 5: `crates/metal2vulkan/src/bind/dispatch.rs:379`, `crates/metal2vulkan/src/bind/dispatch.rs:461` (+3) | `rare`: more threadgroups than a device dispatches, past the binder's split | | `IntersectionFunctionTable` | A ray intersection through intersection functions | every device (no Vulkan mechanism); every device (not implemented) | 9: `crates/metal2vulkan/src/bind/acceleration.rs:177`, `crates/metal2vulkan/src/bind/acceleration.rs:183` (+7) | `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 | 2: `crates/metal2vulkan-runtime/src/render.rs:6700`, `crates/metal2vulkan/src/pipeline/link/graphics.rs:993` | `rare`: per-attachment blending on a device without independentBlend | +| `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 | 2: `crates/metal2vulkan-runtime/src/render.rs:6666`, `crates/metal2vulkan/src/pipeline/link/graphics.rs:1005` | `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 short of a Vulkan property the site names; devices without a capability the site computes | 2: `crates/metal2vulkan-runtime/src/families/limits.rs:1059`, `crates/metal2vulkan/src/pipeline/graphics.rs:545` | `app`: a sample count a device lacks for the attachments | | `TriangleFillLines` | The render encoder's `MTLTriangleFillModeLines` (`polygonMode` `LINE`) on a device without `fillModeNonSolid` | - | via a helper: 1: `crates/metal2vulkan/src/metal/state.rs:347` | `app`: wireframe on a device without fillModeNonSolid | | `DepthClipClamp` | The render encoder's `MTLDepthClipModeClamp` (`depthClampEnable`) on a device without `depthClamp` | - | via a helper: 1: `crates/metal2vulkan/src/metal/state.rs:363` | `app`: depth clamp on a device without depthClamp | @@ -138,8 +138,8 @@ Generated at `a46fde1ab`. | `CountingVisibility` | A `Counting` visibility result (`MTLVisibilityResultModeCounting`) on a device without `occlusionQueryPrecise` | devices without VkFeature::OcclusionQueryPrecise | 1: `crates/metal2vulkan-runtime/src/visibility.rs:452` | `rare`: counting occlusion queries on a device without precise queries | | `ViewFormatReinterpretation` | A texture view whose format has other components, or components of other widths, than its texture's (`RGBA8Unorm` as `R32Uint`), on a device whose... | every device (no Vulkan mechanism) | 1: `crates/metal2vulkan-runtime/src/view_plan.rs:568` | `app`: a view of another component layout on a portability subset (MoltenVK) | | `SeparateMultisampledDepthStencil` | A render pass whose depth and stencil attachments are separate multisampled textures that it loads or may store, on a device without maintenance8,... | - | via a helper: 7: `crates/metal2vulkan-runtime/src/depth_stencil_scratch.rs:188`, `crates/metal2vulkan-runtime/src/depth_stencil_scratch.rs:294` (+5) | `rare`: separate multisampled depth and stencil textures | -| `PixelCoverage` | The fragment's coverage (`[[sample_mask]]` read) in a fragment function of a pipeline of more than one sample that runs once per pixel | drivers with a defect | 1: `crates/metal2vulkan/src/pipeline/link/graphics.rs:760` | `rare`: coverage reads at pixel rate in a multisampled pipeline | -| `CentroidVarying` | A centroid varying (`[[centroid_perspective]]`, `[[centroid_no_perspective]]`) in a fragment function of a pipeline of more than one sample | drivers with a defect | 1: `crates/metal2vulkan/src/pipeline/link/graphics.rs:775` | `rare`: centroid varyings in a multisampled pipeline | +| `PixelCoverage` | The fragment's coverage (`[[sample_mask]]` read) in a fragment function of a pipeline of more than one sample that runs once per pixel | drivers with a defect | 1: `crates/metal2vulkan/src/pipeline/link/graphics.rs:771` | `rare`: coverage reads at pixel rate in a multisampled pipeline | +| `CentroidVarying` | A centroid varying (`[[centroid_perspective]]`, `[[centroid_no_perspective]]`) in a fragment function of a pipeline of more than one sample | drivers with a defect | 1: `crates/metal2vulkan/src/pipeline/link/graphics.rs:789` | `rare`: centroid varyings in a multisampled pipeline | | `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... | - | via a helper: 1: `crates/metal2vulkan/src/lower/select.rs:1159` | `rare`: very large per-thread arrays | | `SparseTextures` | A sparse heap (`MTLHeapTypeSparse`), or a texture made from one, on a device without what a sparse resident image of it needs, which `missing` names | every device (no Vulkan mechanism) | 1: `crates/metal2vulkan-runtime/src/sparse/texture.rs:32` | `rare`: sparse heaps on a device without sparse images | | `SparseMapping` | A sparse texture's mapping update (`updateTextureMapping:` and its array form, or a move of mappings) that covers part of one of the device's... | every device (no Vulkan mechanism) | 1: `crates/metal2vulkan-runtime/src/sparse/encoder.rs:464` | `rare`: sparse mappings off the device's blocks | @@ -171,8 +171,8 @@ Generated at `a46fde1ab`. | `HeapTextureMemory` | A heap texture whose image the heap's memory type does not take | every device (runtime piece not built) | 5: `crates/metal2vulkan-runtime/src/texture/heap.rs:1313`, `crates/metal2vulkan-runtime/src/texture/heap.rs:1320` (+3) | `app`: a heap texture the heap's memory type does not take | | `FunctionTablePastMaxBufferLength` | A visible-function table of more entries than one buffer of the device's `max_buffer_length` holds words for, or than its size word holds | every device (runtime piece not built) | 1: `crates/metal2vulkan-runtime/src/function_table.rs:622` | `none`: a function table past one buffer | | `IndirectCommandBufferPastMaxBufferLength` | An indirect command buffer of more commands than one buffer of the device's `max_buffer_length` holds the records of | every device (runtime piece not built) | 1: `crates/metal2vulkan-runtime/src/indirect_command_buffer.rs:514` | `none`: an ICB past one buffer | -| `IndirectRenderCommands` | What indirect command buffers lack of their render commands | every device (runtime piece not built) | 17: `crates/metal2vulkan-runtime/src/compute.rs:1033`, `crates/metal2vulkan-runtime/src/compute.rs:1082` (+15) | `rare`: indirect render commands' remaining pieces | -| `IndirectImageblockSize` | An indirect compute command's imageblock side past 65535, which Metal keeps | every device (runtime piece not built) | 1: `crates/metal2vulkan-runtime/src/indirect_command_buffer.rs:2634` | `none`: an imageblock side past 65535 | +| `IndirectRenderCommands` | What indirect command buffers lack of their render commands | every device (runtime piece not built) | 17: `crates/metal2vulkan-runtime/src/compute.rs:1063`, `crates/metal2vulkan-runtime/src/compute.rs:1141` (+15) | `rare`: indirect render commands' remaining pieces | +| `IndirectImageblockSize` | An indirect compute command's imageblock side past 65535, which Metal keeps | every device (runtime piece not built) | 1: `crates/metal2vulkan-runtime/src/indirect_command_buffer.rs:2659` | `none`: an imageblock side past 65535 | | `CommandReplay` | The device replay of indirect command buffers | every device (runtime piece not built) | 2: `crates/metal2vulkan-runtime/src/binding.rs:642`, `crates/metal2vulkan-runtime/src/binding.rs:645` | `rare`: the device replay of indirect command buffers | | `RenderAttachments` | Render attachments and their binding forms | every device (runtime piece not built) | 1: `crates/metal2vulkan-runtime/src/binding.rs:1543` | `rare`: render attachment forms not built | | `AccelerationStructures` | Acceleration structures | every device (runtime piece not built) | 1: `crates/metal2vulkan-runtime/src/binding.rs:1546` | `rare`: ray tracing (out of scope by ruling) | @@ -183,15 +183,15 @@ Generated at `a46fde1ab`. | `OverlappingSurfaceRows` | A texture of an IOSurface plane (`Buffer::new_texture_with_iosurface_plane`, the stand-in for `newTextureWithDescriptor:iosurface:plane:`) whose... | every device (runtime piece not built) | 1: `crates/metal2vulkan-runtime/src/buffer_texture.rs:262` | `rare`: an IOSurface plane whose rows overlap | | `SamplePositionsAtBegin` | A render pass whose custom sample positions Vulkan takes only through what the runtime does not build | every device (runtime piece not built) | 3: `crates/metal2vulkan-runtime/src/depth_stencil_scratch.rs:145`, `crates/metal2vulkan-runtime/src/render_pass.rs:1770` (+1) | `rare`: custom sample positions Vulkan takes only at begin | | `SharedEventAcrossDevices` | A shared event handle opened on a device other than its event's | every device (runtime piece not built) | 1: `crates/metal2vulkan-runtime/src/event.rs:376` | `rare`: a shared event opened on another device | -| `ViewportDepthRange` | A viewport depth range past `[0, 1]`, which Metal takes, on a device without the features to take it natively or by the vertex stage's... | every device (runtime piece not built) | 7: `crates/metal2vulkan-runtime/src/render.rs:9362`, `crates/metal2vulkan-runtime/src/render_state.rs:1010` (+5) | `rare`: viewport depth outside [0, 1] without the device features | +| `ViewportDepthRange` | A viewport depth range past `[0, 1]`, which Metal takes, on a device without the features to take it natively or by the vertex stage's... | every device (runtime piece not built) | 7: `crates/metal2vulkan-runtime/src/render.rs:9315`, `crates/metal2vulkan-runtime/src/render_state.rs:1010` (+5) | `rare`: viewport depth outside [0, 1] without the device features | | `NonFiniteDepthBias` | NaN or infinite depth bias factors whose effect differs between flat and sloped triangles, or a draw whose bias adds a clamp that moves a... | every device (runtime piece not built) | 5: `crates/metal2vulkan-runtime/src/render_state.rs:1573`, `crates/metal2vulkan-runtime/src/render_state.rs:1576` (+3) | `rare`: NaN or infinite depth bias | | `DepthNeverWithoutAttachment` | A draw under a depth compare of `Never` in a pass without a depth attachment, which fails every fragment, whose fragment function writes color... | every device (runtime piece not built) | 1: `crates/metal2vulkan-runtime/src/depth_stencil.rs:147` | `rare`: depth compare Never with no depth attachment | -| `HiddenDepthStencil` | A draw whose depth/stencil state uses depth or the stencil that the pass lacks, which plain Metal tests against a hidden `float` depth of 1.0 and... | every device (runtime piece not built) | 2: `crates/metal2vulkan-runtime/src/attachment_stand_in.rs:563`, `crates/metal2vulkan-runtime/src/render.rs:6254` | `app`: a depth-stencil state using depth or stencil the pass lacks | -| `IndirectDrawArguments` | An indirect draw whose arguments the binding plan asks to read on the CPU (`DrawCommands::indirect_needs_arguments`) | every device (runtime piece not built) | 5: `crates/metal2vulkan-runtime/src/index_bounds.rs:90`, `crates/metal2vulkan-runtime/src/render.rs:2901` (+3) | `rare`: indirect draws whose arguments the CPU must read | +| `HiddenDepthStencil` | A draw whose depth/stencil state uses depth or the stencil that the pass lacks, which plain Metal tests against a hidden `float` depth of 1.0 and... | every device (runtime piece not built) | 2: `crates/metal2vulkan-runtime/src/attachment_stand_in.rs:563`, `crates/metal2vulkan-runtime/src/render.rs:6220` | `app`: a depth-stencil state using depth or stencil the pass lacks | +| `IndirectDrawArguments` | An indirect draw whose arguments the binding plan asks to read on the CPU (`DrawCommands::indirect_needs_arguments`) | every device (runtime piece not built) | 5: `crates/metal2vulkan-runtime/src/index_bounds.rs:90`, `crates/metal2vulkan-runtime/src/render.rs:2904` (+3) | `rare`: indirect draws whose arguments the CPU must read | | `DepthStencilResolve` | A depth/stencil resolve no Vulkan resolve mode of the device states | every device (runtime piece not built) | 7: `crates/metal2vulkan-runtime/src/depth_stencil_resolve.rs:441`, `crates/metal2vulkan-runtime/src/resolve.rs:1247` (+5) | `rare`: depth/stencil resolve modes a device lacks | | `TileAtSampleCount` | The tile memory of a render pass of a sample count Apple's GPUs lack (theirs are 1, 2 and 4), which a Vulkan device may have | every device (runtime piece not built) | 2: `crates/metal2vulkan-runtime/src/render/tile_dispatch.rs:599`, `crates/metal2vulkan-runtime/src/render_pass.rs:1520` | `none`: tile memory at a sample count Apple's GPUs lack | -| `ImageblockMasters` | A draw or tile dispatch whose imageblock is of another size than the pass's, or a draw whose fragment function's layouts are of another alignment... | every device (runtime piece not built) | 2: `crates/metal2vulkan-runtime/src/render.rs:7446`, `crates/metal2vulkan-runtime/src/render/tile_dispatch.rs:967` | `rare`: imageblocks of mixed sizes in one pass | -| `TileAndFragmentImageblocks` | A render pass that reaches its imageblock storage, from a draw whose fragment function declares an explicit imageblock or a tile dispatch whose... | every device (runtime piece not built) | 3: `crates/metal2vulkan-runtime/src/render.rs:7438`, `crates/metal2vulkan-runtime/src/render/tile_dispatch.rs:834` (+1) | `rare`: explicit imageblocks shared by tile and fragment functions | +| `ImageblockMasters` | A draw or tile dispatch whose imageblock is of another size than the pass's, or a draw whose fragment function's layouts are of another alignment... | every device (runtime piece not built) | 2: `crates/metal2vulkan-runtime/src/render.rs:7399`, `crates/metal2vulkan-runtime/src/render/tile_dispatch.rs:967` | `rare`: imageblocks of mixed sizes in one pass | +| `TileAndFragmentImageblocks` | A render pass that reaches its imageblock storage, from a draw whose fragment function declares an explicit imageblock or a tile dispatch whose... | every device (runtime piece not built) | 3: `crates/metal2vulkan-runtime/src/render.rs:7391`, `crates/metal2vulkan-runtime/src/render/tile_dispatch.rs:834` (+1) | `rare`: explicit imageblocks shared by tile and fragment functions | | `Metal4Api` | Metal 4's API (`MTL4CommandQueue`, `MTL4CommandBuffer`, `MTL4ArgumentTable`, `MTL4Compiler` and the rest), with the features only its programming... (not scheduled) | every device (runtime piece not built) | family audit only: 3: `crates/metal2vulkan-runtime/src/families/features.rs:1460`, `crates/metal2vulkan-runtime/src/families/limits.rs:1022` (+1) | `app`: Metal 4 (the API is missing: METAL-COVERAGE.md) | | `CounterSampleBuffers` | Counter sample buffers (`MTLCounterSampleBuffer`) and the commands that sample into them (not scheduled) | every device (runtime piece not built) | family audit only: 1: `crates/metal2vulkan-runtime/src/families/limits.rs:1013` | `app`: GPU counters and timestamps by sample buffer (missing API) | | `ResidencySets` | Residency sets (`MTLResidencySet`) (not scheduled) | every device (runtime piece not built) | family audit only: 2: `crates/metal2vulkan-runtime/src/families/features.rs:1442`, `crates/metal2vulkan-runtime/src/families/limits.rs:1015` | `app`: residency sets (missing API) | @@ -214,8 +214,8 @@ Generated at `a46fde1ab`. | `StageInFetchPast4GiB` | A dispatch (`dispatchThreads:threadsPerThreadgroup:` and its forms, or an indirect command buffer's command) whose kernel may read a... | every device (runtime piece not built) | 1: `crates/metal2vulkan-runtime/src/fetch_reach.rs:126` | `rare`: stage-in fetch past 4 GiB of a bind offset | | `MappedTextureSampling` | A command that would sample a texture of an address-mode map (`TextureDescriptor::address_mode_map`) where the runtime cannot map it at bind... | every device (runtime piece not built) | 1: `crates/metal2vulkan-runtime/src/address_map.rs:158` | `none`: a runtime extension's texture (address_mode_map) sampled where the runtime cannot map it; no Metal API path | | `LibrarySource` | A library compiled from Metal Shading Language source | every device (runtime piece not built) | 1: `crates/metal2vulkan-runtime/src/library.rs:107` | `app`: a library compiled from Metal source (newLibraryWithSource:); the runtime takes metallibs and AIR | -| `RestartedStrip` | An indexed strip after `set_primitive_restart_enabled` with an index Vulkan does not restart at, which the runtime draws as a list an index... | every device (runtime piece not built) | 2: `crates/metal2vulkan-runtime/src/index_rewrite.rs:110`, `crates/metal2vulkan-runtime/src/render.rs:7542` | `none`: a strip after the Apple-private setPrimitiveRestartEnabled:index: whose rewrite pass cannot run as Metal draws | -| `PrimitiveIdIndices` | An indexed draw (`drawIndexedPrimitives:`) of a pipeline whose fragment function reads `[[primitive_id]]` on a device whose fragment stage cannot... | every device (runtime piece not built) | 1: `crates/metal2vulkan-runtime/src/render.rs:7916` | `rare`: an indexed draw of a primitive_id pipeline, on a device without geometry or tessellation shaders, whose indices the encoder wrote since its last barrier | +| `RestartedStrip` | An indexed strip after `set_primitive_restart_enabled` with an index Vulkan does not restart at, which the runtime draws as a list an index... | every device (runtime piece not built) | 2: `crates/metal2vulkan-runtime/src/index_rewrite.rs:110`, `crates/metal2vulkan-runtime/src/render.rs:7495` | `none`: a strip after the Apple-private setPrimitiveRestartEnabled:index: whose rewrite pass cannot run as Metal draws | +| `PrimitiveIdIndices` | An indexed draw (`drawIndexedPrimitives:`) of a pipeline whose fragment function reads `[[primitive_id]]` on a device whose fragment stage cannot... | every device (runtime piece not built) | 1: `crates/metal2vulkan-runtime/src/render.rs:7869` | `rare`: an indexed draw of a primitive_id pipeline, on a device without geometry or tessellation shaders, whose indices the encoder wrote since its last barrier | | `RotatedTexture` | A rotated texture (`TextureDescriptor::rotation`) where the runtime does not build what Metal does | every device (runtime piece not built) | 9: `crates/metal2vulkan-runtime/src/blit_texture.rs:1555`, `crates/metal2vulkan-runtime/src/buffer_texture.rs:714` (+7) | `rare`: a rotated drawable's views, blits with images over overlapping rows, rows past its buffer | | `DetachTextures` | A texture over a no-copy buffer's or heap's bytes (a heap's texture, or a texture over the buffer or over one of the heap's buffers) that no... | every device (runtime piece not built) | 8: `crates/metal2vulkan-runtime/src/buffer_descriptor.rs:598`, `crates/metal2vulkan-runtime/src/buffer_texture.rs:621` (+6) | `none`: a runtime extension's detach with a texture no stand-in presents exactly | | `TextureBufferLevels` | A texture buffer of more than one level (`TextureDescriptor::mipmap_level_count`, up to its width's full chain) from the device's, a heap's or the... | every device (runtime piece not built) | 1: `crates/metal2vulkan-runtime/src/texture_descriptor.rs:540` | `rare`: a texture buffer of more than one level (public, unusual) | @@ -334,7 +334,7 @@ Each refusal's sites, with the function that builds it. - `feature::BufferRange`: `crates/metal2vulkan-runtime/src/function_table.rs:569 (past_storage_buffer_range)`; `crates/metal2vulkan/src/bind/graphics.rs:3530 (patch_binding)`; `crates/metal2vulkan/src/bind/graphics.rs:3574 (patch_binding)`; `crates/metal2vulkan/src/bind/graphics.rs:3612 (patch_binding)`; `crates/metal2vulkan/src/bind/instantiate.rs:632 (bind_buffers)`; `crates/metal2vulkan/src/lower/access/function_table.rs:226 (select)`; `crates/metal2vulkan/src/lower/access/mod.rs:1180 (place_slots)` - `feature::Int64Arithmetic`: `crates/metal2vulkan/src/lower/arith/legal.rs:582 (check_scalar)`; `crates/metal2vulkan/src/lower/select.rs:1121 (selector_form)` - `feature::Float64Arithmetic`: `crates/metal2vulkan/src/device/metal.rs:230 (unsupported_features)`; `crates/metal2vulkan/src/lower/arith/legal.rs:587 (check_scalar)` -- `feature::Format`: `crates/metal2vulkan-runtime/src/binding_view.rs:146 (binding_view)`; `crates/metal2vulkan-runtime/src/blit_plan.rs:462 (check_formats)`; `crates/metal2vulkan-runtime/src/blit_plan.rs:469 (check_formats)`; `crates/metal2vulkan-runtime/src/blit_plan.rs:484 (check_formats)`; `crates/metal2vulkan-runtime/src/blit_plan.rs:541 (pair_unit)`; `crates/metal2vulkan-runtime/src/blit_plan.rs:633 (plan_levels_copy)`; `crates/metal2vulkan-runtime/src/blit_texture.rs:2071 (through_buffer)`; `crates/metal2vulkan-runtime/src/buffer_texture.rs:518 (make_texture_over)`; `crates/metal2vulkan-runtime/src/buffer_texture.rs:581 (make_texture_over)`; `crates/metal2vulkan-runtime/src/buffer_texture.rs:613 (make_texture_over)`; `crates/metal2vulkan-runtime/src/buffer_texture.rs:850 (texture_buffer_texel)`; `crates/metal2vulkan-runtime/src/copy_plan.rs:269 (colour_unit)`; `crates/metal2vulkan-runtime/src/copy_plan.rs:297 (copy_unit)`; `crates/metal2vulkan-runtime/src/copy_plan.rs:343 (copy_unit)`; `crates/metal2vulkan-runtime/src/depth_stencil_scratch.rs:346 (scratch)`; `crates/metal2vulkan-runtime/src/depth_stencil_scratch.rs:526 (usable_twin)`; `crates/metal2vulkan-runtime/src/families/features.rs:1598 (read_write_tier)`; `crates/metal2vulkan-runtime/src/families/formats.rs:1628 (sparse_missing)`; `crates/metal2vulkan-runtime/src/families/formats.rs:227 (none)`; `crates/metal2vulkan-runtime/src/families/formats.rs:271 (answers)`; `crates/metal2vulkan-runtime/src/families/formats.rs:291 (answers)`; `crates/metal2vulkan-runtime/src/families/formats.rs:306 (answers)`; `crates/metal2vulkan-runtime/src/families/formats.rs:353 (answers)`; `crates/metal2vulkan-runtime/src/families/formats.rs:392 (answers)`; `crates/metal2vulkan-runtime/src/families/formats.rs:474 (atomic_gap)`; `crates/metal2vulkan-runtime/src/families/formats.rs:508 (lacking)`; `crates/metal2vulkan-runtime/src/families/formats.rs:522 (unsupported)`; `crates/metal2vulkan-runtime/src/image_plan.rs:539 (check_own_memory)`; `crates/metal2vulkan-runtime/src/image_plan.rs:665 (plan_held)`; `crates/metal2vulkan-runtime/src/image_plan.rs:782 (plan_held)`; `crates/metal2vulkan-runtime/src/image_plan.rs:902 (plan_held)`; `crates/metal2vulkan-runtime/src/render.rs:6819 (viewing)`; `crates/metal2vulkan-runtime/src/render_pass.rs:1282 (layout)`; `crates/metal2vulkan-runtime/src/render_pass.rs:1618 (target)`; `crates/metal2vulkan-runtime/src/render_pass.rs:1711 (attachment_format)`; `crates/metal2vulkan-runtime/src/render_pass.rs:944 (check_target)`; `crates/metal2vulkan-runtime/src/resolve.rs:392 (unmodelled_resolve)`; `crates/metal2vulkan-runtime/src/resolve.rs:482 (color)`; `crates/metal2vulkan-runtime/src/sample_copy.rs:177 (checked_twin)`; `crates/metal2vulkan-runtime/src/sample_copy.rs:205 (plan)`; `crates/metal2vulkan-runtime/src/sample_interleave.rs:296 (interleave_merge)`; `crates/metal2vulkan-runtime/src/shadow.rs:598 (unmerged)`; `crates/metal2vulkan-runtime/src/shadow.rs:605 (unmerged)`; `crates/metal2vulkan-runtime/src/texture.rs:1926 (texture_as)`; `crates/metal2vulkan-runtime/src/texture.rs:3393 (two_planes_refused)`; `crates/metal2vulkan-runtime/src/texture/decoded_twin.rs:498 (astc_texels)`; `crates/metal2vulkan-runtime/src/texture/decoded_twin.rs:534 (etc_texels)`; `crates/metal2vulkan-runtime/src/texture/heap.rs:1676 (new_heap_texture)`; `crates/metal2vulkan-runtime/src/texture/surface_two_planes.rs:80 (refused)`; `crates/metal2vulkan-runtime/src/texture/ycbcr_image.rs:115 (converted_storage)`; `crates/metal2vulkan-runtime/src/texture/ycbcr_image.rs:278 (ycbcr_write_shadow)`; `crates/metal2vulkan-runtime/src/texture/ycbcr_image.rs:384 (new_render_shadow)`; `crates/metal2vulkan-runtime/src/two_planes.rs:114 (unmeasured)`; `crates/metal2vulkan-runtime/src/view_plan.rs:380 (check_format)`; `crates/metal2vulkan-runtime/src/view_plan.rs:393 (check_format)`; `crates/metal2vulkan-runtime/src/view_plan.rs:400 (check_format)`; `crates/metal2vulkan-runtime/src/view_plan.rs:410 (check_format)`; `crates/metal2vulkan-runtime/src/view_plan.rs:420 (check_format)`; `crates/metal2vulkan-runtime/src/ycbcr.rs:264 (refused)`; `crates/metal2vulkan/src/bind/extended_shadow.rs:184 (extended_shadow_module)`; `crates/metal2vulkan/src/bind/plan/resources.rs:1134 (plain_texture)`; `crates/metal2vulkan/src/bind/plan/resources.rs:1814 (extended_sampler)`; `crates/metal2vulkan/src/bind/plan/resources.rs:193 (require_filter_features)`; `crates/metal2vulkan/src/bind/plan/resources.rs:959 (plain_texture)`; `crates/metal2vulkan/src/bind/sample_interleave.rs:304 (finish)`; `crates/metal2vulkan/src/bind/sample_interleave.rs:328 (interleave_split_module)`; `crates/metal2vulkan/src/bind/shadow_copy_in.rs:259 (shadow_copy_in_module)`; `crates/metal2vulkan/src/bind/unused_bits.rs:657 (unused_bits_module)`; `crates/metal2vulkan/src/lower/access/tile.rs:1029 (storage_format)`; `crates/metal2vulkan/src/lower/fragment/color.rs:160 (select_param)`; `crates/metal2vulkan/src/lower/fragment/color.rs:166 (select_param)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:1138 (extended_range_blend)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:1159 (extended_range_blend)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:1165 (extended_range_blend)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:1171 (extended_range_blend)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:1196 (extended_range_blend)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:1371 (plan)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:1762 (select_read)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:1870 (select_output)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:1897 (select_output)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:1916 (select_output)`; `crates/metal2vulkan/src/lower/sampler/select.rs:1093 (select_extended)`; `crates/metal2vulkan/src/lower/sampler/select.rs:691 (texel_in)`; `crates/metal2vulkan/src/lower/stage_io/extended_color.rs:77 (plan)`; `crates/metal2vulkan/src/lower/stage_io/plan.rs:2262 (entry)`; `crates/metal2vulkan/src/lower/stage_io/plan.rs:842 (zeroed_output)`; `crates/metal2vulkan/src/lower/stage_io/word_color.rs:83 (plan)`; `crates/metal2vulkan/src/lower/texture/mod.rs:2326 (select)`; `crates/metal2vulkan/src/lower/texture/mod.rs:2968 (cross_class)`; `crates/metal2vulkan/src/lower/texture/mod.rs:3140 (select_image)`; `crates/metal2vulkan/src/lower/texture/mod.rs:3310 (select_read_as)`; `crates/metal2vulkan/src/lower/texture/mod.rs:3347 (select_read_as)`; `crates/metal2vulkan/src/lower/texture/mod.rs:3680 (select_write)`; `crates/metal2vulkan/src/lower/texture/slot.rs:1035 (declare_slot)`; `crates/metal2vulkan/src/lower/texture/slot.rs:1048 (declare_slot)`; `crates/metal2vulkan/src/lower/texture/slot.rs:1054 (declare_slot)`; `crates/metal2vulkan/src/lower/texture/slot.rs:739 (storage_format)`; `crates/metal2vulkan/src/lower/texture/slot.rs:742 (storage_format)`; `crates/metal2vulkan/src/lower/texture/slot.rs:753 (storage_format)`; `crates/metal2vulkan/src/lower/texture/slot.rs:771 (storage_format)`; `crates/metal2vulkan/src/lower/texture/slot.rs:791 (storage_format)`; `crates/metal2vulkan/src/lower/texture/slot.rs:815 (ulong_format)`; `crates/metal2vulkan/src/lower/texture/slot.rs:826 (ulong_format)`; `crates/metal2vulkan/src/lower/texture/slot.rs:873 (ulong_format)`; `crates/metal2vulkan/src/lower/texture/slot.rs:908 (atomic_format)`; `crates/metal2vulkan/src/lower/texture/slot.rs:917 (atomic_format)`; `crates/metal2vulkan/src/metal/format/mod.rs:1657 (vk_format)`; `crates/metal2vulkan/src/metal/format/mod.rs:1659 (vk_format)`; `crates/metal2vulkan/src/metal/format/mod.rs:1789 (candidates)`; `crates/metal2vulkan/src/metal/format/mod.rs:2745 (storage_choice_viewed)`; `crates/metal2vulkan/src/metal/format/mod.rs:2763 (held_storage_choice)`; `crates/metal2vulkan/src/metal/format/mod.rs:2771 (held_storage_choice)`; `crates/metal2vulkan/src/metal/format/mod.rs:2868 (held_storage_choice)`; `crates/metal2vulkan/src/pipeline/link/graphics.rs:1075 (extended_write_mask)`; `crates/metal2vulkan/src/pipeline/link/graphics.rs:421 (graphics_state)`; `crates/metal2vulkan/src/pipeline/link/graphics.rs:467 (graphics_state)`; `crates/metal2vulkan/src/pipeline/link/graphics.rs:539 (graphics_state)`; `crates/metal2vulkan/src/pipeline/link/graphics.rs:945 (reads_alpha_to_coverage)`; `crates/metal2vulkan/src/pipeline/link/graphics.rs:966 (reads_alpha_to_coverage)`; `crates/metal2vulkan/src/pipeline/rotated_blend.rs:449 (rotated_blend)`; `crates/metal2vulkan/src/pipeline/rotated_blend.rs:593 (alpha_in_red_blend)` +- `feature::Format`: `crates/metal2vulkan-runtime/src/binding_view.rs:146 (binding_view)`; `crates/metal2vulkan-runtime/src/blit_plan.rs:462 (check_formats)`; `crates/metal2vulkan-runtime/src/blit_plan.rs:469 (check_formats)`; `crates/metal2vulkan-runtime/src/blit_plan.rs:484 (check_formats)`; `crates/metal2vulkan-runtime/src/blit_plan.rs:541 (pair_unit)`; `crates/metal2vulkan-runtime/src/blit_plan.rs:633 (plan_levels_copy)`; `crates/metal2vulkan-runtime/src/blit_texture.rs:2071 (through_buffer)`; `crates/metal2vulkan-runtime/src/buffer_texture.rs:518 (make_texture_over)`; `crates/metal2vulkan-runtime/src/buffer_texture.rs:581 (make_texture_over)`; `crates/metal2vulkan-runtime/src/buffer_texture.rs:613 (make_texture_over)`; `crates/metal2vulkan-runtime/src/buffer_texture.rs:850 (texture_buffer_texel)`; `crates/metal2vulkan-runtime/src/copy_plan.rs:269 (colour_unit)`; `crates/metal2vulkan-runtime/src/copy_plan.rs:297 (copy_unit)`; `crates/metal2vulkan-runtime/src/copy_plan.rs:343 (copy_unit)`; `crates/metal2vulkan-runtime/src/depth_stencil_scratch.rs:346 (scratch)`; `crates/metal2vulkan-runtime/src/depth_stencil_scratch.rs:526 (usable_twin)`; `crates/metal2vulkan-runtime/src/families/features.rs:1598 (read_write_tier)`; `crates/metal2vulkan-runtime/src/families/formats.rs:1628 (sparse_missing)`; `crates/metal2vulkan-runtime/src/families/formats.rs:227 (none)`; `crates/metal2vulkan-runtime/src/families/formats.rs:271 (answers)`; `crates/metal2vulkan-runtime/src/families/formats.rs:291 (answers)`; `crates/metal2vulkan-runtime/src/families/formats.rs:306 (answers)`; `crates/metal2vulkan-runtime/src/families/formats.rs:353 (answers)`; `crates/metal2vulkan-runtime/src/families/formats.rs:392 (answers)`; `crates/metal2vulkan-runtime/src/families/formats.rs:474 (atomic_gap)`; `crates/metal2vulkan-runtime/src/families/formats.rs:508 (lacking)`; `crates/metal2vulkan-runtime/src/families/formats.rs:522 (unsupported)`; `crates/metal2vulkan-runtime/src/image_plan.rs:539 (check_own_memory)`; `crates/metal2vulkan-runtime/src/image_plan.rs:665 (plan_held)`; `crates/metal2vulkan-runtime/src/image_plan.rs:782 (plan_held)`; `crates/metal2vulkan-runtime/src/image_plan.rs:902 (plan_held)`; `crates/metal2vulkan-runtime/src/render.rs:6785 (viewing)`; `crates/metal2vulkan-runtime/src/render_pass.rs:1282 (layout)`; `crates/metal2vulkan-runtime/src/render_pass.rs:1618 (target)`; `crates/metal2vulkan-runtime/src/render_pass.rs:1711 (attachment_format)`; `crates/metal2vulkan-runtime/src/render_pass.rs:944 (check_target)`; `crates/metal2vulkan-runtime/src/resolve.rs:392 (unmodelled_resolve)`; `crates/metal2vulkan-runtime/src/resolve.rs:482 (color)`; `crates/metal2vulkan-runtime/src/sample_copy.rs:177 (checked_twin)`; `crates/metal2vulkan-runtime/src/sample_copy.rs:205 (plan)`; `crates/metal2vulkan-runtime/src/sample_interleave.rs:296 (interleave_merge)`; `crates/metal2vulkan-runtime/src/shadow.rs:598 (unmerged)`; `crates/metal2vulkan-runtime/src/shadow.rs:605 (unmerged)`; `crates/metal2vulkan-runtime/src/texture.rs:1926 (texture_as)`; `crates/metal2vulkan-runtime/src/texture.rs:3393 (two_planes_refused)`; `crates/metal2vulkan-runtime/src/texture/decoded_twin.rs:498 (astc_texels)`; `crates/metal2vulkan-runtime/src/texture/decoded_twin.rs:534 (etc_texels)`; `crates/metal2vulkan-runtime/src/texture/heap.rs:1676 (new_heap_texture)`; `crates/metal2vulkan-runtime/src/texture/surface_two_planes.rs:80 (refused)`; `crates/metal2vulkan-runtime/src/texture/ycbcr_image.rs:115 (converted_storage)`; `crates/metal2vulkan-runtime/src/texture/ycbcr_image.rs:278 (ycbcr_write_shadow)`; `crates/metal2vulkan-runtime/src/texture/ycbcr_image.rs:384 (new_render_shadow)`; `crates/metal2vulkan-runtime/src/two_planes.rs:114 (unmeasured)`; `crates/metal2vulkan-runtime/src/view_plan.rs:380 (check_format)`; `crates/metal2vulkan-runtime/src/view_plan.rs:393 (check_format)`; `crates/metal2vulkan-runtime/src/view_plan.rs:400 (check_format)`; `crates/metal2vulkan-runtime/src/view_plan.rs:410 (check_format)`; `crates/metal2vulkan-runtime/src/view_plan.rs:420 (check_format)`; `crates/metal2vulkan-runtime/src/ycbcr.rs:264 (refused)`; `crates/metal2vulkan/src/bind/extended_shadow.rs:184 (extended_shadow_module)`; `crates/metal2vulkan/src/bind/plan/resources.rs:1134 (plain_texture)`; `crates/metal2vulkan/src/bind/plan/resources.rs:1814 (extended_sampler)`; `crates/metal2vulkan/src/bind/plan/resources.rs:193 (require_filter_features)`; `crates/metal2vulkan/src/bind/plan/resources.rs:959 (plain_texture)`; `crates/metal2vulkan/src/bind/sample_interleave.rs:304 (finish)`; `crates/metal2vulkan/src/bind/sample_interleave.rs:328 (interleave_split_module)`; `crates/metal2vulkan/src/bind/shadow_copy_in.rs:259 (shadow_copy_in_module)`; `crates/metal2vulkan/src/bind/unused_bits.rs:657 (unused_bits_module)`; `crates/metal2vulkan/src/lower/access/tile.rs:1029 (storage_format)`; `crates/metal2vulkan/src/lower/fragment/color.rs:160 (select_param)`; `crates/metal2vulkan/src/lower/fragment/color.rs:166 (select_param)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:1138 (extended_range_blend)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:1159 (extended_range_blend)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:1165 (extended_range_blend)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:1171 (extended_range_blend)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:1196 (extended_range_blend)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:1371 (plan)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:1762 (select_read)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:1870 (select_output)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:1897 (select_output)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:1916 (select_output)`; `crates/metal2vulkan/src/lower/sampler/select.rs:1093 (select_extended)`; `crates/metal2vulkan/src/lower/sampler/select.rs:691 (texel_in)`; `crates/metal2vulkan/src/lower/stage_io/extended_color.rs:77 (plan)`; `crates/metal2vulkan/src/lower/stage_io/plan.rs:2262 (entry)`; `crates/metal2vulkan/src/lower/stage_io/plan.rs:842 (zeroed_output)`; `crates/metal2vulkan/src/lower/stage_io/word_color.rs:83 (plan)`; `crates/metal2vulkan/src/lower/texture/mod.rs:2326 (select)`; `crates/metal2vulkan/src/lower/texture/mod.rs:2968 (cross_class)`; `crates/metal2vulkan/src/lower/texture/mod.rs:3140 (select_image)`; `crates/metal2vulkan/src/lower/texture/mod.rs:3310 (select_read_as)`; `crates/metal2vulkan/src/lower/texture/mod.rs:3347 (select_read_as)`; `crates/metal2vulkan/src/lower/texture/mod.rs:3680 (select_write)`; `crates/metal2vulkan/src/lower/texture/slot.rs:1035 (declare_slot)`; `crates/metal2vulkan/src/lower/texture/slot.rs:1048 (declare_slot)`; `crates/metal2vulkan/src/lower/texture/slot.rs:1054 (declare_slot)`; `crates/metal2vulkan/src/lower/texture/slot.rs:739 (storage_format)`; `crates/metal2vulkan/src/lower/texture/slot.rs:742 (storage_format)`; `crates/metal2vulkan/src/lower/texture/slot.rs:753 (storage_format)`; `crates/metal2vulkan/src/lower/texture/slot.rs:771 (storage_format)`; `crates/metal2vulkan/src/lower/texture/slot.rs:791 (storage_format)`; `crates/metal2vulkan/src/lower/texture/slot.rs:815 (ulong_format)`; `crates/metal2vulkan/src/lower/texture/slot.rs:826 (ulong_format)`; `crates/metal2vulkan/src/lower/texture/slot.rs:873 (ulong_format)`; `crates/metal2vulkan/src/lower/texture/slot.rs:908 (atomic_format)`; `crates/metal2vulkan/src/lower/texture/slot.rs:917 (atomic_format)`; `crates/metal2vulkan/src/metal/format/mod.rs:1657 (vk_format)`; `crates/metal2vulkan/src/metal/format/mod.rs:1659 (vk_format)`; `crates/metal2vulkan/src/metal/format/mod.rs:1789 (candidates)`; `crates/metal2vulkan/src/metal/format/mod.rs:2745 (storage_choice_viewed)`; `crates/metal2vulkan/src/metal/format/mod.rs:2763 (held_storage_choice)`; `crates/metal2vulkan/src/metal/format/mod.rs:2771 (held_storage_choice)`; `crates/metal2vulkan/src/metal/format/mod.rs:2868 (held_storage_choice)`; `crates/metal2vulkan/src/pipeline/link/graphics.rs:1087 (extended_write_mask)`; `crates/metal2vulkan/src/pipeline/link/graphics.rs:428 (graphics_state)`; `crates/metal2vulkan/src/pipeline/link/graphics.rs:474 (graphics_state)`; `crates/metal2vulkan/src/pipeline/link/graphics.rs:546 (graphics_state)`; `crates/metal2vulkan/src/pipeline/link/graphics.rs:957 (reads_alpha_to_coverage)`; `crates/metal2vulkan/src/pipeline/link/graphics.rs:978 (reads_alpha_to_coverage)`; `crates/metal2vulkan/src/pipeline/rotated_blend.rs:449 (rotated_blend)`; `crates/metal2vulkan/src/pipeline/rotated_blend.rs:593 (alpha_in_red_blend)` - `feature::DivergentImplicitLod`: `crates/metal2vulkan/src/lower/sampler/select.rs:352 (select_sampling)` - `feature::ImplicitLodOutsideFragment`: `crates/metal2vulkan/src/lower/sampler/constexpr.rs:136 (query_min_level)`; `crates/metal2vulkan/src/lower/sampler/select.rs:229 (query_level_measured)`; `crates/metal2vulkan/src/lower/sampler/select.rs:255 (query_min_level)` - `feature::MinLodClamp`: `crates/metal2vulkan/src/lower/sampler/select.rs:1572 (select_one)`; `crates/metal2vulkan/src/lower/sampler/select.rs:973 (min_lod)` @@ -350,27 +350,27 @@ Each refusal's sites, with the function that builds it. - `feature::PixelSamplerCompare`: `crates/metal2vulkan/src/lower/sampler/constexpr.rs:115 (lowered)` - `feature::TexelBuffer`: `crates/metal2vulkan/src/bind/instantiate.rs:853 (texel_ranges)`; `crates/metal2vulkan/src/bind/instantiate.rs:859 (texel_ranges)`; `crates/metal2vulkan/src/bind/plan/resources.rs:1147 (plain_texture)` - `feature::RasterOrderGroups`: `crates/metal2vulkan/src/device/metal.rs:242 (unsupported_features)`; `crates/metal2vulkan/src/lower/fragment/rog.rs:151 (mode)`; `crates/metal2vulkan/src/lower/fragment/rog.rs:172 (mode)`; `crates/metal2vulkan/src/lower/fragment/snapshot.rs:158 (finish)` -- `feature::FramebufferFetch`: `crates/metal2vulkan-runtime/src/families/features.rs:1007 (state)`; `crates/metal2vulkan-runtime/src/render.rs:5528 (next_instance)`; `crates/metal2vulkan-runtime/src/sample_planes.rs:116 (lacks)`; `crates/metal2vulkan-runtime/src/sample_planes.rs:143 (new)`; `crates/metal2vulkan-runtime/src/sample_planes.rs:514 (planes_merge)`; `crates/metal2vulkan/src/bind/extended_shadow.rs:190 (extended_shadow_module)`; `crates/metal2vulkan/src/bind/graphics.rs:1453 (plan)`; `crates/metal2vulkan/src/bind/graphics.rs:1490 (plan)`; `crates/metal2vulkan/src/bind/graphics.rs:1509 (plan)`; `crates/metal2vulkan/src/bind/sample_planes.rs:477 (finish)`; `crates/metal2vulkan/src/device/metal.rs:252 (unsupported_features)`; `crates/metal2vulkan/src/lower/arith/extended_range/blend.rs:1177 (unorm8)`; `crates/metal2vulkan/src/lower/arith/extended_range/blend.rs:1195 (unorm8)`; `crates/metal2vulkan/src/lower/arith/extended_range/blend.rs:1209 (unorm8)`; `crates/metal2vulkan/src/lower/arith/extended_range/blend.rs:1252 (packed16)`; `crates/metal2vulkan/src/lower/fragment/color.rs:215 (select_param)`; `crates/metal2vulkan/src/lower/fragment/color.rs:279 (unordered)`; `crates/metal2vulkan/src/lower/fragment/depth_test.rs:195 (not_implemented)`; `crates/metal2vulkan/src/lower/fragment/depth_test.rs:272 (depth_test_form)`; `crates/metal2vulkan/src/lower/fragment/depth_test.rs:318 (stencil_test_form)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:1024 (storage_form)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:1114 (storage_form)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:1151 (extended_range_blend)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:1716 (plan_sample)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:749 (not_implemented)`; `crates/metal2vulkan/src/pipeline/link/fetch.rs:164 (storage_attachments)` +- `feature::FramebufferFetch`: `crates/metal2vulkan-runtime/src/families/features.rs:1007 (state)`; `crates/metal2vulkan-runtime/src/render.rs:5494 (next_instance)`; `crates/metal2vulkan-runtime/src/sample_planes.rs:116 (lacks)`; `crates/metal2vulkan-runtime/src/sample_planes.rs:143 (new)`; `crates/metal2vulkan-runtime/src/sample_planes.rs:514 (planes_merge)`; `crates/metal2vulkan/src/bind/extended_shadow.rs:190 (extended_shadow_module)`; `crates/metal2vulkan/src/bind/graphics.rs:1453 (plan)`; `crates/metal2vulkan/src/bind/graphics.rs:1490 (plan)`; `crates/metal2vulkan/src/bind/graphics.rs:1509 (plan)`; `crates/metal2vulkan/src/bind/sample_planes.rs:477 (finish)`; `crates/metal2vulkan/src/device/metal.rs:252 (unsupported_features)`; `crates/metal2vulkan/src/lower/arith/extended_range/blend.rs:1177 (unorm8)`; `crates/metal2vulkan/src/lower/arith/extended_range/blend.rs:1195 (unorm8)`; `crates/metal2vulkan/src/lower/arith/extended_range/blend.rs:1209 (unorm8)`; `crates/metal2vulkan/src/lower/arith/extended_range/blend.rs:1252 (packed16)`; `crates/metal2vulkan/src/lower/fragment/color.rs:215 (select_param)`; `crates/metal2vulkan/src/lower/fragment/color.rs:279 (unordered)`; `crates/metal2vulkan/src/lower/fragment/depth_test.rs:195 (not_implemented)`; `crates/metal2vulkan/src/lower/fragment/depth_test.rs:272 (depth_test_form)`; `crates/metal2vulkan/src/lower/fragment/depth_test.rs:318 (stencil_test_form)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:1024 (storage_form)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:1114 (storage_form)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:1151 (extended_range_blend)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:1716 (plan_sample)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:749 (not_implemented)`; `crates/metal2vulkan/src/pipeline/link/fetch.rs:164 (storage_attachments)` - `feature::PrimitiveId`: `crates/metal2vulkan-runtime/src/families/features.rs:1115 (state)`; `crates/metal2vulkan/src/lower/stage_io/plan.rs:3008 (finish)`; `crates/metal2vulkan/src/pipeline/link/varyings.rs:240 (check_primitive_id)` -- `feature::VertexAmplification`: `crates/metal2vulkan/src/bind/graphics.rs:3871 (multiview_instances)`; `crates/metal2vulkan/src/lower/stage_io/plan.rs:1258 (own_index_store)`; `crates/metal2vulkan/src/lower/tessellation/mod.rs:718 (select_param)`; `crates/metal2vulkan/src/pipeline/link/graphics.rs:251 (vertex_amplification)`; `crates/metal2vulkan/src/pipeline/link/tessellation/mod.rs:228 (control_plan)` +- `feature::VertexAmplification`: `crates/metal2vulkan/src/bind/graphics.rs:3871 (multiview_instances)`; `crates/metal2vulkan/src/lower/stage_io/plan.rs:1258 (own_index_store)`; `crates/metal2vulkan/src/lower/tessellation/mod.rs:718 (select_param)`; `crates/metal2vulkan/src/pipeline/link/graphics.rs:258 (vertex_amplification)`; `crates/metal2vulkan/src/pipeline/link/tessellation/mod.rs:228 (control_plan)` - `feature::LayeredRendering`: `crates/metal2vulkan-runtime/src/render_pass.rs:1578 (target)`; `crates/metal2vulkan-runtime/src/render_state.rs:1078 (needs_viewports)`; `crates/metal2vulkan/src/lower/mesh/mod.rs:778 (target_index)`; `crates/metal2vulkan/src/lower/mesh/mod.rs:797 (target_index)`; `crates/metal2vulkan/src/lower/stage_io/plan.rs:1259 (own_index_store)`; `crates/metal2vulkan/src/pipeline/link/geometry.rs:150 (not_implemented)`; `crates/metal2vulkan/src/pipeline/link/geometry.rs:172 (refused)` - `feature::ClipDistance`: `crates/metal2vulkan/src/lower/mesh/mod.rs:934 (select)`; `crates/metal2vulkan/src/lower/mesh/mod.rs:942 (select)` -- `feature::DualSourceBlending`: `crates/metal2vulkan-runtime/src/families/formats.rs:386 (answers)`; `crates/metal2vulkan/src/metal/state.rs:37 (blend_factor)`; `crates/metal2vulkan/src/pipeline/link/graphics.rs:1132 (check_outputs)`; `crates/metal2vulkan/src/pipeline/rotated_blend.rs:463 (rotated_blend)`; `crates/metal2vulkan/src/pipeline/rotated_blend.rs:538 (rotated_blend)` +- `feature::DualSourceBlending`: `crates/metal2vulkan-runtime/src/families/formats.rs:386 (answers)`; `crates/metal2vulkan/src/metal/state.rs:37 (blend_factor)`; `crates/metal2vulkan/src/pipeline/link/graphics.rs:1144 (check_outputs)`; `crates/metal2vulkan/src/pipeline/rotated_blend.rs:463 (rotated_blend)`; `crates/metal2vulkan/src/pipeline/rotated_blend.rs:538 (rotated_blend)` - `feature::Barycentrics`: `crates/metal2vulkan/src/device/metal.rs:263 (unsupported_features)`; `crates/metal2vulkan/src/lower/stage_io/plan.rs:1853 (input_builtin)`; `crates/metal2vulkan/src/lower/stage_io/plan.rs:719 (param)`; `crates/metal2vulkan/src/pipeline/link/geometry.rs:148 (not_implemented)`; `crates/metal2vulkan/src/pipeline/link/geometry.rs:170 (refused)` - `feature::StencilExport`: `crates/metal2vulkan-runtime/src/families/features.rs:1102 (state)`; `crates/metal2vulkan/src/bind/graphics.rs:2580 (shadow_stencil_words)`; `crates/metal2vulkan/src/lower/fragment/stencil.rs:157 (device_form)`; `crates/metal2vulkan/src/lower/fragment/stencil.rs:168 (not_implemented)`; `crates/metal2vulkan/src/pipeline/link/stencil.rs:55 (shadow_stencil)`; `crates/metal2vulkan/src/pipeline/link/stencil.rs:73 (shadow_stencil)` -- `feature::SampleRateShading`: `crates/metal2vulkan/src/pipeline/link/graphics.rs:815 (sample_invocations)`; `crates/metal2vulkan/src/pipeline/link/graphics.rs:817 (sample_invocations)`; `crates/metal2vulkan/src/pipeline/link/graphics.rs:904 (sample_invocations)` -- `feature::PixelCoverageAtSampleRate`: `crates/metal2vulkan/src/lower/fragment/coverage.rs:291 (finish)`; `crates/metal2vulkan/src/lower/simd/mod.rs:739 (select_param)`; `crates/metal2vulkan/src/pipeline/link/graphics.rs:850 (sample_invocations)` -- `feature::InterfaceComponents`: `crates/metal2vulkan/src/pipeline/compile/color_group.rs:202 (refusal)`; `crates/metal2vulkan/src/pipeline/link/graphics.rs:294 (graphics_state)`; `crates/metal2vulkan/src/pipeline/link/varyings.rs:409 (assign)`; `crates/metal2vulkan/src/pipeline/link/varyings.rs:90 (limit_error)` +- `feature::SampleRateShading`: `crates/metal2vulkan/src/pipeline/link/graphics.rs:832 (sample_invocations)`; `crates/metal2vulkan/src/pipeline/link/graphics.rs:834 (sample_invocations)`; `crates/metal2vulkan/src/pipeline/link/graphics.rs:916 (sample_invocations)` +- `feature::PixelCoverageAtSampleRate`: `crates/metal2vulkan/src/lower/fragment/coverage.rs:291 (finish)`; `crates/metal2vulkan/src/lower/simd/mod.rs:739 (select_param)`; `crates/metal2vulkan/src/pipeline/link/graphics.rs:867 (sample_invocations)` +- `feature::InterfaceComponents`: `crates/metal2vulkan/src/pipeline/compile/color_group.rs:202 (refusal)`; `crates/metal2vulkan/src/pipeline/link/graphics.rs:301 (graphics_state)`; `crates/metal2vulkan/src/pipeline/link/varyings.rs:409 (assign)`; `crates/metal2vulkan/src/pipeline/link/varyings.rs:90 (limit_error)` - `feature::UnmatchedVarying`: `crates/metal2vulkan/src/pipeline/link/varyings.rs:318 (mesh_fragment)`; `crates/metal2vulkan/src/pipeline/link/varyings.rs:537 (varyings)`; `crates/metal2vulkan/src/pipeline/link/varyings.rs:548 (varyings)` -- `feature::KernelStageIn`: `crates/metal2vulkan-runtime/src/indirect_execute.rs:336 (record)`; `crates/metal2vulkan/src/bind/dispatch.rs:877 (instantiate)`; `crates/metal2vulkan/src/lower/stage_io/stage_in.rs:133 (select)` +- `feature::KernelStageIn`: `crates/metal2vulkan-runtime/src/indirect_execute.rs:342 (record)`; `crates/metal2vulkan/src/bind/dispatch.rs:877 (instantiate)`; `crates/metal2vulkan/src/lower/stage_io/stage_in.rs:133 (select)` - `feature::Tessellation`: `crates/metal2vulkan-air/src/canon/mod.rs:1243 (post_check)`; `crates/metal2vulkan-air/src/canon/mod.rs:1334 (post_check)`; `crates/metal2vulkan/src/bind/graphics.rs:3728 (tessellation_dispatch)`; `crates/metal2vulkan/src/lower/stage_io/fetch.rs:519 (select)`; `crates/metal2vulkan/src/lower/stage_io/plan.rs:1434 (primitive_id_output)`; `crates/metal2vulkan/src/lower/stage_io/plan.rs:1727 (input_builtin)`; `crates/metal2vulkan/src/lower/stage_io/plan.rs:776 (param)`; `crates/metal2vulkan/src/lower/tessellation/mod.rs:150 (not_implemented)`; `crates/metal2vulkan/src/lower/tessellation/mod.rs:489 (plan_entry)`; `crates/metal2vulkan/src/metal/vertex.rs:219 (fetch_as)`; `crates/metal2vulkan/src/pipeline/link/tessellation/mod.rs:212 (control_plan)`; `crates/metal2vulkan/src/pipeline/link/tessellation/mod.rs:292 (check_fragment)`; `crates/metal2vulkan/src/pipeline/link/tessellation/mod.rs:316 (push_offset)` - `feature::MeshShading`: `crates/metal2vulkan/src/bind/graphics.rs:1536 (plan)`; `crates/metal2vulkan/src/bind/graphics.rs:2940 (mesh_limit)`; `crates/metal2vulkan/src/lower/mesh/mod.rs:499 (check_payload)`; `crates/metal2vulkan/src/lower/mesh/mod.rs:538 (plan_entry)`; `crates/metal2vulkan/src/lower/mesh/mod.rs:572 (plan_entry)`; `crates/metal2vulkan/src/memory/plan.rs:1849 (reprs)`; `crates/metal2vulkan/src/pipeline/link/mesh.rs:95 (records)` -- `feature::TileShading`: `crates/metal2vulkan-runtime/src/render/tile_dispatch.rs:518 (scratch)`; `crates/metal2vulkan/src/bind/plan/compute.rs:237 (tile_memory)`; `crates/metal2vulkan/src/lower/access/tile.rs:151 (not_implemented)`; `crates/metal2vulkan/src/lower/sync/barrier.rs:275 (tile_shading)`; `crates/metal2vulkan/src/pipeline/compile/api.rs:734 (tile_pipeline)` +- `feature::TileShading`: `crates/metal2vulkan-runtime/src/render/tile_dispatch.rs:518 (scratch)`; `crates/metal2vulkan/src/bind/plan/compute.rs:237 (tile_memory)`; `crates/metal2vulkan/src/lower/access/tile.rs:151 (not_implemented)`; `crates/metal2vulkan/src/lower/sync/barrier.rs:275 (tile_shading)`; `crates/metal2vulkan/src/pipeline/compile/api.rs:687 (tile_pipeline)` - `feature::Imageblocks`: `crates/metal2vulkan/src/lower/access/imageblock.rs:98 (imageblocks)`; `crates/metal2vulkan/src/lower/access/mod.rs:904 (select_param)`; `crates/metal2vulkan/src/lower/fragment/imageblock.rs:103 (require)`; `crates/metal2vulkan/src/lower/fragment/imageblock.rs:85 (not_implemented)`; `crates/metal2vulkan/src/lower/texture/mod.rs:2336 (select)`; `crates/metal2vulkan/src/lower/texture/slice.rs:127 (imageblocks)`; `crates/metal2vulkan/src/pipeline/link/imageblock.rs:46 (fragment_imageblock)` - `feature::RayTracing`: `crates/metal2vulkan/src/bind/acceleration.rs:202 (instance_record)`; `crates/metal2vulkan/src/bind/acceleration.rs:216 (instance_record)`; `crates/metal2vulkan/src/lower/raytracing/mod.rs:1087 (primitive_data_read)`; `crates/metal2vulkan/src/lower/raytracing/mod.rs:1202 (instance_count)`; `crates/metal2vulkan/src/lower/raytracing/mod.rs:1245 (intersect)`; `crates/metal2vulkan/src/lower/raytracing/mod.rs:1257 (intersect)`; `crates/metal2vulkan/src/lower/raytracing/mod.rs:1282 (intersect)`; `crates/metal2vulkan/src/lower/raytracing/mod.rs:1297 (intersect)`; `crates/metal2vulkan/src/lower/raytracing/mod.rs:1312 (intersect)`; `crates/metal2vulkan/src/lower/raytracing/mod.rs:344 (slot_of)`; `crates/metal2vulkan/src/lower/raytracing/mod.rs:385 (select_param)`; `crates/metal2vulkan/src/lower/select.rs:887 (route_air)` - `feature::Tensors`: `crates/metal2vulkan-air/src/canon/matmul2d/synth.rs:32 (refuse)`; `crates/metal2vulkan/src/lower/select.rs:891 (route_air)` - `feature::RasterizationRateMap`: `crates/metal2vulkan/src/lower/fragment/mod.rs:925 (select)` -- `feature::GpuEncodedIndirectCommands`: `crates/metal2vulkan/src/bind/replay.rs:530 (preprocess)`; `crates/metal2vulkan/src/bind/replay.rs:772 (replay_preprocess_module)`; `crates/metal2vulkan/src/bind/replay/flat.rs:247 (flat_dispatch_module)`; `crates/metal2vulkan/src/lower/access/encode.rs:393 (needs)`; `crates/metal2vulkan/src/lower/access/encode.rs:409 (needs)`; `crates/metal2vulkan/src/lower/access/encode.rs:526 (select_command)`; `crates/metal2vulkan/src/lower/access/mod.rs:1534 (plan_replay)`; `crates/metal2vulkan/src/lower/access/mod.rs:1547 (plan_replay)`; `crates/metal2vulkan/src/lower/access/mod.rs:1550 (plan_replay)`; `crates/metal2vulkan/src/pipeline/compile.rs:2109 (plan_one)`; `crates/metal2vulkan/src/pipeline/compile.rs:2114 (plan_one)` +- `feature::GpuEncodedIndirectCommands`: `crates/metal2vulkan/src/bind/replay.rs:530 (preprocess)`; `crates/metal2vulkan/src/bind/replay.rs:772 (replay_preprocess_module)`; `crates/metal2vulkan/src/bind/replay/flat.rs:247 (flat_dispatch_module)`; `crates/metal2vulkan/src/lower/access/encode.rs:393 (needs)`; `crates/metal2vulkan/src/lower/access/encode.rs:409 (needs)`; `crates/metal2vulkan/src/lower/access/encode.rs:526 (select_command)`; `crates/metal2vulkan/src/lower/access/mod.rs:1534 (plan_replay)`; `crates/metal2vulkan/src/lower/access/mod.rs:1547 (plan_replay)`; `crates/metal2vulkan/src/lower/access/mod.rs:1550 (plan_replay)`; `crates/metal2vulkan/src/pipeline/compile.rs:2110 (plan_one)`; `crates/metal2vulkan/src/pipeline/compile.rs:2115 (plan_one)` - `feature::VulkanVersion`: `crates/metal2vulkan/src/ash_interop/query.rs:915 (query)`; `crates/metal2vulkan/src/device/derive.rs:105 (with_deviations)` - `feature::Constant`: `crates/metal2vulkan-air/src/bitcode/constants.rs:210 (record)`; `crates/metal2vulkan-air/src/bitcode/constants.rs:268 (record)`; `crates/metal2vulkan/src/error/mod.rs:255 (from)` - `feature::Attribute`: `crates/metal2vulkan-air/src/bitcode/attrs.rs:493 (known)`; `crates/metal2vulkan/src/error/mod.rs:256 (from)` @@ -379,15 +379,15 @@ Each refusal's sites, with the function that builds it. - `feature::SubgroupOperations`: `crates/metal2vulkan-runtime/src/families/features.rs:1686 (simd)`; `crates/metal2vulkan/src/lower/simd/mod.rs:402 (finish)`; `crates/metal2vulkan/src/lower/simd/mod.rs:448 (full_quads)`; `crates/metal2vulkan/src/lower/simd/mod.rs:975 (select_group)` - `feature::DirectCall`: `crates/metal2vulkan-air/src/canon/mod.rs:1306 (post_check)` - `feature::WideSwitchLiteral`: `crates/metal2vulkan/src/structurize/emit.rs:207 (check_tree)` -- `feature::Lowering`: `crates/metal2vulkan/src/bind/plan/resources.rs:762 (level_views)`; `crates/metal2vulkan/src/lower/access/handle.rs:1062 (texture_target)`; `crates/metal2vulkan/src/lower/access/handle.rs:1073 (sampler_target)`; `crates/metal2vulkan/src/lower/access/handle.rs:318 (domain_kind)`; `crates/metal2vulkan/src/lower/access/imageblock.rs:175 (operand)`; `crates/metal2vulkan/src/lower/access/mod.rs:571 (not_lowered)`; `crates/metal2vulkan/src/lower/access/pulled.rs:76 (share)`; `crates/metal2vulkan/src/lower/arith/legal.rs:53 (not_lowered)`; `crates/metal2vulkan/src/lower/dispatch.rs:113 (not_lowered)`; `crates/metal2vulkan/src/lower/fragment/discard.rs:144 (not_lowered)`; `crates/metal2vulkan/src/lower/fragment/discard.rs:653 (plan)`; `crates/metal2vulkan/src/lower/fragment/mod.rs:123 (not_lowered)`; `crates/metal2vulkan/src/lower/fragment/snapshot.rs:168 (finish)`; `crates/metal2vulkan/src/lower/mesh/mod.rs:147 (not_lowered)`; `crates/metal2vulkan/src/lower/raytracing/mod.rs:126 (not_lowered)`; `crates/metal2vulkan/src/lower/sampler/mod.rs:212 (refuse)`; `crates/metal2vulkan/src/lower/sampler/select.rs:30 (refuse)`; `crates/metal2vulkan/src/lower/select.rs:817 (not_lowered)`; `crates/metal2vulkan/src/lower/select.rs:906 (route_air)`; `crates/metal2vulkan/src/lower/simd/mod.rs:136 (not_lowered)`; `crates/metal2vulkan/src/lower/simd/mod.rs:732 (select_param)`; `crates/metal2vulkan/src/lower/simd/workgroup.rs:353 (check)`; `crates/metal2vulkan/src/lower/stage_io/fetch.rs:96 (not_lowered)`; `crates/metal2vulkan/src/lower/stage_io/mod.rs:174 (not_lowered)`; `crates/metal2vulkan/src/lower/sync/barrier.rs:72 (not_lowered)`; `crates/metal2vulkan/src/lower/sync/memory_model.rs:269 (not_implemented)`; `crates/metal2vulkan/src/lower/sync/memory_model.rs:310 (select)`; `crates/metal2vulkan/src/lower/tessellation/mod.rs:146 (not_lowered)`; `crates/metal2vulkan/src/lower/texture/mod.rs:179 (refuse)`; `crates/metal2vulkan/src/lower/texture/mod.rs:3649 (select_write)`; `crates/metal2vulkan/src/memory/alloca.rs:46 (not_lowered)`; `crates/metal2vulkan/src/memory/leaf.rs:183 (not_lowered)`; `crates/metal2vulkan/src/memory/plan.rs:453 (not_lowered)`; `crates/metal2vulkan/src/memory/provenance.rs:662 (not_lowered)`; `crates/metal2vulkan/src/pipeline/link/tessellation/mod.rs:96 (patch_fetch_projection)` +- `feature::Lowering`: `crates/metal2vulkan/src/bind/plan/resources.rs:762 (level_views)`; `crates/metal2vulkan/src/lower/access/handle.rs:1062 (texture_target)`; `crates/metal2vulkan/src/lower/access/handle.rs:1073 (sampler_target)`; `crates/metal2vulkan/src/lower/access/handle.rs:318 (domain_kind)`; `crates/metal2vulkan/src/lower/access/imageblock.rs:175 (operand)`; `crates/metal2vulkan/src/lower/access/mod.rs:571 (not_lowered)`; `crates/metal2vulkan/src/lower/access/pulled.rs:76 (share)`; `crates/metal2vulkan/src/lower/arith/legal.rs:53 (not_lowered)`; `crates/metal2vulkan/src/lower/dispatch.rs:113 (not_lowered)`; `crates/metal2vulkan/src/lower/fragment/discard.rs:144 (not_lowered)`; `crates/metal2vulkan/src/lower/fragment/discard.rs:653 (plan)`; `crates/metal2vulkan/src/lower/fragment/mod.rs:123 (not_lowered)`; `crates/metal2vulkan/src/lower/fragment/snapshot.rs:168 (finish)`; `crates/metal2vulkan/src/lower/mesh/mod.rs:147 (not_lowered)`; `crates/metal2vulkan/src/lower/raytracing/mod.rs:126 (not_lowered)`; `crates/metal2vulkan/src/lower/sampler/mod.rs:212 (refuse)`; `crates/metal2vulkan/src/lower/sampler/select.rs:30 (refuse)`; `crates/metal2vulkan/src/lower/select.rs:817 (not_lowered)`; `crates/metal2vulkan/src/lower/select.rs:906 (route_air)`; `crates/metal2vulkan/src/lower/simd/mod.rs:136 (not_lowered)`; `crates/metal2vulkan/src/lower/simd/mod.rs:732 (select_param)`; `crates/metal2vulkan/src/lower/simd/workgroup.rs:353 (check)`; `crates/metal2vulkan/src/lower/stage_io/fetch.rs:96 (not_lowered)`; `crates/metal2vulkan/src/lower/stage_io/mod.rs:176 (not_lowered)`; `crates/metal2vulkan/src/lower/sync/barrier.rs:72 (not_lowered)`; `crates/metal2vulkan/src/lower/sync/memory_model.rs:269 (not_implemented)`; `crates/metal2vulkan/src/lower/sync/memory_model.rs:310 (select)`; `crates/metal2vulkan/src/lower/tessellation/mod.rs:146 (not_lowered)`; `crates/metal2vulkan/src/lower/texture/mod.rs:179 (refuse)`; `crates/metal2vulkan/src/lower/texture/mod.rs:3649 (select_write)`; `crates/metal2vulkan/src/memory/alloca.rs:46 (not_lowered)`; `crates/metal2vulkan/src/memory/leaf.rs:183 (not_lowered)`; `crates/metal2vulkan/src/memory/plan.rs:453 (not_lowered)`; `crates/metal2vulkan/src/memory/provenance.rs:662 (not_lowered)`; `crates/metal2vulkan/src/pipeline/link/tessellation/mod.rs:96 (patch_fetch_projection)` - `feature::SamplerAddressMode`: `crates/metal2vulkan/src/lower/sampler/constexpr.rs:176`; `crates/metal2vulkan/src/metal/sampler.rs:251 (check_sampler)` -- `feature::AlphaToOne`: `crates/metal2vulkan/src/pipeline/link/graphics.rs:275 (graphics_state)` +- `feature::AlphaToOne`: `crates/metal2vulkan/src/pipeline/link/graphics.rs:282 (graphics_state)` - `feature::StageStoresAndAtomics`: `crates/metal2vulkan/src/lower/access/tile_memory.rs:72 (written)` - `feature::FunctionConstantArgument`: `crates/metal2vulkan-air/src/canon/interface.rs:899 (absent_values)`; `crates/metal2vulkan/src/lower/access/absent.rs:100 (require)` - `feature::SamplerBicubicFilter`: `crates/metal2vulkan/src/bind/heap.rs:997 (new)`; `crates/metal2vulkan/src/bind/plan/resources.rs:1876 (bicubic_texels)`; `crates/metal2vulkan/src/bind/plan/slots.rs:502 (cubic_variant)`; `crates/metal2vulkan/src/lower/sampler/bicubic.rs:120 (refuse)`; `crates/metal2vulkan/src/lower/sampler/select.rs:35 (bicubic_refused)` - `feature::GroupCount`: `crates/metal2vulkan/src/bind/dispatch.rs:379 (product)`; `crates/metal2vulkan/src/bind/dispatch.rs:461`; `crates/metal2vulkan/src/bind/dispatch.rs:959 (instantiate)`; `crates/metal2vulkan/src/bind/graphics.rs:3144 (mesh_draw)`; `crates/metal2vulkan/src/bind/graphics.rs:3195 (emulated_draw)` - `feature::IntersectionFunctionTable`: `crates/metal2vulkan/src/bind/acceleration.rs:177 (geometry_table_offset)`; `crates/metal2vulkan/src/bind/acceleration.rs:183 (geometry_table_offset)`; `crates/metal2vulkan/src/bind/acceleration.rs:188 (geometry_table_offset)`; `crates/metal2vulkan/src/lower/raytracing/mod.rs:1222 (null_table)`; `crates/metal2vulkan/src/lower/raytracing/mod.rs:1251 (intersect)`; `crates/metal2vulkan/src/lower/raytracing/mod.rs:1272 (intersect)`; `crates/metal2vulkan/src/lower/raytracing/mod.rs:406 (table_of)`; `crates/metal2vulkan/src/lower/raytracing/mod.rs:422 (select_table)`; `crates/metal2vulkan/src/lower/select.rs:873 (route_air)` -- `feature::IndependentBlending`: `crates/metal2vulkan-runtime/src/render.rs:6700 (check_pipeline)`; `crates/metal2vulkan/src/pipeline/link/graphics.rs:993 (uniform_blend)` +- `feature::IndependentBlending`: `crates/metal2vulkan-runtime/src/render.rs:6666 (check_pipeline)`; `crates/metal2vulkan/src/pipeline/link/graphics.rs:1005 (uniform_blend)` - `feature::RasterSampleCount`: `crates/metal2vulkan-runtime/src/families/limits.rs:1059 (sample_count)`; `crates/metal2vulkan/src/pipeline/graphics.rs:545 (sample_count_properties)` - `feature::TriangleFillLines`: `crates/metal2vulkan/src/metal/state.rs:347 (polygon_mode)` - `feature::DepthClipClamp`: `crates/metal2vulkan/src/metal/state.rs:363 (depth_clamp_enable)` @@ -404,8 +404,8 @@ Each refusal's sites, with the function that builds it. - `feature::CountingVisibility`: `crates/metal2vulkan-runtime/src/visibility.rs:452 (check_mode)` - `feature::ViewFormatReinterpretation`: `crates/metal2vulkan-runtime/src/view_plan.rs:568 (reinterpretation_refused)` - `feature::SeparateMultisampledDepthStencil`: `crates/metal2vulkan-runtime/src/depth_stencil_scratch.rs:188 (sampled_candidate)`; `crates/metal2vulkan-runtime/src/depth_stencil_scratch.rs:294 (by_draws)`; `crates/metal2vulkan-runtime/src/depth_stencil_scratch.rs:336 (scratch)`; `crates/metal2vulkan-runtime/src/depth_stencil_scratch.rs:376 (scratch)`; `crates/metal2vulkan-runtime/src/depth_stencil_scratch.rs:777 (plan)`; `crates/metal2vulkan-runtime/src/nan_clear.rs:651 (nan_write)`; `crates/metal2vulkan-runtime/src/texture/signed_depth.rs:191 (sample_strip)` -- `feature::PixelCoverage`: `crates/metal2vulkan/src/pipeline/link/graphics.rs:760 (split_pixel_fragments)` -- `feature::CentroidVarying`: `crates/metal2vulkan/src/pipeline/link/graphics.rs:775 (split_pixel_fragments)` +- `feature::PixelCoverage`: `crates/metal2vulkan/src/pipeline/link/graphics.rs:771 (split_pixel_fragments)` +- `feature::CentroidVarying`: `crates/metal2vulkan/src/pipeline/link/graphics.rs:789 (split_pixel_fragments)` - `feature::PrivateMemory`: `crates/metal2vulkan/src/lower/select.rs:1159 (function_storage)` - `feature::SparseTextures`: `crates/metal2vulkan-runtime/src/sparse/texture.rs:32 (sparse_refusal)` - `feature::SparseMapping`: `crates/metal2vulkan-runtime/src/sparse/encoder.rs:464 (splits_a_unit)` @@ -423,7 +423,7 @@ Each refusal's sites, with the function that builds it. - `feature::CommandPredication`: `crates/metal2vulkan/src/bind/replay/predication.rs:414 (predication_step_module)` - `feature::ProgramScopeBinding`: `crates/metal2vulkan-air/src/abi/module.rs:77 (decode)`; `crates/metal2vulkan/src/error/mod.rs:267 (from)` - `feature::SeqCstFence`: `crates/metal2vulkan/src/lower/sync/barrier.rs:443 (require_seq_cst)` -- `gap::Textures`: `crates/metal2vulkan-runtime/src/blit_texture.rs:162 (check_depth_view)`; `crates/metal2vulkan-runtime/src/buffer_texture.rs:1550 (view_usage)`; `crates/metal2vulkan-runtime/src/pipeline/mod.rs:1422 (compile_error)`; `crates/metal2vulkan-runtime/src/texture.rs:1371 (image_error)`; `crates/metal2vulkan-runtime/src/texture.rs:2091 (storage_over_buffer)`; `crates/metal2vulkan-runtime/src/texture.rs:2845 (new_image_starting)`; `crates/metal2vulkan-runtime/src/texture.rs:3882 (image)`; `crates/metal2vulkan-runtime/src/texture.rs:5350 (host_copy)`; `crates/metal2vulkan-runtime/src/texture/surface_two_planes.rs:207 (new_surface_planes_texture)` +- `gap::Textures`: `crates/metal2vulkan-runtime/src/blit_texture.rs:162 (check_depth_view)`; `crates/metal2vulkan-runtime/src/buffer_texture.rs:1550 (view_usage)`; `crates/metal2vulkan-runtime/src/pipeline/mod.rs:1448 (compile_error)`; `crates/metal2vulkan-runtime/src/texture.rs:1371 (image_error)`; `crates/metal2vulkan-runtime/src/texture.rs:2091 (storage_over_buffer)`; `crates/metal2vulkan-runtime/src/texture.rs:2845 (new_image_starting)`; `crates/metal2vulkan-runtime/src/texture.rs:3882 (image)`; `crates/metal2vulkan-runtime/src/texture.rs:5350 (host_copy)`; `crates/metal2vulkan-runtime/src/texture/surface_two_planes.rs:207 (new_surface_planes_texture)` - `gap::ResourceHeap`: `crates/metal2vulkan-runtime/src/binding.rs:1720 (descriptor)` - `gap::SparseHeaps`: `crates/metal2vulkan-runtime/src/sparse/encoder.rs:456 (first_slice)`; `crates/metal2vulkan-runtime/src/texture.rs:1555 (plan_sparse_texture)`; `crates/metal2vulkan-runtime/src/texture.rs:4574 (make_aliasable)` - `gap::SparseTileMaps`: `crates/metal2vulkan-runtime/src/binding.rs:501 (slot_tile_map)`; `crates/metal2vulkan-runtime/src/sparse/texture.rs:30 (sparse_refusal)`; `crates/metal2vulkan-runtime/src/texture.rs:1588 (plan_sparse_texture)` @@ -432,27 +432,27 @@ Each refusal's sites, with the function that builds it. - `gap::HeapTextureMemory`: `crates/metal2vulkan-runtime/src/texture/heap.rs:1313 (heap_plan)`; `crates/metal2vulkan-runtime/src/texture/heap.rs:1320 (heap_plan)`; `crates/metal2vulkan-runtime/src/texture/heap.rs:1779 (host_heap_plan)`; `crates/metal2vulkan-runtime/src/texture/heap.rs:1992 (memory_shadow)`; `crates/metal2vulkan-runtime/src/texture/heap.rs:489 (memory_refusal)` - `gap::FunctionTablePastMaxBufferLength`: `crates/metal2vulkan-runtime/src/function_table.rs:622 (past_limit)` - `gap::IndirectCommandBufferPastMaxBufferLength`: `crates/metal2vulkan-runtime/src/indirect_command_buffer.rs:514 (new_indirect_command_buffer)` -- `gap::IndirectRenderCommands`: `crates/metal2vulkan-runtime/src/compute.rs:1033 (execute_commands_in_buffer)`; `crates/metal2vulkan-runtime/src/compute.rs:1082 (execute_commands_in_buffer_indirect)`; `crates/metal2vulkan-runtime/src/depth_stencil.rs:85 (gpu_resource_id)`; `crates/metal2vulkan-runtime/src/indirect_command_buffer.rs:3466 (render_state)`; `crates/metal2vulkan-runtime/src/indirect_command_buffer.rs:509 (new_indirect_command_buffer)`; `crates/metal2vulkan-runtime/src/pipeline/mod.rs:1429 (compile_error)`; `crates/metal2vulkan-runtime/src/render.rs:7312 (draw_resident)`; `crates/metal2vulkan-runtime/src/render.rs:7665 (draw_resident)`; `crates/metal2vulkan-runtime/src/render.rs:8067 (draw_resident)`; `crates/metal2vulkan-runtime/src/render.rs:8504 (draw_resident)`; `crates/metal2vulkan-runtime/src/render/executions.rs:1807 (record)`; `crates/metal2vulkan-runtime/src/render/executions.rs:1850 (record)`; `crates/metal2vulkan-runtime/src/render/executions.rs:2530 (record)`; `crates/metal2vulkan-runtime/src/render/executions.rs:359 (execute_commands_in_buffer)`; `crates/metal2vulkan-runtime/src/render/executions.rs:417 (execute_commands_in_buffer_indirect)`; `crates/metal2vulkan-runtime/src/render/executions.rs:432 (execute_commands_in_buffer_indirect)`; `crates/metal2vulkan-runtime/src/render/executions.rs:914 (back_memoryless)` -- `gap::IndirectImageblockSize`: `crates/metal2vulkan-runtime/src/indirect_command_buffer.rs:2634 (set_imageblock_size)` +- `gap::IndirectRenderCommands`: `crates/metal2vulkan-runtime/src/compute.rs:1063 (execute_range)`; `crates/metal2vulkan-runtime/src/compute.rs:1141 (execute_indirect_range)`; `crates/metal2vulkan-runtime/src/depth_stencil.rs:85 (gpu_resource_id)`; `crates/metal2vulkan-runtime/src/indirect_command_buffer.rs:3502 (render_state)`; `crates/metal2vulkan-runtime/src/indirect_command_buffer.rs:509 (new_indirect_command_buffer)`; `crates/metal2vulkan-runtime/src/pipeline/mod.rs:1455 (compile_error)`; `crates/metal2vulkan-runtime/src/render.rs:7265 (draw_resident)`; `crates/metal2vulkan-runtime/src/render.rs:7618 (draw_resident)`; `crates/metal2vulkan-runtime/src/render.rs:8020 (draw_resident)`; `crates/metal2vulkan-runtime/src/render.rs:8457 (draw_resident)`; `crates/metal2vulkan-runtime/src/render/executions.rs:1871 (record)`; `crates/metal2vulkan-runtime/src/render/executions.rs:1914 (record)`; `crates/metal2vulkan-runtime/src/render/executions.rs:2599 (record)`; `crates/metal2vulkan-runtime/src/render/executions.rs:389 (execute_range)`; `crates/metal2vulkan-runtime/src/render/executions.rs:476 (execute_indirect_range)`; `crates/metal2vulkan-runtime/src/render/executions.rs:491 (execute_indirect_range)`; `crates/metal2vulkan-runtime/src/render/executions.rs:978 (back_memoryless)` +- `gap::IndirectImageblockSize`: `crates/metal2vulkan-runtime/src/indirect_command_buffer.rs:2659 (set_imageblock_size)` - `gap::CommandReplay`: `crates/metal2vulkan-runtime/src/binding.rs:642 (bind)`; `crates/metal2vulkan-runtime/src/binding.rs:645 (bind)` - `gap::RenderAttachments`: `crates/metal2vulkan-runtime/src/binding.rs:1543 (unexpected)` - `gap::AccelerationStructures`: `crates/metal2vulkan-runtime/src/binding.rs:1546 (unexpected)` - `gap::FeatureEnable`: `crates/metal2vulkan-runtime/src/enables.rs:1155 (of)` - `gap::ExtensionEnable`: `crates/metal2vulkan-runtime/src/enables.rs:1146 (of)` -- `gap::Render`: `crates/metal2vulkan-runtime/src/attachment_stand_in.rs:404 (stand_in_as)`; `crates/metal2vulkan-runtime/src/attachment_stand_in.rs:460 (stand_in_as)`; `crates/metal2vulkan-runtime/src/attachment_stand_in.rs:684 (check_copies)`; `crates/metal2vulkan-runtime/src/buffer_texture.rs:795 (attachment_twin)`; `crates/metal2vulkan-runtime/src/depth_stencil_scratch.rs:283 (check_sizes)`; `crates/metal2vulkan-runtime/src/kept_bytes.rs:138 (settle)`; `crates/metal2vulkan-runtime/src/linear_attachment.rs:293 (settle)`; `crates/metal2vulkan-runtime/src/nan_clear.rs:197 (plan)`; `crates/metal2vulkan-runtime/src/pipeline/render.rs:1119 (imageblock_sample_length)`; `crates/metal2vulkan-runtime/src/render.rs:5574 (next_instance)`; `crates/metal2vulkan-runtime/src/render.rs:6750 (check_pipeline)`; `crates/metal2vulkan-runtime/src/render.rs:7759 (draw_resident)`; `crates/metal2vulkan-runtime/src/render/tile_dispatch.rs:514 (scratch)`; `crates/metal2vulkan-runtime/src/render_pass.rs:1226 (layout)`; `crates/metal2vulkan-runtime/src/render_pass.rs:1585 (target)`; `crates/metal2vulkan-runtime/src/render_pass.rs:1639 (target)`; `crates/metal2vulkan-runtime/src/render_pass.rs:1700 (attachment_format)`; `crates/metal2vulkan-runtime/src/render_pass.rs:1933 (depth_stencil)`; `crates/metal2vulkan-runtime/src/resolve.rs:1010 (destination)`; `crates/metal2vulkan-runtime/src/resolve.rs:1027 (destination)`; `crates/metal2vulkan-runtime/src/resolve.rs:1091 (destination)`; `crates/metal2vulkan-runtime/src/resolve.rs:901 (attach)`; `crates/metal2vulkan-runtime/src/resolve.rs:969 (color_copy)` +- `gap::Render`: `crates/metal2vulkan-runtime/src/attachment_stand_in.rs:404 (stand_in_as)`; `crates/metal2vulkan-runtime/src/attachment_stand_in.rs:460 (stand_in_as)`; `crates/metal2vulkan-runtime/src/attachment_stand_in.rs:684 (check_copies)`; `crates/metal2vulkan-runtime/src/buffer_texture.rs:795 (attachment_twin)`; `crates/metal2vulkan-runtime/src/depth_stencil_scratch.rs:283 (check_sizes)`; `crates/metal2vulkan-runtime/src/kept_bytes.rs:138 (settle)`; `crates/metal2vulkan-runtime/src/linear_attachment.rs:293 (settle)`; `crates/metal2vulkan-runtime/src/nan_clear.rs:197 (plan)`; `crates/metal2vulkan-runtime/src/pipeline/render.rs:1114 (imageblock_sample_length)`; `crates/metal2vulkan-runtime/src/render.rs:5540 (next_instance)`; `crates/metal2vulkan-runtime/src/render.rs:6716 (check_pipeline)`; `crates/metal2vulkan-runtime/src/render.rs:7712 (draw_resident)`; `crates/metal2vulkan-runtime/src/render/tile_dispatch.rs:514 (scratch)`; `crates/metal2vulkan-runtime/src/render_pass.rs:1226 (layout)`; `crates/metal2vulkan-runtime/src/render_pass.rs:1585 (target)`; `crates/metal2vulkan-runtime/src/render_pass.rs:1639 (target)`; `crates/metal2vulkan-runtime/src/render_pass.rs:1700 (attachment_format)`; `crates/metal2vulkan-runtime/src/render_pass.rs:1933 (depth_stencil)`; `crates/metal2vulkan-runtime/src/resolve.rs:1010 (destination)`; `crates/metal2vulkan-runtime/src/resolve.rs:1027 (destination)`; `crates/metal2vulkan-runtime/src/resolve.rs:1091 (destination)`; `crates/metal2vulkan-runtime/src/resolve.rs:901 (attach)`; `crates/metal2vulkan-runtime/src/resolve.rs:969 (color_copy)` - `gap::TexelsPastBufferLength`: `crates/metal2vulkan-runtime/src/buffer_texture.rs:260 (refusal_error)`; `crates/metal2vulkan-runtime/src/texture/surface_depth.rs:105 (surface_depth_twin)` - `gap::OverlappingSurfaceRows`: `crates/metal2vulkan-runtime/src/buffer_texture.rs:262 (refusal_error)` - `gap::SamplePositionsAtBegin`: `crates/metal2vulkan-runtime/src/depth_stencil_scratch.rs:145 (stencil_scratch)`; `crates/metal2vulkan-runtime/src/render_pass.rs:1770 (positioned_stand_in)`; `crates/metal2vulkan-runtime/src/sample_positions.rs:185 (grid)` - `gap::SharedEventAcrossDevices`: `crates/metal2vulkan-runtime/src/event.rs:376 (new_shared_event_with_handle)` -- `gap::ViewportDepthRange`: `crates/metal2vulkan-runtime/src/render.rs:9362 (draw_settings)`; `crates/metal2vulkan-runtime/src/render_state.rs:1010`; `crates/metal2vulkan-runtime/src/render_state.rs:1178 (depth_ranges_refused)`; `crates/metal2vulkan-runtime/src/render_state.rs:1545 (bias_holds)`; `crates/metal2vulkan-runtime/src/render_state.rs:1564 (collapses)`; `crates/metal2vulkan-runtime/src/render_state.rs:503 (depth_range)`; `crates/metal2vulkan-runtime/src/render_state.rs:731 (compensation)` +- `gap::ViewportDepthRange`: `crates/metal2vulkan-runtime/src/render.rs:9315 (draw_settings)`; `crates/metal2vulkan-runtime/src/render_state.rs:1010`; `crates/metal2vulkan-runtime/src/render_state.rs:1178 (depth_ranges_refused)`; `crates/metal2vulkan-runtime/src/render_state.rs:1545 (bias_holds)`; `crates/metal2vulkan-runtime/src/render_state.rs:1564 (collapses)`; `crates/metal2vulkan-runtime/src/render_state.rs:503 (depth_range)`; `crates/metal2vulkan-runtime/src/render_state.rs:731 (compensation)` - `gap::NonFiniteDepthBias`: `crates/metal2vulkan-runtime/src/render_state.rs:1573 (collapses)`; `crates/metal2vulkan-runtime/src/render_state.rs:1576 (collapses)`; `crates/metal2vulkan-runtime/src/render_state.rs:347 (set_depth_bias)`; `crates/metal2vulkan-runtime/src/render_state.rs:439 (draw_viewports)`; `crates/metal2vulkan-runtime/src/render_state.rs:581 (compensation)` - `gap::DepthNeverWithoutAttachment`: `crates/metal2vulkan-runtime/src/depth_stencil.rs:147 (failing_draw)` -- `gap::HiddenDepthStencil`: `crates/metal2vulkan-runtime/src/attachment_stand_in.rs:563 (hidden)`; `crates/metal2vulkan-runtime/src/render.rs:6254 (hidden_depth_stencil)` -- `gap::IndirectDrawArguments`: `crates/metal2vulkan-runtime/src/index_bounds.rs:90 (new)`; `crates/metal2vulkan-runtime/src/render.rs:2901 (draw_indexed_primitives_indirect)`; `crates/metal2vulkan-runtime/src/render.rs:7515 (draw_resident)`; `crates/metal2vulkan-runtime/src/render.rs:7569 (draw_resident)`; `crates/metal2vulkan-runtime/src/render.rs:7600 (draw_resident)` +- `gap::HiddenDepthStencil`: `crates/metal2vulkan-runtime/src/attachment_stand_in.rs:563 (hidden)`; `crates/metal2vulkan-runtime/src/render.rs:6220 (hidden_depth_stencil)` +- `gap::IndirectDrawArguments`: `crates/metal2vulkan-runtime/src/index_bounds.rs:90 (new)`; `crates/metal2vulkan-runtime/src/render.rs:2904 (draw_indexed_primitives_indirect)`; `crates/metal2vulkan-runtime/src/render.rs:7468 (draw_resident)`; `crates/metal2vulkan-runtime/src/render.rs:7522 (draw_resident)`; `crates/metal2vulkan-runtime/src/render.rs:7553 (draw_resident)` - `gap::DepthStencilResolve`: `crates/metal2vulkan-runtime/src/depth_stencil_resolve.rs:441 (draws_run)`; `crates/metal2vulkan-runtime/src/resolve.rs:1247 (plan)`; `crates/metal2vulkan-runtime/src/resolve.rs:653 (depth_stencil)`; `crates/metal2vulkan-runtime/src/resolve.rs:751 (steps)`; `crates/metal2vulkan-runtime/src/resolve.rs:771 (steps)`; `crates/metal2vulkan-runtime/src/resolve.rs:812 (split_steps)`; `crates/metal2vulkan-runtime/src/resolve.rs:824 (split_steps)` - `gap::TileAtSampleCount`: `crates/metal2vulkan-runtime/src/render/tile_dispatch.rs:599`; `crates/metal2vulkan-runtime/src/render_pass.rs:1520 (layout)` -- `gap::ImageblockMasters`: `crates/metal2vulkan-runtime/src/render.rs:7446 (draw_resident)`; `crates/metal2vulkan-runtime/src/render/tile_dispatch.rs:967 (dispatch_tiles_resident)` -- `gap::TileAndFragmentImageblocks`: `crates/metal2vulkan-runtime/src/render.rs:7438 (draw_resident)`; `crates/metal2vulkan-runtime/src/render/tile_dispatch.rs:834 (dispatch_tiles_resident)`; `crates/metal2vulkan-runtime/src/render/tile_dispatch.rs:959 (dispatch_tiles_resident)` +- `gap::ImageblockMasters`: `crates/metal2vulkan-runtime/src/render.rs:7399 (draw_resident)`; `crates/metal2vulkan-runtime/src/render/tile_dispatch.rs:967 (dispatch_tiles_resident)` +- `gap::TileAndFragmentImageblocks`: `crates/metal2vulkan-runtime/src/render.rs:7391 (draw_resident)`; `crates/metal2vulkan-runtime/src/render/tile_dispatch.rs:834 (dispatch_tiles_resident)`; `crates/metal2vulkan-runtime/src/render/tile_dispatch.rs:959 (dispatch_tiles_resident)` - `gap::Metal4Api`: `crates/metal2vulkan-runtime/src/families/features.rs:1460 (state)`; `crates/metal2vulkan-runtime/src/families/limits.rs:1022 (state)`; `crates/metal2vulkan-runtime/src/families/mod.rs:362 (audit)` - `gap::CounterSampleBuffers`: `crates/metal2vulkan-runtime/src/families/limits.rs:1013 (state)` - `gap::ResidencySets`: `crates/metal2vulkan-runtime/src/families/features.rs:1442 (state)`; `crates/metal2vulkan-runtime/src/families/limits.rs:1015 (state)` @@ -475,8 +475,8 @@ Each refusal's sites, with the function that builds it. - `gap::StageInFetchPast4GiB`: `crates/metal2vulkan-runtime/src/fetch_reach.rs:126 (check_stage_in_reach)` - `gap::MappedTextureSampling`: `crates/metal2vulkan-runtime/src/address_map.rs:158 (resolve)` - `gap::LibrarySource`: `crates/metal2vulkan-runtime/src/library.rs:107 (new_library_with_source)` -- `gap::RestartedStrip`: `crates/metal2vulkan-runtime/src/index_rewrite.rs:110 (new)`; `crates/metal2vulkan-runtime/src/render.rs:7542 (draw_resident)` -- `gap::PrimitiveIdIndices`: `crates/metal2vulkan-runtime/src/render.rs:7916 (draw_resident)` +- `gap::RestartedStrip`: `crates/metal2vulkan-runtime/src/index_rewrite.rs:110 (new)`; `crates/metal2vulkan-runtime/src/render.rs:7495 (draw_resident)` +- `gap::PrimitiveIdIndices`: `crates/metal2vulkan-runtime/src/render.rs:7869 (draw_resident)` - `gap::RotatedTexture`: `crates/metal2vulkan-runtime/src/blit_texture.rs:1555 (texel_copies)`; `crates/metal2vulkan-runtime/src/buffer_texture.rs:714 (turned_plane)`; `crates/metal2vulkan-runtime/src/rotated.rs:185 (new)`; `crates/metal2vulkan-runtime/src/rotated.rs:201 (new)`; `crates/metal2vulkan-runtime/src/shadow.rs:592 (unmerged)`; `crates/metal2vulkan-runtime/src/texture.rs:4837 (view)`; `crates/metal2vulkan-runtime/src/texture/rotation.rs:100 (check_rotated_reach)`; `crates/metal2vulkan-runtime/src/texture/rotation.rs:322 (copied_image)`; `crates/metal2vulkan-runtime/src/texture/usage_shadow.rs:238 (new_usage_shadow)` - `gap::DetachTextures`: `crates/metal2vulkan-runtime/src/buffer_descriptor.rs:598 (rebind_host_pages)`; `crates/metal2vulkan-runtime/src/buffer_texture.rs:621 (make_texture_over)`; `crates/metal2vulkan-runtime/src/detach.rs:149 (detach_host_pages)`; `crates/metal2vulkan-runtime/src/texture/heap.rs:2499 (heap_texture_at)`; `crates/metal2vulkan-runtime/src/texture/stand_in.rs:143 (new_stand_in)`; `crates/metal2vulkan-runtime/src/texture/stand_in.rs:248 (stand_in_while_detached)`; `crates/metal2vulkan-runtime/src/texture/stand_in.rs:298 (stand_ins)`; `crates/metal2vulkan-runtime/src/texture/stand_in.rs:304 (stand_ins)` - `gap::TextureBufferLevels`: `crates/metal2vulkan-runtime/src/texture_descriptor.rs:540 (check_made)` diff --git a/docs/RUNTIME-PORTING.md b/docs/RUNTIME-PORTING.md index d7077a479..1e96a0bc8 100644 --- a/docs/RUNTIME-PORTING.md +++ b/docs/RUNTIME-PORTING.md @@ -165,8 +165,8 @@ narrow refusal that the call's rustdoc describes. | `EncodeStartIf` | `encodeStartIf:offset:comparison:referenceValue:` (SPI) | `ComputeCommandEncoder::encode_start_if`, as Metal runs it, on a counter the runtime's step kernel moves; refused: a word past its buffer, a nil buffer with no block open, and (at the commit) a live block open where its unit ends *(partial)* | | `EncodeStartWhile` | `encodeStartWhile:offset:comparison:referenceValue:` (SPI) | `ComputeCommandEncoder::encode_start_while`, as Metal runs it, laid down as `encode_start_do_while`'s loops are; refused as there, and as `encode_start_if` refuses its word *(partial)* | | `EndEncoding` | `endEncoding` | `ComputeCommandEncoder::end_encoding` | -| `ExecuteCommandsIndirect` | `executeCommandsInBuffer:indirectBuffer:indirectBufferOffset:` | `ComputeCommandEncoder::execute_commands_in_buffer_indirect` | -| `ExecuteCommandsInBuffer` | `executeCommandsInBuffer:withRange:` | `ComputeCommandEncoder::execute_commands_in_buffer` | +| `ExecuteCommandsIndirect` | `executeCommandsInBuffer:indirectBuffer:indirectBufferOffset:` | `ComputeCommandEncoder::execute_commands_in_buffer_indirect`; `_checked` adds an `IndirectCommandCheck` its host step calls on each command first | +| `ExecuteCommandsInBuffer` | `executeCommandsInBuffer:withRange:` | `ComputeCommandEncoder::execute_commands_in_buffer`; `_checked` adds an `IndirectCommandCheck` a host step calls on each command first | | `CompressedTextureReinterpretationFlush` | `insertCompressedTextureReinterpretationFlush` (SPI) | `ComputeCommandEncoder::insert_compressed_texture_reinterpretation_flush`: a no-op | | `MemoryBarrierWithResources` | `memoryBarrierWithResources:count:` | `ComputeCommandEncoder::memory_barrier_with_resources` | | `MemoryBarrierWithScope` | `memoryBarrierWithScope:` | `ComputeCommandEncoder::memory_barrier_with_scope` | @@ -386,8 +386,8 @@ narrow refusal that the call's rustdoc describes. | `DrawPrimitivesInstances` | `drawPrimitives:vertexStart:vertexCount:instanceCount:` | `RenderCommandEncoder::draw_primitives` *(partial)* | | `DrawPrimitivesBase` | `drawPrimitives:vertexStart:vertexCount:instanceCount:baseInstance:` | `RenderCommandEncoder::draw_primitives` *(partial)* | | `EndEncoding` | `endEncoding` | `RenderCommandEncoder::end_encoding` | -| `ExecuteCommandsIndirect` | `executeCommandsInBuffer:indirectBuffer:indirectBufferOffset:` | `RenderCommandEncoder::execute_commands_in_buffer_indirect`: the pass is recorded at a host step (announced once) *(partial)* | -| `ExecuteCommandsInBuffer` | `executeCommandsInBuffer:withRange:` | `RenderCommandEncoder::execute_commands_in_buffer`: the records as they stand at commit, or at a host step where the GPU writes them *(partial)* | +| `ExecuteCommandsIndirect` | `executeCommandsInBuffer:indirectBuffer:indirectBufferOffset:` | `RenderCommandEncoder::execute_commands_in_buffer_indirect`: the pass is recorded at a host step (announced once); `_checked` adds an `IndirectCommandCheck` the step calls on each command first *(partial)* | +| `ExecuteCommandsInBuffer` | `executeCommandsInBuffer:withRange:` | `RenderCommandEncoder::execute_commands_in_buffer`: the records as they stand at commit, or at a host step where the GPU writes them; `_checked` adds an `IndirectCommandCheck` that step calls on each command first *(partial)* | | `MemoryBarrierWithScope` | `memoryBarrierWithScope:afterStages:beforeStages:` | `RenderCommandEncoder::memory_barrier_with_scope` | | `SetAlphaTestReferenceValue` | `setAlphaTestReferenceValue:` (SPI) | `RenderCommandEncoder::set_alpha_test_reference_value`: a no-op (no runtime pipeline has an alpha test) | | `SetBlendColorRed` | `setBlendColorRed:green:blue:alpha:` | `RenderCommandEncoder::set_blend_color` |