Byte copies: the sample enums are exhaustive, the draw key derives no Debug; REFUSALS.md, basis and signatures regenerated; the replay counts the copies; the conformance case declares the note

The second build (lavapipe job m3-max-84547) stopped on a match over SampleAspect in the runtime,
which #[non_exhaustive] forbids across crates, and on a Debug derive over ash's Format, which has
none without its debug feature. SampleAspect and SampleWrite become exhaustive (class E in
api_surface): a runtime handles each aspect and makes a draw of each write. The replay's per-frame
metrics gain stencil_bit_draws and sample_copies. The conformance side announces
Texture::SAMPLE_DEPTH_COPY_NOTE for a copy into a multisample Depth16Unorm, which the
buffer-depth-samples d16 rows declare; the case's doc states the current form and its refusal of a
32-bit float depth instead of the old form's -0 difference.
This commit is contained in:
Anees Iqbal committed 2026-12-03 09:59:39 -08:00
1 parent b337c83e25
commit 4ccbde14e0
8 files changed
+99 -31

No files matched your search

@@ -4,7 +4,10 @@
//! Metal's answer here is a **rule**, not a table — "each copy unit of the buffer lands in its
//! sample by the layout measured for colour, texel `(x, y)` sample `s` at
//! `offset + y * bytesPerRow + (x * n + s) * bpp`, the samples outside a region keep the clear, and
//! the copy back out returns the buffer bit for bit" — measured by a probe on an **Apple M4**.
//! the copy back out returns the buffer bit for bit" — measured by a probe on an **Apple M3 Max**
//! under macOS 27.0.1 and on a **Radeon Pro 5300M** and an **Intel UHD Graphics 630** under macOS
//! 26.7.1, each plainly and under Metal's API validation layer; Apple's documentation of the two
//! calls says nothing of a multisample texture.
//! Every call on the path is public: a render pass that clears and draws nothing,
//! `copyFromBuffer:toTexture:` into the depth or stencil aspect, a dispatch that reads every
//! sample, and `copyFromTexture:toBuffer:` back. So record mode **runs** these cases on the oracle,
@@ -38,7 +41,9 @@
//! Nothing here faults a GPU, hangs one or trips a watchdog: one command buffer a row, a clear that
//! draws nothing, two blits and one dispatch of a thread a sample.
use crate::allowance::Allowance;
use crate::case::{call, Abort, Case, Input, MetalSource, Side};
use crate::degradation::Degradation;
use crate::fixture::{Fixture, RUNTIME_TEXT};
use crate::recording::ShaderRef;
use crate::transcript::{ByteLayout, Element, Gaps, Node, Observed, Region, Sites, Value};
@@ -124,12 +129,10 @@ const fn part(name: &'static str, format: u32) -> Row {
/// The rows: the stencil aspect at both sample counts and over a region inside the texture, and
/// the 16-bit depth aspect at both sample counts.
///
/// The two `Depth16Unorm` rows are **open gaps of ours**, each with a `known-gaps-rt.tsv` row:
/// Metal copies the buffer into the 16-bit aspect and back, and we refuse the copy in
/// (`RuntimeGap::MultisampledBufferCopy`, on a device without `maintenance8` or carrying the
/// measured copy defect). A refusal of something plain Metal does is a bug of ours by the owner's
/// standing rule, so the rows stay here and stay red in the ledger's own way: the run prints them
/// as refusals, counts them as refusals, and fails the day either stops refusing.
/// The runtime copies each row as its own work (the runtime's README, the blit encoder's copies):
/// a draw into each sample, and a dispatch out of them. Its copy into a 16-bit depth carries the
/// static note `rounded-sample-depth-copy` (`Texture::SAMPLE_DEPTH_COPY_NOTE`), which the
/// `Depth16Unorm` rows declare.
///
/// # The four rows this family does not yet hold, and what measuring them found
///
@@ -140,12 +143,11 @@ const fn part(name: &'static str, format: u32) -> Row {
/// - **`Depth32Float`, four rows** (54 x 54 and 80 x 80 at 4 samples, 54 x 54 at 2, and a region
/// inside 8 x 8). Metal returns the buffer **bit for bit**, every edge value included: both
/// denormals, every NaN payload, both infinities, -1, 1, the float after 1, 2 and the largest
/// float all come back unchanged, and the samples outside a region keep the clear. Ours differs
/// at **one element of all four rows** — copy unit 1, the edge value **-0**, which Metal keeps
/// and we answer as +0. The suite has no way to allow that alone: an
/// [`Allowance`](crate::allowance::Allowance) covers a **site**, and loosening a 46,656-byte site
/// to tolerate four bytes would throw away the comparison that makes the row worth having. A
/// per-element allowance on a bytes site is what these rows are waiting for.
/// float all come back unchanged, and the samples outside a region keep the clear. The runtime
/// refuses the copy of a multisample 32-bit float depth (`Gap::TextureBytes` of
/// `TextureBytesCause::MultisampleFloatDepth`): the draw that would write it takes no value
/// outside `[0, 1]` through `FragDepth`, and Metal's answer for those values is to be read on a
/// Mac again first.
const ROWS: [Row; 5] = [
whole("buffer-depth-samples-s8-54-4", STENCIL8, 4, 54),
whole("buffer-depth-samples-s8-54-2", STENCIL8, 2, 54),
@@ -371,6 +373,16 @@ impl Case for BufferDepthSamples {
MetalSource::Run
}
fn allowances(&self) -> Vec<Allowance> {
// The runtime's copy into a multisample 16-bit depth carries its static note
// (`rounded-sample-depth-copy`), which moves no code on a device that rounds to nearest
// or toward zero: one declaration, which loosens the notices site alone.
(self.row.format == DEPTH16UNORM)
.then(|| crate::replay::notice_allowance(Degradation::RoundedSampleDepthCopy.code()))
.into_iter()
.collect()
}
fn shaders(&self) -> Result<Vec<ShaderRef>, String> {
let fixture = Fixture::new(KERNELS);
Ok(vec![ShaderRef {
+10 -4
View File
@@ -20,8 +20,9 @@
//! block-compressed format ([`metal2vulkan_runtime::Texture::precision_note`]) and a sampler state that
//! reads an opaque-black border ([`metal2vulkan_runtime::SamplerState::precision_note`]). This side
//! announces the notes of each state its case dispatched or drew with, of each texture and
//! sampler state it made, and of each upload into a 32-bit float depth (`upload_note`), by the
//! codes the suite's allowances name (`metal2vulkan-degrade-<kind>`).
//! sampler state it made, and of each upload into a 32-bit float depth or a multisample texture's
//! 16-bit depth (`upload_note`), by the codes the suite's allowances name
//! (`metal2vulkan-degrade-<kind>`).
use crate::case::{
Answer, ArgumentSlot, Bindings, Failure, Handle, SamplerSpec, ShaderSource, Side,
@@ -527,9 +528,14 @@ impl<'a> RtSide<'a> {
/// The static note of an upload into `texture` of `option`, where it reaches a 32-bit float depth:
/// `Depth32Float`'s, or `Depth32Float_Stencil8`'s under its depth option
/// ([`rt::Texture::FLOAT_DEPTH_UPLOAD_NOTE`]).
/// ([`rt::Texture::FLOAT_DEPTH_UPLOAD_NOTE`]); or the 16-bit depth of a multisample texture, which
/// the runtime's own draw writes ([`rt::Texture::SAMPLE_DEPTH_COPY_NOTE`]).
fn upload_note(texture: &rt::Texture, option: rt::BlitOption) -> Option<rt::PrecisionNote> {
let pixel_format = texture.descriptor().pixel_format;
let d = texture.descriptor();
let pixel_format = d.pixel_format;
if pixel_format == PixelFormat::Depth16Unorm && d.sample_count > 1 {
return Some(rt::Texture::SAMPLE_DEPTH_COPY_NOTE);
}
let depth = pixel_format == PixelFormat::Depth32Float
|| (pixel_format == PixelFormat::Depth32FloatStencil8
&& option == rt::BlitOption::DepthFromDepthStencil);
+1 -1
View File
@@ -17,7 +17,7 @@ use metal2vulkan::pipeline::{own_draw, own_kernel, OwnKernel, SampleWrite};
use std::sync::Mutex;
/// What one of the runtime's own draws is made for.
#[derive(Clone, Copy, PartialEq, Eq, Debug)]
#[derive(Clone, Copy, PartialEq, Eq)]
pub(crate) struct DrawKey {
pub(crate) write: SampleWrite,
/// The format of the depth or stencil attachment it renders into.
@@ -3279,6 +3279,8 @@ impl Backend for NewRuntime {
("other_barriers", metrics.other_barriers),
("bytes_copied", metrics.bytes_copied),
("heap_moves", metrics.heap_moves),
("stencil_bit_draws", metrics.stencil_bit_draws),
("sample_copies", metrics.sample_copies),
("over_copies", metrics.over_copies),
("over_copy_bytes", metrics.over_copy_bytes),
("over_copies_imported", metrics.over_copies_imported),
@@ -39,8 +39,8 @@ use crate::spirv::ir::{
ImageUsage, IoDir, MemAccess, StorageClass, Type, TypedModule,
};
/// The aspect a copy moves, and the unit it moves a sample of it as.
#[non_exhaustive]
/// The aspect a copy moves, and the unit it moves a sample of it as. Exhaustive: a runtime
/// handles each.
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
pub enum SampleAspect {
/// A stencil aspect: one byte a sample, the stencil's value.
@@ -60,8 +60,7 @@ impl SampleAspect {
}
}
/// How the copy in writes each sample's unit.
#[non_exhaustive]
/// How the copy in writes each sample's unit. Exhaustive: a runtime makes a draw of each.
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
pub enum SampleWrite {
/// A 16-bit depth's code `c` as `FragDepth`, `min((c + 1/4) / 65535, 1)`, for a draw that
+50 -1
View File
@@ -61,6 +61,7 @@ assoc-const metal2vulkan-runtime::ResourceUsage::READ pub const READ: ResourceUs
assoc-const metal2vulkan-runtime::ResourceUsage::SAMPLE pub const SAMPLE: ResourceUsage
assoc-const metal2vulkan-runtime::ResourceUsage::WRITE pub const WRITE: ResourceUsage
assoc-const metal2vulkan-runtime::Texture::FLOAT_DEPTH_UPLOAD_NOTE pub const FLOAT_DEPTH_UPLOAD_NOTE: PrecisionNote
assoc-const metal2vulkan-runtime::Texture::SAMPLE_DEPTH_COPY_NOTE pub const SAMPLE_DEPTH_COPY_NOTE: PrecisionNote
assoc-const metal2vulkan-runtime::TextureSwizzleChannels::DEFAULT pub const DEFAULT: TextureSwizzleChannels
assoc-const metal2vulkan::bind::AstcDecode::BLOCK_BYTES pub const BLOCK_BYTES: u32
assoc-const metal2vulkan::bind::indirect_commands::BufferBinding::MIN_BUFFER_ADDRESS pub const MIN_BUFFER_ADDRESS: u64
@@ -161,6 +162,16 @@ assoc-const metal2vulkan::pipeline::IndirectDrawLayout::VERTEX_SLOTS_AT pub cons
assoc-const metal2vulkan::pipeline::KernelVariant::ALL pub const ALL: [KernelVariant; 4]
assoc-const metal2vulkan::pipeline::LineBandState::FRONT_FACE pub const FRONT_FACE: vk::FrontFace
assoc-const metal2vulkan::pipeline::LineBandState::PUSH_BYTES pub const PUSH_BYTES: u32
assoc-const metal2vulkan::pipeline::SampleBytes::ADDRESS_AT pub const ADDRESS_AT: u32
assoc-const metal2vulkan::pipeline::SampleBytes::BIT_AT pub const BIT_AT: u32
assoc-const metal2vulkan::pipeline::SampleBytes::BYTES pub const BYTES: u32
assoc-const metal2vulkan::pipeline::SampleBytes::LAYER_AT pub const LAYER_AT: u32
assoc-const metal2vulkan::pipeline::SampleBytes::ORIGIN_AT pub const ORIGIN_AT: u32
assoc-const metal2vulkan::pipeline::SampleBytes::ROW_AT pub const ROW_AT: u32
assoc-const metal2vulkan::pipeline::SampleBytes::SAMPLES_AT pub const SAMPLES_AT: u32
assoc-const metal2vulkan::pipeline::SampleBytes::TEXTURE_AT pub const TEXTURE_AT: u32
assoc-const metal2vulkan::pipeline::SampleBytes::WIDTH_AT pub const WIDTH_AT: u32
assoc-const metal2vulkan::pipeline::SampleBytes::WORKGROUP pub const WORKGROUP: u32
assoc-const metal2vulkan::vk::ComponentMapping::IDENTITY pub const IDENTITY: ComponentMapping
assoc-const-value metal2vulkan-air::bitcode::EnumAttrs::MAX_KIND 127
assoc-const-value metal2vulkan-air::bitcode::EnumAttrs::MUST_PROGRESS 70
@@ -218,6 +229,7 @@ assoc-const-value metal2vulkan-runtime::ResourceUsage::READ ResourceUsage(1)
assoc-const-value metal2vulkan-runtime::ResourceUsage::SAMPLE ResourceUsage(4)
assoc-const-value metal2vulkan-runtime::ResourceUsage::WRITE ResourceUsage(2)
assoc-const-value metal2vulkan-runtime::Texture::FLOAT_DEPTH_UPLOAD_NOTE PrecisionNote::RestrictedDepthUpload
assoc-const-value metal2vulkan-runtime::Texture::SAMPLE_DEPTH_COPY_NOTE PrecisionNote::RoundedSampleDepthCopy
assoc-const-value metal2vulkan-runtime::TextureSwizzleChannels::DEFAULT TextureSwizzleChannels
assoc-const-value metal2vulkan::bind::AstcDecode::BLOCK_BYTES 16
assoc-const-value metal2vulkan::bind::indirect_commands::BufferBinding::MIN_BUFFER_ADDRESS 1 <<32
@@ -318,6 +330,16 @@ assoc-const-value metal2vulkan::pipeline::IndirectDrawLayout::VERTEX_SLOTS_AT 4
assoc-const-value metal2vulkan::pipeline::KernelVariant::ALL [KernelVariant::Plain, KernelVariant::PartialThreadgroups, KernelVariant::EmulatedSimdgroups, KernelVariant::EmulatedPartialThreadgroups]
assoc-const-value metal2vulkan::pipeline::LineBandState::FRONT_FACE crate::pipeline::link::band::LineBand::FRONT_FACE
assoc-const-value metal2vulkan::pipeline::LineBandState::PUSH_BYTES crate::pipeline::link::band::LineBand::PUSH_BYTES
assoc-const-value metal2vulkan::pipeline::SampleBytes::ADDRESS_AT 0
assoc-const-value metal2vulkan::pipeline::SampleBytes::BIT_AT 32
assoc-const-value metal2vulkan::pipeline::SampleBytes::BYTES 40
assoc-const-value metal2vulkan::pipeline::SampleBytes::LAYER_AT 36
assoc-const-value metal2vulkan::pipeline::SampleBytes::ORIGIN_AT 12
assoc-const-value metal2vulkan::pipeline::SampleBytes::ROW_AT 8
assoc-const-value metal2vulkan::pipeline::SampleBytes::SAMPLES_AT 24
assoc-const-value metal2vulkan::pipeline::SampleBytes::TEXTURE_AT 28
assoc-const-value metal2vulkan::pipeline::SampleBytes::WIDTH_AT 20
assoc-const-value metal2vulkan::pipeline::SampleBytes::WORKGROUP 64
assoc-const-value metal2vulkan::vk::ComponentMapping::IDENTITY ComponentMapping
const metal2vulkan-air::bitstream::BLOCKINFO_BLOCK_ID pub const BLOCKINFO_BLOCK_ID: u32
const metal2vulkan-air::bitstream::TOP_LEVEL_ABBREV_WIDTH pub const TOP_LEVEL_ABBREV_WIDTH: u32
@@ -631,6 +653,7 @@ enum metal2vulkan-runtime::StoreAction #[derive(Clone, Copy, Debug, Default, Par
enum metal2vulkan-runtime::SurfaceCopy #[derive(Clone, Copy, Debug, PartialEq, Eq)] #[non_exhaustive] pub enum SurfaceCopy
enum metal2vulkan-runtime::SurfaceForm #[derive(Clone, Copy, Debug, PartialEq, Eq)] pub enum SurfaceForm
enum metal2vulkan-runtime::TextureBacking #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)] #[non_exhaustive] pub enum TextureBacking
enum metal2vulkan-runtime::TextureBytesCause #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)] #[non_exhaustive] pub enum TextureBytesCause
enum metal2vulkan-runtime::TextureViewKind #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)] #[non_exhaustive] pub enum TextureViewKind
enum metal2vulkan-runtime::VariantStart #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)] pub enum VariantStart
enum metal2vulkan-runtime::VisibilityResultMode #[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Hash)] #[non_exhaustive] pub enum VisibilityResultMode
@@ -744,6 +767,8 @@ enum metal2vulkan::pipeline::PushLoc #[cfg_attr(feature = "serde", derive(serde:
enum metal2vulkan::pipeline::Reconvergence #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)] #[non_exhaustive] pub enum Reconvergence
enum metal2vulkan::pipeline::ResourceKind #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] #[non_exhaustive] pub enum ResourceKind
enum metal2vulkan::pipeline::RuntimeFact #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] #[non_exhaustive] pub enum RuntimeFact
enum metal2vulkan::pipeline::SampleAspect #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)] pub enum SampleAspect
enum metal2vulkan::pipeline::SampleWrite #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)] pub enum SampleWrite
enum metal2vulkan::pipeline::SampledType #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] #[non_exhaustive] pub enum SampledType
enum metal2vulkan::pipeline::SamplerRef #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] #[non_exhaustive] pub enum SamplerRef
enum metal2vulkan::pipeline::SlotClass #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] pub enum SlotClass
@@ -1624,6 +1649,7 @@ field metal2vulkan-runtime::Metrics.ring_block_allocations pub ring_block_alloca
field metal2vulkan-runtime::Metrics.ring_writes pub ring_writes: u64
field metal2vulkan-runtime::Metrics.runtime_command_buffer_gpu_nanos pub runtime_command_buffer_gpu_nanos: u64
field metal2vulkan-runtime::Metrics.runtime_command_buffers pub runtime_command_buffers: u64
field metal2vulkan-runtime::Metrics.sample_copies pub sample_copies: u64
field metal2vulkan-runtime::Metrics.sampler_element_writes pub sampler_element_writes: u64
field metal2vulkan-runtime::Metrics.scheduled_to_gpu_start pub scheduled_to_gpu_start: [u64; STAGE_BUCKETS]
field metal2vulkan-runtime::Metrics.scheduled_to_gpu_start_behind_nanos pub scheduled_to_gpu_start_behind_nanos: u64
@@ -2584,6 +2610,8 @@ field metal2vulkan::pipeline::ModuleStats.inert pub inert: bool
field metal2vulkan::pipeline::ModuleStats.instructions pub instructions: u64
field metal2vulkan::pipeline::ModuleStats.loops pub loops: u32
field metal2vulkan::pipeline::ModuleStats.reachable_blocks pub reachable_blocks: u32
field metal2vulkan::pipeline::OwnDrawModules.fragment pub fragment: Vec<u32>
field metal2vulkan::pipeline::OwnDrawModules.vertex pub vertex: Vec<u32>
field metal2vulkan::pipeline::PipelineInterface.command_writes pub command_writes: CommandWrites
field metal2vulkan::pipeline::PipelineInterface.numbered_samplers pub numbered_samplers: Vec<(Stage, Vec<NumberedSampler>)>
field metal2vulkan::pipeline::PipelineInterface.push pub push: Vec<PushPlacement>
@@ -2926,6 +2954,7 @@ fn metal2vulkan::pipeline::grid_tile pub fn grid_tile(threads: [u32; 3]) -> [u32
fn metal2vulkan::pipeline::heap_sampler_capacity pub fn heap_sampler_capacity(p: &DeviceProfile) -> u32
fn metal2vulkan::pipeline::heap_unused_while_pending pub fn heap_unused_while_pending(p: &DeviceProfile) -> bool
fn metal2vulkan::pipeline::nonuniform_region_bytes pub fn nonuniform_region_bytes(base: [u32; 3], threads: [u32; 3], l: [u32; 3]) -> Option<[u8; 32]>
fn metal2vulkan::pipeline::own_draw pub fn own_draw(write: SampleWrite, profile: &DeviceProfile) -> Result<OwnDrawModules, Error>
fn metal2vulkan::pipeline::own_kernel pub fn own_kernel(kernel: OwnKernel, profile: &DeviceProfile) -> Result<Vec<u32>, Error>
fn metal2vulkan::pipeline::region_bytes pub fn region_bytes(base: [u32; 3], threads: [u32; 3], l: [u32; 3]) -> Option<[u8; 32]>
fn metal2vulkan::pipeline::specialize pub fn specialize(words: &[u32], values: &[(u32, u64)]) -> Result<Vec<u32>, Error>
@@ -6621,6 +6650,8 @@ method metal2vulkan::pipeline::RenderPipelineDescriptor::unwritten_fragment_inpu
method metal2vulkan::pipeline::RenderPipelineDescriptor::vertex_returns_value pub fn vertex_returns_value(&self, budget: &crate::Budget, entries: &StageEntries) -> Result<bool, Error>
method metal2vulkan::pipeline::RuntimeDependency::new pub fn new(fact: RuntimeFact, mechanism: Mechanism) -> RuntimeDependency
method metal2vulkan::pipeline::RuntimeFact::name pub fn name(self) -> &'static str
method metal2vulkan::pipeline::SampleAspect::unit pub fn unit(self) -> u32
method metal2vulkan::pipeline::SampleWrite::aspect pub fn aspect(self) -> SampleAspect
method metal2vulkan::pipeline::SamplerRef::constexpr_address_modes pub fn constexpr_address_modes(self) -> Option<[crate::metal::SamplerAddressMode; 3]>
method metal2vulkan::pipeline::StageEntries::counts pub fn counts(&self) -> (u64, u64)
method metal2vulkan::pipeline::StageEntries::held pub fn held(&self) -> (u64, u64, u64)
@@ -7077,6 +7108,7 @@ struct metal2vulkan::pipeline::LinkedSource #[derive(Clone, Copy, Debug)] pub st
struct metal2vulkan::pipeline::LoweringInputs #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[derive(Clone, Debug, Default, PartialEq, Eq, PartialOrd, Ord, Hash)] #[non_exhaustive] pub struct LoweringInputs
struct metal2vulkan::pipeline::MeshPipelineDescriptor #[derive(Clone, Debug, PartialEq, Eq)] #[non_exhaustive] pub struct MeshPipelineDescriptor
struct metal2vulkan::pipeline::ModuleStats #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Hash)] #[non_exhaustive] pub struct ModuleStats
struct metal2vulkan::pipeline::OwnDrawModules #[derive(Clone, Debug, PartialEq, Eq)] #[non_exhaustive] pub struct OwnDrawModules
struct metal2vulkan::pipeline::PipelineInterface #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[derive(Clone, Debug, Default, PartialEq, Eq, Hash)] #[non_exhaustive] pub struct PipelineInterface
struct metal2vulkan::pipeline::PipelineLayout #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[derive(Clone, Debug, Default, PartialEq, Eq, Hash)] #[non_exhaustive] pub struct PipelineLayout
struct metal2vulkan::pipeline::PlacedField #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)] #[non_exhaustive] pub struct PlacedField
@@ -7089,6 +7121,7 @@ struct metal2vulkan::pipeline::RenderPipelineDescriptor #[derive(Clone, Debug, P
struct metal2vulkan::pipeline::RenderPipelineKeys #[derive(Clone, Debug, PartialEq, Eq, Hash)] #[non_exhaustive] pub struct RenderPipelineKeys
struct metal2vulkan::pipeline::ResourceSlot #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] pub struct ResourceSlot
struct metal2vulkan::pipeline::RuntimeDependency #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)] #[non_exhaustive] pub struct RuntimeDependency
struct metal2vulkan::pipeline::SampleBytes #[derive(Clone, Copy, Debug)] pub struct SampleBytes
struct metal2vulkan::pipeline::SamplerSlot #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)] #[non_exhaustive] pub struct SamplerSlot
struct metal2vulkan::pipeline::SlotRef #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] pub struct SlotRef
struct metal2vulkan::pipeline::SpecConstant #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)] #[non_exhaustive] pub struct SpecConstant
@@ -8472,7 +8505,7 @@ variant metal2vulkan-runtime::Gap::StorageElement StorageElement { slot: Option<
variant metal2vulkan-runtime::Gap::SurfaceUsage SurfaceUsage { pixel_format: PixelFormat, missing: u32 }
variant metal2vulkan-runtime::Gap::SwizzledReadWrite SwizzledReadWrite { slot: u32 }
variant metal2vulkan-runtime::Gap::TextureBufferSwizzle TextureBufferSwizzle { pixel_format: PixelFormat }
variant metal2vulkan-runtime::Gap::TextureBytes TextureBytes { pixel_format: PixelFormat }
variant metal2vulkan-runtime::Gap::TextureBytes TextureBytes { pixel_format: PixelFormat, cause: TextureBytesCause }
variant metal2vulkan-runtime::Gap::TextureCopy TextureCopy { source: PixelFormat, destination: PixelFormat }
variant metal2vulkan-runtime::Gap::TextureFormat TextureFormat { pixel_format: PixelFormat }
variant metal2vulkan-runtime::Gap::TextureOverBuffer TextureOverBuffer { pixel_format: PixelFormat }
@@ -8622,6 +8655,7 @@ variant metal2vulkan-runtime::PrecisionNote::ReductionOrder ReductionOrder
variant metal2vulkan-runtime::PrecisionNote::RestrictedDepthRange RestrictedDepthRange
variant metal2vulkan-runtime::PrecisionNote::RestrictedDepthUpload RestrictedDepthUpload
variant metal2vulkan-runtime::PrecisionNote::RotatedBlendRounding RotatedBlendRounding
variant metal2vulkan-runtime::PrecisionNote::RoundedSampleDepthCopy RoundedSampleDepthCopy
variant metal2vulkan-runtime::PrecisionNote::SharedExponentKept SharedExponentKept
variant metal2vulkan-runtime::PrecisionNote::SimdgroupAccessOrder SimdgroupAccessOrder
variant metal2vulkan-runtime::PrecisionNote::SnormMinimumKept SnormMinimumKept
@@ -8827,6 +8861,14 @@ variant metal2vulkan-runtime::TextureBacking::D3d11 D3d11
variant metal2vulkan-runtime::TextureBacking::Drawable Drawable
variant metal2vulkan-runtime::TextureBacking::SurfacePlane SurfacePlane
variant metal2vulkan-runtime::TextureBacking::Texture Texture
variant metal2vulkan-runtime::TextureBytesCause::BothAspects BothAspects
variant metal2vulkan-runtime::TextureBytesCause::Multisample Multisample
variant metal2vulkan-runtime::TextureBytesCause::MultisampleFloatDepth MultisampleFloatDepth
variant metal2vulkan-runtime::TextureBytesCause::MultisampleStencilBesideDepth MultisampleStencilBesideDepth
variant metal2vulkan-runtime::TextureBytesCause::MultisampleUnread MultisampleUnread
variant metal2vulkan-runtime::TextureBytesCause::MultisampleUnrendered MultisampleUnrendered
variant metal2vulkan-runtime::TextureBytesCause::NoSuchAspect NoSuchAspect
variant metal2vulkan-runtime::TextureBytesCause::PackedDepth PackedDepth
variant metal2vulkan-runtime::TextureViewKind::CubeOfArray CubeOfArray
variant metal2vulkan-runtime::TextureViewKind::PixelFormat PixelFormat
variant metal2vulkan-runtime::TextureViewKind::Slices Slices
@@ -9944,6 +9986,7 @@ variant metal2vulkan::pipeline::NumberedSampler::Constexpr Constexpr([u64; 2])
variant metal2vulkan::pipeline::NumberedSampler::Read Read
variant metal2vulkan::pipeline::NumberedSampler::Write Write
variant metal2vulkan::pipeline::OwnKernel::ExecutionCounts ExecutionCounts
variant metal2vulkan::pipeline::OwnKernel::SamplesToBytes SamplesToBytes { aspect: SampleAspect, arrayed: bool }
variant metal2vulkan::pipeline::PatchDomain::Quad Quad
variant metal2vulkan::pipeline::PatchDomain::Triangle Triangle
variant metal2vulkan::pipeline::PrecisionNote::AnisotropicFilter AnisotropicFilter
@@ -10012,6 +10055,7 @@ variant metal2vulkan::pipeline::PrecisionNote::ReductionOrder ReductionOrder
variant metal2vulkan::pipeline::PrecisionNote::RestrictedDepthRange RestrictedDepthRange
variant metal2vulkan::pipeline::PrecisionNote::RestrictedDepthUpload RestrictedDepthUpload
variant metal2vulkan::pipeline::PrecisionNote::RotatedBlendRounding RotatedBlendRounding
variant metal2vulkan::pipeline::PrecisionNote::RoundedSampleDepthCopy RoundedSampleDepthCopy
variant metal2vulkan::pipeline::PrecisionNote::SharedExponentKept SharedExponentKept
variant metal2vulkan::pipeline::PrecisionNote::SimdgroupAccessOrder SimdgroupAccessOrder
variant metal2vulkan::pipeline::PrecisionNote::SnormMinimumKept SnormMinimumKept
@@ -10148,6 +10192,11 @@ variant metal2vulkan::pipeline::RuntimeFact::VertexBufferStride VertexBufferStri
variant metal2vulkan::pipeline::RuntimeFact::VertexFetch VertexFetch { attr: u32 }
variant metal2vulkan::pipeline::RuntimeFact::ViewportCount ViewportCount
variant metal2vulkan::pipeline::RuntimeFact::ZeroedColor ZeroedColor { color: u32, format: crate::metal::PixelFormat }
variant metal2vulkan::pipeline::SampleAspect::Depth16 Depth16
variant metal2vulkan::pipeline::SampleAspect::Stencil Stencil
variant metal2vulkan::pipeline::SampleWrite::Depth16 Depth16
variant metal2vulkan::pipeline::SampleWrite::StencilBit StencilBit
variant metal2vulkan::pipeline::SampleWrite::StencilExport StencilExport
variant metal2vulkan::pipeline::SampledType::Float Float
variant metal2vulkan::pipeline::SampledType::Sint Sint
variant metal2vulkan::pipeline::SampledType::Uint Uint
Can't render this file because it is too large.
+2 -2
View File
@@ -319,9 +319,9 @@ surface! {
enum OwnKernel N;
fn own_draw;
struct OwnDrawModules N;
enum SampleAspect N;
enum SampleAspect E;
struct SampleBytes E;
enum SampleWrite N;
enum SampleWrite E;
struct ComputePipeline N;
struct ComputePipelineMetalInfo N;
struct CompileReport N;
+6 -6
View File
@@ -278,14 +278,14 @@ Columns:
| `TextureBytesPrivate` | `Texture::replace_region` or `Texture::get_bytes` of a Private or Memoryless texture | every device (a public call's own check of its arguments) | `metal-documented`: Apple's documentation of `MTLStorageModePrivate`: "The resource is accessible only to the GPU." | 1: `crates/metal2vulkan-runtime/src/texture.rs (copy)` | `-` |
| `TextureRegion` | `Texture::replace_region`, `Texture::get_bytes` or a blit copy (`BlitCommandEncoder::copy_from_texture`) of a level or slice past the texture's,... | every device (a public call's own check of its arguments) | `ours`: no texel of the texture is there to copy | 1: `crates/metal2vulkan-runtime/src/texture.rs (place)` | `-` |
| `TextureBytesLayout` | `Texture::replace_region` or `Texture::get_bytes` with rows closer than a row of the region, images closer than an image of it, or bytes too few... | every device (a public call's own check of its arguments) | `ours`: the call would read or write past the bytes it is given, or one texel's bytes over another's | 1: `crates/metal2vulkan-runtime/src/texture.rs (copy)` | `-` |
| `BufferCopyLayout` | `BlitCommandEncoder::copy_from_buffer` or `BlitCommandEncoder::copy_from_texture_to_buffer` whose offset or row stride, for a format of single... | every device (a public call's own check of its arguments) | `metal-measured`: an Apple M3 Max, macOS 27.0.1, probe `blit_buffer_copy_rules.m` in the conformance crate: Metal's validation layer stops an RGBA8Unorm offset of 2, `sourceOffset (2) must be a multiple of 4 bytes`, a row stride of 18, `sourceBytesPerRow (18) must be a multiple of 4 bytes`, and the same of a copy into a buffer, a row stride of 12 for rows of 16 bytes, an image stride of 12 for images of 16, and a region 16 bytes past the buffer's end, `totalBytesUsed(4112) must be <= [sourceBuffer length](4096)`; it takes an R8Unorm offset of 2, a row stride of 0 for one row, image strides of no whole number of rows, and an image stride on a 2D texture and on a slice of a 1D array | 1: `crates/metal2vulkan-runtime/src/blit.rs (buffer_copy)` | `-` |
| `BufferCopyLayout` | `BlitCommandEncoder::copy_from_buffer` or `BlitCommandEncoder::copy_from_texture_to_buffer` whose offset or row stride, for a format of single... | every device (a public call's own check of its arguments) | `metal-measured`: an Apple M3 Max, macOS 27.0.1, probe `blit_buffer_copy_rules.m` in the conformance crate: Metal's validation layer stops an RGBA8Unorm offset of 2, `sourceOffset (2) must be a multiple of 4 bytes`, a row stride of 18, `sourceBytesPerRow (18) must be a multiple of 4 bytes`, and the same of a copy into a buffer, a row stride of 12 for rows of 16 bytes, an image stride of 12 for images of 16, and a region 16 bytes past the buffer's end, `totalBytesUsed(4112) must be <= [sourceBuffer length](4096)`; it takes an R8Unorm offset of 2, a row stride of 0 for one row, image strides of no whole number of rows, and an image stride on a 2D texture and on a slice of a 1D array | 2: `crates/metal2vulkan-runtime/src/blit.rs (buffer_copy)`, `crates/metal2vulkan-runtime/src/blit/samples.rs (check)` | `-` |
| `FillRange` | `BlitCommandEncoder::fill_buffer` of an empty range, or of one past the buffer's end | every device (a public call's own check of its arguments) | `metal-measured`: an Apple M3 Max, macOS 27.0.1, probe `blit_fill_rules.m` in the conformance crate: Metal's validation layer stops both, `range.length(0) must not be 0` and `(range.location + range.length)(68) must be <= [buffer length](64)` | 1: `crates/metal2vulkan-runtime/src/blit.rs (fill_range)` | `-` |
| `TextureViewRange` | `Texture::new_texture_view` of an empty range of levels or slices, or of one past the texture's | every device (a public call's own check of its arguments) | `metal-measured`: an Apple M3 Max, macOS 27.0.1, probe `texture_view_rules.m` in the conformance crate: Metal's validation layer stops each, `(newLevelRange.location + newLevelRange.length)(4) must be <= [texture mipmapLevelCount](3)`, `newLevelRange.length must not be 0` and `(newSliceRange.location + newSliceRange.length)(4) must be <= (3)` | 1: `crates/metal2vulkan-runtime/src/texture.rs (view)` | `-` |
| `TextureViewSlices` | `Texture::new_texture_view` of a slice count the view's type does not take | every device (a public call's own check of its arguments) | `metal-documented`: Apple's `makeTextureView(pixelFormat:textureType:levels:slices:)` page: "The length value of the sliceRange parameter needs to be 6 if the new texture type value is MTLTextureType.typeCube, or a multiple of 6 if the new texture type value is MTLTextureType.typeCubeArray"; and measured on an Apple M3 Max, macOS 27.0.1: plain Metal asserts "newSliceRange.length(2) must equal (1) for textureType (MTLTextureType2D)" | 1: `crates/metal2vulkan-runtime/src/texture.rs (view)` | `-` |
| `TextureViewFormat` | `Texture::new_texture_view` of a pixel format Metal does not view the texture as | every device (a public call's own check of its arguments) | `metal-measured`: an Apple M3 Max, macOS 27.0.1, probe `texture_view_rules.m` in the conformance crate: Metal's validation layer stops a view of another format of a texture of `ShaderRead` usage, `R32Uint`, `RGBA8Uint`, `BGRA8Unorm` and `BGRA8Unorm_sRGB` of `RGBA8Unorm`, `A8Unorm`, `R8Snorm` and `R8Uint` of `R8Unorm`, `R16Unorm` of `RG8Unorm`, "texture usage (0x01) doesn't specify MTLTextureUsagePixelFormatView (0x10)", and makes it where the usage adds `PixelFormatView`; plain Metal makes each, a blit out of it reading the texture's bytes; Apple's `makeTextureView` and `MTLTextureUsage.pixelFormatView` pages state the rest | 2: `crates/metal2vulkan-runtime/src/d3d11.rs (d3d11_plane_form)`, `crates/metal2vulkan-runtime/src/texture.rs (view)` | `-` |
| `MipmapFormat` | `BlitCommandEncoder::generate_mipmaps` of a texture of more than one level whose pixel format is not a colour-renderable, filterable one | every device (a public call's own check of its arguments) | `metal-measured`: Apple's `generateMipmaps(for:)` page: mipmap generation works only for textures with colour-renderable and colour-filterable pixel formats; Metal's API validation stops the others, measured on an Apple M3 Max and an M4 | 1: `crates/metal2vulkan-runtime/src/blit.rs (generate_mipmaps)` | `-` |
| `TextureCopyMismatch` | `BlitCommandEncoder::copy_from_texture` between textures of two pixel formats, or of two sample counts | every device (a public call's own check of its arguments) | `metal-measured`: an Apple M3 Max, macOS 27.0.1, probe `blit_copy_format_pairs.m` in the conformance crate: Metal's validation layer stops every pair of two formats it was given, sRGB, integer, float, channel order, depth and compressed pairs among them, with `[sourceTexture pixelFormat](...) must equal [destinationTexture pixelFormat](...)`, and a source of four samples into one of one with `[sourceTexture sampleCount](4) must equal [destinationTexture sampleCount](1)` | 2: `crates/metal2vulkan-runtime/src/blit.rs (texel_texture_copy)`, `crates/metal2vulkan-runtime/src/blit.rs (texture_copy)` | `-` |
| `AliasingCopy` | A blit copy between a texture placed in a heap (`Device::new_heap_texture`) and a resource whose memory meets the texture's, which the two then... | every device (a public call's own check of its arguments) | `metal-measured`: an Apple M3 Max, macOS 27.0.1, probe `overlapping_alias_copies.m` in the conformance crate: Metal's validation layer stops a copy between a buffer and a texture over its bytes in a placement heap, either way, and the region method between two textures over each other's bytes, over part of a level or all of it, with "blitting between aliasing resources is defined on a placement heap only when using a blit method copying entire texture surfaces, or when copying between buffers", and `copyFromTexture:toTexture:` between a heap texture and a linear texture over a heap buffer at its bytes with "blitting between aliasing resources is defined on a placement heap only when both textures are linear and have the same bufferBytesPerRow value"; with the layer off, each gives the source's bytes from before the copy | 2: `crates/metal2vulkan-runtime/src/blit.rs (buffer_copy)`, `crates/metal2vulkan-runtime/src/blit.rs (texture_copy)` | `-` |
| `AliasingCopy` | A blit copy between a texture placed in a heap (`Device::new_heap_texture`) and a resource whose memory meets the texture's, which the two then... | every device (a public call's own check of its arguments) | `metal-measured`: an Apple M3 Max, macOS 27.0.1, probe `overlapping_alias_copies.m` in the conformance crate: Metal's validation layer stops a copy between a buffer and a texture over its bytes in a placement heap, either way, and the region method between two textures over each other's bytes, over part of a level or all of it, with "blitting between aliasing resources is defined on a placement heap only when using a blit method copying entire texture surfaces, or when copying between buffers", and `copyFromTexture:toTexture:` between a heap texture and a linear texture over a heap buffer at its bytes with "blitting between aliasing resources is defined on a placement heap only when both textures are linear and have the same bufferBytesPerRow value"; with the layer off, each gives the source's bytes from before the copy | 3: `crates/metal2vulkan-runtime/src/blit.rs (buffer_copy)`, `crates/metal2vulkan-runtime/src/blit.rs (texture_copy)` (+1) | `-` |
| `ManagedTextureBytes` | A Managed texture's bytes the device cannot copy in place (`Device::new_managed_texture`) | every device (a public call's own check of its arguments) | `ours`: a buffer-to-image copy reads a place only so laid out, and the consumer's bytes are the place the copy reads | 5: `crates/metal2vulkan-runtime/src/texture.rs (check_places)`, `crates/metal2vulkan-runtime/src/texture.rs (named)` (+2) | `-` |
| `BufferTextureLayout` | A texture over a buffer (`Buffer::new_texture`) whose rows are not a whole number of texels apart or are closer than a row, whose offset is not a... | every device (a public call's own check of its arguments) | `ours`: a linear image and a copy read rows whole texels apart from a texel's start, and texels past the buffer would lie in memory it does not hold | 2: `crates/metal2vulkan-runtime/src/texture.rs (check_over)`, `crates/metal2vulkan-runtime/src/texture.rs (texel_texture)` | `-` |
| `TextureNotInPlace` | A texture over a buffer asked of `Buffer::new_texture_in_place` that `Buffer::new_texture` would make as the counted copy, an image of its own... | every device (a public call's own check of its arguments) | `ours`: the call makes a texture in place or none, so that the consumer keeps the bytes in a texture of its own where the device's linear image does not take them | 2: `crates/metal2vulkan-runtime/src/texture.rs (texture, 2 sites)` | `-` |
@@ -365,7 +365,7 @@ Columns:
| `TextureFormat` | A texture of a pixel format the runtime makes no image of on this device for the descriptor's usage | every device (a public call's own check of its arguments) | `ours`: the device's format query, or the identity domains' shaders read every texture through its view alone | 5: `crates/metal2vulkan-runtime/src/texture.rs (attachment_view)`, `crates/metal2vulkan-runtime/src/texture.rs (form)` (+3) | `-` |
| `MipmapFilter` | `BlitCommandEncoder::generate_mipmaps` of a texture whose image the device's blits do not filter | every device (a public call's own check of its arguments) | `ours`: the device's format query; the levels are the device's blit chain alone | 1: `crates/metal2vulkan-runtime/src/blit.rs (generate_mipmaps)` | `-` |
| `CubicSampler` | A sampler state whose minification or magnification filter is cubic (`Device::new_sampler_state`) | every device (a public call's own check of its arguments) | `ours`: the translator's identity domains do not filter bicubically, and Vulkan's cubic filter is not Metal's | 1: `crates/metal2vulkan-runtime/src/sampler.rs (new_sampler_state)` | `-` |
| `TextureBytes` | `Texture::replace_region`, `Texture::get_bytes` or a blit copy between a buffer and a texture (`BlitCommandEncoder::copy_from_buffer`) of a... | every device (a public call's own check of its arguments) | `ours`: no copy between such an image and bytes is built | 4: `crates/metal2vulkan-runtime/src/blit.rs (buffer_copy)`, `crates/metal2vulkan-runtime/src/blit.rs (with_option)` (+2) | `-` |
| `TextureBytes` | `Texture::replace_region`, `Texture::get_bytes`, a Managed texture's places or a blit copy between a buffer and a texture... | every device (a public call's own check of its arguments) | `ours`: no copy between such an image and bytes is built | 6: `crates/metal2vulkan-runtime/src/blit.rs (buffer_copy)`, `crates/metal2vulkan-runtime/src/blit.rs (with_option)` (+4) | `-` |
| `TextureCopy` | `BlitCommandEncoder::copy_from_texture` that the floor's `vkCmdCopyImage` does not make | every device (a public call's own check of its arguments) | `ours`: Vulkan 1.3 copies none of these with one command; each is built when a replay stream makes one | 1: `crates/metal2vulkan-runtime/src/blit.rs (texture_copy)` | `-` |
| `OverlappingCopy` | A blit copy whose source and destination share memory where no copy command orders it as from the source before the copy, which Metal leaves... | every device (a public call's own check of its arguments) | `ours`: no copy command reads bytes it writes, `VUID-vkCmdCopyImage-pRegions-00124` and its twins, and the device's layout of two heap textures leaves no cut; rows of two pitches that cross are built, in an order of rows from where they cross, when a replay stream or a walk counts one; the whole level between two heap textures is built through an image of the runtime's, counted, when a guest's run counts one | 2: `crates/metal2vulkan-runtime/src/blit.rs (buffer_copy)`, `crates/metal2vulkan-runtime/src/blit.rs (copy_from_texture)` | `-` |
| `TextureOverBuffer` | A texture over a buffer (`Buffer::new_texture`) the runtime does not make | every device (a public call's own check of its arguments) | `ours`: the in-place linear image and the copy form take one 2D color image, and a texture buffer's view the texel-buffer offset alignment of Vulkan 1.3 | 4: `crates/metal2vulkan-runtime/src/texture.rs (check_over)`, `crates/metal2vulkan-runtime/src/texture.rs (error)` (+2) | `-` |
@@ -584,14 +584,14 @@ Each refusal's sites, with the function that builds it.
- `rt:Refusal::TextureBytesPrivate`: `crates/metal2vulkan-runtime/src/texture.rs (copy)`
- `rt:Refusal::TextureRegion`: `crates/metal2vulkan-runtime/src/texture.rs (place)`
- `rt:Refusal::TextureBytesLayout`: `crates/metal2vulkan-runtime/src/texture.rs (copy)`
- `rt:Refusal::BufferCopyLayout`: `crates/metal2vulkan-runtime/src/blit.rs (buffer_copy)`
- `rt:Refusal::BufferCopyLayout`: `crates/metal2vulkan-runtime/src/blit.rs (buffer_copy)`; `crates/metal2vulkan-runtime/src/blit/samples.rs (check)`
- `rt:Refusal::FillRange`: `crates/metal2vulkan-runtime/src/blit.rs (fill_range)`
- `rt:Refusal::TextureViewRange`: `crates/metal2vulkan-runtime/src/texture.rs (view)`
- `rt:Refusal::TextureViewSlices`: `crates/metal2vulkan-runtime/src/texture.rs (view)`
- `rt:Refusal::TextureViewFormat`: `crates/metal2vulkan-runtime/src/d3d11.rs (d3d11_plane_form)`; `crates/metal2vulkan-runtime/src/texture.rs (view)`
- `rt:Refusal::MipmapFormat`: `crates/metal2vulkan-runtime/src/blit.rs (generate_mipmaps)`
- `rt:Refusal::TextureCopyMismatch`: `crates/metal2vulkan-runtime/src/blit.rs (texel_texture_copy)`; `crates/metal2vulkan-runtime/src/blit.rs (texture_copy)`
- `rt:Refusal::AliasingCopy`: `crates/metal2vulkan-runtime/src/blit.rs (buffer_copy)`; `crates/metal2vulkan-runtime/src/blit.rs (texture_copy)`
- `rt:Refusal::AliasingCopy`: `crates/metal2vulkan-runtime/src/blit.rs (buffer_copy)`; `crates/metal2vulkan-runtime/src/blit.rs (texture_copy)`; `crates/metal2vulkan-runtime/src/blit/samples.rs (check)`
- `rt:Refusal::ManagedTextureBytes`: `crates/metal2vulkan-runtime/src/texture.rs (check_places)`; `crates/metal2vulkan-runtime/src/texture.rs (named)`; `crates/metal2vulkan-runtime/src/texture.rs (named_host)`; `crates/metal2vulkan-runtime/src/texture.rs (upload_region, 2 sites)`
- `rt:Refusal::BufferTextureLayout`: `crates/metal2vulkan-runtime/src/texture.rs (check_over)`; `crates/metal2vulkan-runtime/src/texture.rs (texel_texture)`
- `rt:Refusal::TextureNotInPlace`: `crates/metal2vulkan-runtime/src/texture.rs (texture, 2 sites)`
@@ -661,7 +661,7 @@ Each refusal's sites, with the function that builds it.
- `rt:Gap::TextureFormat`: `crates/metal2vulkan-runtime/src/texture.rs (attachment_view)`; `crates/metal2vulkan-runtime/src/texture.rs (form)`; `crates/metal2vulkan-runtime/src/texture.rs (planned)`; `crates/metal2vulkan-runtime/src/texture.rs (texel_form)`; `crates/metal2vulkan-runtime/src/texture.rs (texel_texture)`
- `rt:Gap::MipmapFilter`: `crates/metal2vulkan-runtime/src/blit.rs (generate_mipmaps)`
- `rt:Gap::CubicSampler`: `crates/metal2vulkan-runtime/src/sampler.rs (new_sampler_state)`
- `rt:Gap::TextureBytes`: `crates/metal2vulkan-runtime/src/blit.rs (buffer_copy)`; `crates/metal2vulkan-runtime/src/blit.rs (with_option)`; `crates/metal2vulkan-runtime/src/texture.rs (check_places)`; `crates/metal2vulkan-runtime/src/texture.rs (copy)`
- `rt:Gap::TextureBytes`: `crates/metal2vulkan-runtime/src/blit.rs (buffer_copy)`; `crates/metal2vulkan-runtime/src/blit.rs (with_option)`; `crates/metal2vulkan-runtime/src/blit/samples.rs (aspect)`; `crates/metal2vulkan-runtime/src/blit/samples.rs (check)`; `crates/metal2vulkan-runtime/src/texture.rs (check_places)`; `crates/metal2vulkan-runtime/src/texture.rs (copy)`
- `rt:Gap::TextureCopy`: `crates/metal2vulkan-runtime/src/blit.rs (texture_copy)`
- `rt:Gap::OverlappingCopy`: `crates/metal2vulkan-runtime/src/blit.rs (buffer_copy)`; `crates/metal2vulkan-runtime/src/blit.rs (copy_from_texture)`
- `rt:Gap::TextureOverBuffer`: `crates/metal2vulkan-runtime/src/texture.rs (check_over)`; `crates/metal2vulkan-runtime/src/texture.rs (error)`; `crates/metal2vulkan-runtime/src/texture.rs (over_texel)`; `crates/metal2vulkan-runtime/src/texture.rs (texel_texture)`