diff --git a/crates/metal2vulkan-conformance/known-gaps.tsv b/crates/metal2vulkan-conformance/known-gaps.tsv index 998fef8c1..8e07ec9b7 100644 --- a/crates/metal2vulkan-conformance/known-gaps.tsv +++ b/crates/metal2vulkan-conformance/known-gaps.tsv @@ -131,7 +131,6 @@ format-footprints-packed-without-textures * refused case/MTLPixelFormatR10Unorm_ # (its `storageMode` 3 on an M3 Max) and `new_buffer` refuses the mode, which no Vulkan buffer # has. The heap size query's memoryless gap is closed -- it answers Metal's uncompressed model # (`texture/heap.rs`'s `memoryless_answer`) -- so only the creator's rows are left. -texture-pairs-storage-crossings Apple M3 Max refused case/MTLPixelFormatRGBA8Unorm/TextureBuffer/64x1x1/levels-1/samples-1/slices-1/usage-0x1/memoryless/texture Err(Error::Invalid("invalid use of new_buffer: StorageMode")) Plain Metal makes a MTLStorageModeMemoryless TEXTURE BUFFER and the runtime refuses it `Invalid(StorageMode)` out of `new_buffer`, so the one texture type whose texels are a buffer's bytes is the one type whose memoryless form we have not got. Measured on an Apple M3 Max under macOS 27.0.1, plain Metal, a throwaway forked process: a TextureBuffer descriptor of 64 RGBA8Unorm texels, usage RenderTarget or ShaderRead, storage Memoryless answers a heap footprint of 256 bytes at an alignment of 16 - the same two numbers every other storage mode answers for that descriptor, so the mode changes nothing about a texture buffer's layout - and `newTextureWithDescriptor:` answers a texture whose storageMode is 3, mipmapLevelCount is its descriptor's and usage is echoed back. A distinct gap from the heap size query's memoryless gap, which is closed -- the query answers Metal's uncompressed model (`texture/heap.rs`'s `memoryless_answer`): this one is the CREATOR refusing, and it refuses deeper - a texture buffer is made over a buffer (crates/metal2vulkan-runtime/src/buffer.rs, the `StorageMode::Memoryless => Err(invalid(call, Problem::StorageMode))` arm), and a memoryless buffer is a thing the runtime has no backing for at all, where Vulkan's nearest form is a lazily allocated allocation that the texture path already uses for a memoryless attachment (`texture/attachment_stand_in.rs`). So the fix is not the size query's: it is a memoryless backing for the buffer a texture buffer lies over, or a texture-buffer creator that does not go through `new_buffer` for this mode. Nothing in this tree says what a memoryless texture buffer's texels do - they cannot be read by the host and no pass targets a texture buffer - so what a fix owes beyond making the object and answering its getters is itself unmeasured, and measuring it is part of the work. Scoped to every venue: the refusal is in the runtime's own creator, before any device call. Open: on the orchestrator's todo list as runtime work. half-texel-nans-r16f RADV divergent case/words/nearest-sample 515 elements differ (U16), the largest difference 33279 Metal's `texture2d` never widens, so a 16-bit float texel's NaN comes back as its own bits (verified: this case's own recording of plain Metal on an M3 Max, macOS 27.0.1). Ours reads the image as `f32` lanes and rounds them (`lower::texture::metal_texel_nans` keeps the device's decode for a half-channel class, which is exact only on a device that widens a half texel exactly), and this device's **sampler** canonicalizes a 16-bit float texel's NaN to 0xFFC00000, its own negative quiet NaN, so every NaN lane of a nearest sample reads 0xFE00 where Metal reads the texel's code. Its image **loads** keep the texel's bits, so `case/words/read` and `case/words/read-through-sample` are exact here, where all three sites differ on MoltenVK. The runtime announces `device-nan-encoding` for it. Open: read a 16-bit float texture's `half` result through an unsigned-integer alias of the image, the read side of the `StorageImageClass::HalfBits` write path, so no device decode sees the texel; on the orchestrator's todo list. half-texel-nans-rg16f RADV divergent case/words/nearest-sample 1025 elements differ (U16), the largest difference 33279 Metal's `texture2d` never widens, so a 16-bit float texel's NaN comes back as its own bits (verified: this case's own recording of plain Metal on an M3 Max, macOS 27.0.1). Ours reads the image as `f32` lanes and rounds them (`lower::texture::metal_texel_nans` keeps the device's decode for a half-channel class, which is exact only on a device that widens a half texel exactly), and this device's **sampler** canonicalizes a 16-bit float texel's NaN to 0xFFC00000, its own negative quiet NaN, so every NaN lane of a nearest sample reads 0xFE00 where Metal reads the texel's code. Its image **loads** keep the texel's bits, so `case/words/read` and `case/words/read-through-sample` are exact here, where all three sites differ on MoltenVK. The runtime announces `device-nan-encoding` for it. Open: read a 16-bit float texture's `half` result through an unsigned-integer alias of the image, the read side of the `StorageImageClass::HalfBits` write path, so no device decode sees the texel; on the orchestrator's todo list. half-texel-nans-rgba16f RADV divergent case/words/nearest-sample 2045 elements differ (U16), the largest difference 33279 Metal's `texture2d` never widens, so a 16-bit float texel's NaN comes back as its own bits (verified: this case's own recording of plain Metal on an M3 Max, macOS 27.0.1). Ours reads the image as `f32` lanes and rounds them (`lower::texture::metal_texel_nans` keeps the device's decode for a half-channel class, which is exact only on a device that widens a half texel exactly), and this device's **sampler** canonicalizes a 16-bit float texel's NaN to 0xFFC00000, its own negative quiet NaN, so every NaN lane of a nearest sample reads 0xFE00 where Metal reads the texel's code. Its image **loads** keep the texel's bits, so `case/words/read` and `case/words/read-through-sample` are exact here, where all three sites differ on MoltenVK. The runtime announces `device-nan-encoding` for it. Open: read a 16-bit float texture's `half` result through an unsigned-integer alias of the image, the read side of the `StorageImageClass::HalfBits` write path, so no device decode sees the texel; on the orchestrator's todo list. @@ -142,8 +141,6 @@ primitive-type-restart-indices NVIDIA GeForce RTX 5080 Laptop GPU divergent case primitive-type-restart-indices NVIDIA GeForce RTX 5080 Laptop GPU divergent case/MTLPrimitiveTypeLine/MTLIndexTypeUInt32/texels 2 elements differ (U32), the largest difference 4 Metal rasterizes a line by the diamond-exit rule and this driver's Bresenham mode breaks one tie the other way. The line of vertices 0 and 1 runs exactly through the boundary point (3.5, 1.0), a vertex of the diamonds of both pixels either side of it: Metal draws the lower pixel (row 1 column 3) and leaves row 0 column 3 at the pass's clear, and this driver draws row 0 column 3 and leaves row 1 column 3. Those two texels, and nothing else, are the whole of each cell's difference -- the mark word alone, since the fragment's vertex id is 0 either way. Vulkan's Bresenham diamond is the open set |p - x| + |q - y| < 0.5, so a line that only touches a vertex exits no diamond and the specification requires no fragment for either pixel; both choices conform, and llvmpipe (LLVM 23.1.1, Mesa 26.2.4) makes Metal's. The runtime already asks every line-rasterizing pipeline for VK_LINE_RASTERIZATION_MODE_BRESENHAM_EXT (`pipeline/graphics.rs`), which is what took these four cells from 7, 7, 5 and 13 texels to these two: without it a strictLines device covers the whole rectangle of the line's width. There is no Vulkan control over the tie, so this is the driver's own and not the runtime's. RADV and ANV unrun. docs/FAST-PATHS.md carries the gap. primitive-type-restart-indices NVIDIA GeForce RTX 5080 Laptop GPU divergent case/MTLPrimitiveTypeLineStrip/MTLIndexTypeUInt16/texels 2 elements differ (U32), the largest difference 5 Metal rasterizes a line by the diamond-exit rule and this driver's Bresenham mode breaks one tie the other way. The line of vertices 0 and 1 runs exactly through the boundary point (3.5, 1.0), a vertex of the diamonds of both pixels either side of it: Metal draws the lower pixel (row 1 column 3) and leaves row 0 column 3 at the pass's clear, and this driver draws row 0 column 3 and leaves row 1 column 3. Those two texels, and nothing else, are the whole of each cell's difference -- the mark word alone, since the fragment's vertex id is 0 either way. Vulkan's Bresenham diamond is the open set |p - x| + |q - y| < 0.5, so a line that only touches a vertex exits no diamond and the specification requires no fragment for either pixel; both choices conform, and llvmpipe (LLVM 23.1.1, Mesa 26.2.4) makes Metal's. The runtime already asks every line-rasterizing pipeline for VK_LINE_RASTERIZATION_MODE_BRESENHAM_EXT (`pipeline/graphics.rs`), which is what took these four cells from 7, 7, 5 and 13 texels to these two: without it a strictLines device covers the whole rectangle of the line's width. There is no Vulkan control over the tie, so this is the driver's own and not the runtime's. RADV and ANV unrun. docs/FAST-PATHS.md carries the gap. primitive-type-restart-indices NVIDIA GeForce RTX 5080 Laptop GPU divergent case/MTLPrimitiveTypeLineStrip/MTLIndexTypeUInt32/texels 2 elements differ (U32), the largest difference 6 Metal rasterizes a line by the diamond-exit rule and this driver's Bresenham mode breaks one tie the other way. The line of vertices 0 and 1 runs exactly through the boundary point (3.5, 1.0), a vertex of the diamonds of both pixels either side of it: Metal draws the lower pixel (row 1 column 3) and leaves row 0 column 3 at the pass's clear, and this driver draws row 0 column 3 and leaves row 1 column 3. Those two texels, and nothing else, are the whole of each cell's difference -- the mark word alone, since the fragment's vertex id is 0 either way. Vulkan's Bresenham diamond is the open set |p - x| + |q - y| < 0.5, so a line that only touches a vertex exits no diamond and the specification requires no fragment for either pixel; both choices conform, and llvmpipe (LLVM 23.1.1, Mesa 26.2.4) makes Metal's. The runtime already asks every line-rasterizing pipeline for VK_LINE_RASTERIZATION_MODE_BRESENHAM_EXT (`pipeline/graphics.rs`), which is what took these four cells from 7, 7, 5 and 13 texels to these two: without it a strictLines device covers the whole rectangle of the line's width. There is no Vulkan control over the tie, so this is the driver's own and not the runtime's. RADV and ANV unrun. docs/FAST-PATHS.md carries the gap. -texture-pairs-storage-crossings llvmpipe refused case/MTLPixelFormatRGBA8Unorm/TextureBuffer/64x1x1/levels-1/samples-1/slices-1/usage-0x1/memoryless/texture Err(Error::Invalid("invalid use of new_buffer: StorageMode")) Plain Metal makes a MTLStorageModeMemoryless TEXTURE BUFFER and the runtime refuses it `Invalid(StorageMode)` out of `new_buffer`, so the one texture type whose texels are a buffer's bytes is the one type whose memoryless form we have not got. What Metal does was measured on an Apple M3 Max under macOS 27.0.1, plain Metal, a throwaway forked process: a TextureBuffer descriptor of 64 RGBA8Unorm texels, usage RenderTarget or ShaderRead, storage Memoryless answers a heap footprint of 256 bytes at an alignment of 16 -- the same two numbers every other storage mode answers for that descriptor -- and `newTextureWithDescriptor:` answers a texture whose storageMode is 3. This is a distinct gap from the heap size query's memoryless gap, which is closed -- the query answers Metal's uncompressed model (`texture/heap.rs`'s `memoryless_answer`): the CREATOR refuses, and deeper -- a texture buffer is made over a buffer, and the `StorageMode::Memoryless => Err(invalid(call, Problem::StorageMode))` arm in crates/metal2vulkan-runtime/src/buffer.rs has no memoryless backing to give it, where Vulkan's nearest form is the lazily allocated allocation the texture path already uses for a memoryless attachment (`texture/attachment_stand_in.rs`). So the fix is not the size query's: it is a memoryless backing for the buffer a texture buffer lies over, or a texture-buffer creator that does not go through `new_buffer` for this mode. What a memoryless texture buffer's texels do is itself unmeasured -- the host cannot read them and no pass targets a texture buffer -- and measuring it is part of the work. The refusal is in the runtime's own creator before any device call, and this row records it on this venue, which is where this run measured it. Open: runtime work on the orchestrator's todo list. -texture-pairs-storage-crossings NVIDIA GeForce RTX 5080 Laptop GPU refused case/MTLPixelFormatRGBA8Unorm/TextureBuffer/64x1x1/levels-1/samples-1/slices-1/usage-0x1/memoryless/texture Err(Error::Invalid("invalid use of new_buffer: StorageMode")) Plain Metal makes a MTLStorageModeMemoryless TEXTURE BUFFER and the runtime refuses it `Invalid(StorageMode)` out of `new_buffer`, so the one texture type whose texels are a buffer's bytes is the one type whose memoryless form we have not got. What Metal does was measured on an Apple M3 Max under macOS 27.0.1, plain Metal, a throwaway forked process: a TextureBuffer descriptor of 64 RGBA8Unorm texels, usage RenderTarget or ShaderRead, storage Memoryless answers a heap footprint of 256 bytes at an alignment of 16 -- the same two numbers every other storage mode answers for that descriptor -- and `newTextureWithDescriptor:` answers a texture whose storageMode is 3. This is a distinct gap from the heap size query's memoryless gap, which is closed -- the query answers Metal's uncompressed model (`texture/heap.rs`'s `memoryless_answer`): the CREATOR refuses, and deeper -- a texture buffer is made over a buffer, and the `StorageMode::Memoryless => Err(invalid(call, Problem::StorageMode))` arm in crates/metal2vulkan-runtime/src/buffer.rs has no memoryless backing to give it, where Vulkan's nearest form is the lazily allocated allocation the texture path already uses for a memoryless attachment (`texture/attachment_stand_in.rs`). So the fix is not the size query's: it is a memoryless backing for the buffer a texture buffer lies over, or a texture-buffer creator that does not go through `new_buffer` for this mode. What a memoryless texture buffer's texels do is itself unmeasured -- the host cannot read them and no pass targets a texture buffer -- and measuring it is part of the work. The refusal is in the runtime's own creator before any device call, and this row records it on this venue, which is where this run measured it. Open: runtime work on the orchestrator's todo list. a2c-on-1-alpha-50 llvmpipe divergent case/drawn/texel 4 elements differ (U8), the largest difference 191 Metal's alpha-to-coverage covers `floor(alpha * rasterSampleCount)` samples, so at ONE sample an alpha of 0.5 covers NO sample and the destination survives the draw untouched; we store the fragment instead. Metal's rule is measured, and the one-sample row is what pins `floor` against round-to-nearest: this case's own committed recording, taken on an Apple M3 Max under macOS 27.0.1, holds the destination at every channel (the first differing element is Metal 255 against our 64, the fragment's own 0.25 channel as a code), and the four elements of the site are the one texel's four channels with a bound of 191. So this is not a rounding of any kind: a whole fragment is stored where Metal stores nothing. The cause is that we hand the field to the device as `VkPipelineMultisampleStateCreateInfo::alphaToCoverageEnable` and Vulkan leaves the alpha-to-coverage mapping implementation-defined, so the device rounds where Metal floors, and at one sample the two rules disagree about the whole pixel. The exact form is ours to compute: derive the coverage from the output alpha in the fragment function by Metal's floor rule and write it as the sample mask, ANDed with a mask the fragment already writes (which this family measured Metal to AND, and which a device-computed coverage cannot honour in that order), rather than enabling the device's field. That is translator and pipeline work and it changes every alpha-to-coverage pipeline's module. Open: on the orchestrator's todo list. a2c-on-1-alpha-50 NVIDIA GeForce RTX 5080 Laptop GPU divergent case/drawn/texel 4 elements differ (U8), the largest difference 191 Metal's alpha-to-coverage covers `floor(alpha * rasterSampleCount)` samples, so at ONE sample an alpha of 0.5 covers NO sample and the destination survives the draw untouched; we store the fragment instead. Metal's rule is measured, and the one-sample row is what pins `floor` against round-to-nearest: this case's own committed recording, taken on an Apple M3 Max under macOS 27.0.1, holds the destination at every channel (the first differing element is Metal 255 against our 64, the fragment's own 0.25 channel as a code), and the four elements of the site are the one texel's four channels with a bound of 191. So this is not a rounding of any kind: a whole fragment is stored where Metal stores nothing. The cause is that we hand the field to the device as `VkPipelineMultisampleStateCreateInfo::alphaToCoverageEnable` and Vulkan leaves the alpha-to-coverage mapping implementation-defined, so the device rounds where Metal floors, and at one sample the two rules disagree about the whole pixel. The exact form is ours to compute: derive the coverage from the output alpha in the fragment function by Metal's floor rule and write it as the sample mask, ANDed with a mask the fragment already writes (which this family measured Metal to AND, and which a device-computed coverage cannot honour in that order), rather than enabling the device's field. That is translator and pipeline work and it changes every alpha-to-coverage pipeline's module. Open: on the orchestrator's todo list. a2one-off-1-blend-source-alpha NVIDIA GeForce RTX 5080 Laptop GPU divergent case/drawn/texel 2 elements differ (U8), the largest difference 1 Metal's stored code and ours differ by one at this site, in a draw whose blend reads the source alpha with `alphaToOneEnabled` set and clear. The cause is established and is not half precision: Metal's compiler folds the attachment's blend and its format conversion into the fragment function under fast math, rounding the SOURCE product to the attachment's precision and carrying the DESTINATION product into the sum unrounded -- `round(round(Sf*S) + Df*D)` -- where we leave the blend to the device's fixed-function unit and so compute the mirror image, and the pipeline records `PrecisionNote::HalfOutputFastMathBlend` for it (crates/metal2vulkan/src/pipeline/color_writes.rs, `StageIo::half_fast_colors` in pipeline/stage_io.rs). That rule was measured word by word on an Apple M3 Max (macOS 27.0.1) from this family's own committed recordings, and the file's Apple M3 Max rows carry the measurement. The fix is to fold the blend into the fragment function as Metal's compiler does, computing the attachment's own precision inside the shader; that needs the destination value in the module and moves every such pipeline, so it is translator and pipeline work. `half-output-fast-math-blend`'s own definition in pipeline/artifact.rs says validation derives no tolerance from it, so a tolerance here would be the suite overruling the contract under test and the row stays divergent. Alpha-to-one itself is exact here -- the field's own cell, the stored colour moving from the source blended at 0.5 to the source alone, holds on both legs -- so what is left is the one-code rounding of the blend, and the `-off-` leg diverging too is what says the alpha-to-one field is not in it. Open: translator and pipeline work, on the orchestrator's todo list. diff --git a/crates/metal2vulkan-conformance/src/cases/texture_descriptor_pairs.rs b/crates/metal2vulkan-conformance/src/cases/texture_descriptor_pairs.rs index 2122e1858..71ba730ec 100644 --- a/crates/metal2vulkan-conformance/src/cases/texture_descriptor_pairs.rs +++ b/crates/metal2vulkan-conformance/src/cases/texture_descriptor_pairs.rs @@ -603,6 +603,31 @@ impl Case for DescriptorPairs { // firing for this row alone, on the 5080. named.push(crate::replay::shared_memory_notice()); } + + // A table that asks for a texture of a memoryless TEXTURE BUFFER descriptor, which plain + // Metal makes: its texels are a buffer's bytes, and no Vulkan buffer takes memory lazily, + // so the runtime lies over a `Private` buffer of the row's bytes and says so. Metal + // announces nothing, because the memory is its own business, so the notice is a difference + // and this declaration is what accounts for it. + // + // It loosens no value. Every getter of the row compares exactly with Metal's -- the + // texture answers the descriptor's memoryless mode as Metal's does -- and the whole of + // what the declaration covers is the announcement. The cost is bytes nothing reaches: the + // runtime refuses every use of a memoryless texture, as Metal's validation stops every one + // but as a render pass's attachment, which no texture buffer is. + // + // Selected by the table's own descriptors and not by the case's name, so a table that + // gains such a row declares it and one that loses it stops declaring it. + let memoryless_texture_buffer = self.asks == Asks::FootprintAndGetters + && (self.queries.iter()).any(|query| { + query.texture_type == TextureType::TextureBuffer + && query.storage == Storage::Memoryless + }); + if memoryless_texture_buffer { + named.push(crate::replay::notice_allowance( + metal2vulkan_runtime::Degradation::MemorylessTextureBuffer.code(), + )); + } named } diff --git a/crates/metal2vulkan-runtime/src/buffer_texture.rs b/crates/metal2vulkan-runtime/src/buffer_texture.rs index 5aea21d6d..a8cc8373a 100644 --- a/crates/metal2vulkan-runtime/src/buffer_texture.rs +++ b/crates/metal2vulkan-runtime/src/buffer_texture.rs @@ -872,6 +872,15 @@ impl Device { /// `newTextureWithDescriptor:` of a texture buffer (`layout`, checked from `descriptor`): a /// texture buffer over a new buffer of the descriptor's options, as long as its texels; /// `newSharedTextureWithDescriptor:` of one where `home` is `Shared`. + /// + /// A `Memoryless` descriptor, of which plain Metal makes a texture (an Apple M3 Max under + /// macOS 27.0.1: a 64-texel `RGBA8Unorm` texture buffer of `ShaderRead` usage answers + /// `storageMode` 3, its other getters its descriptor's), lies over a `Private` buffer: no + /// Vulkan buffer takes memory lazily. The texture answers the descriptor's mode, and the + /// runtime refuses every use of it ([`Texture::check_not_memoryless`]), as Metal's validation + /// stops every use of a memoryless texture but as a render pass's attachment, which no + /// texture buffer is. Announced `memoryless-texture-buffer`: the bytes are memory Metal + /// spends none of. pub(super) fn new_texture_buffer( &self, descriptor: &TextureDescriptor, @@ -880,7 +889,22 @@ impl Device { home: TexelsHome, ) -> Result { let row_bytes = texture_buffer_bytes(layout)?; - let buffer = self.new_buffer(row_bytes, descriptor.resource_options)?; + let options = descriptor.resource_options; + let bytes = match options.storage_mode()? { + StorageMode::Memoryless => { + self.degrade(Degradation::MemorylessTextureBuffer, || { + let object = format!( + "a memoryless {:?} texture buffer of {} texels", + layout.pixel_format, layout.extent[0] + ); + let why = format!("a Private buffer of its {row_bytes} bytes of texels"); + (object, why) + }); + options.with_storage_mode(StorageMode::Private) + } + _ => options, + }; + let buffer = self.new_buffer(row_bytes, bytes)?; texture_buffer_over(buffer, descriptor, layout, id_use, home) } } @@ -922,6 +946,15 @@ pub(super) fn texture_buffer_over( }; let mut texels = Texels::texture_buffer(buffer, placed, texel_bytes, descriptor)?; texels.home = home; + // A memoryless texture buffer lies over a `Private` buffer (`Device::new_texture_buffer`) and + // answers `Memoryless`, as Metal's does, with the CPU cache and hazard tracking modes the + // buffer resolved: Metal resolves a texture buffer's default tracking to tracked (an M3 Max + // answers `hazardTrackingMode` 2 for a memoryless one). Every other texture buffer takes its + // buffer's options whole, which `Buffer::new_texture` has already made the descriptor's. + if descriptor.resource_options.storage_mode()? == StorageMode::Memoryless { + let options = texels.options.with_storage_mode(StorageMode::Memoryless); + texels = texels.with_options(options); + } Ok(texels.texture(descriptor, layout, id_use)) } diff --git a/crates/metal2vulkan-runtime/src/degradation.rs b/crates/metal2vulkan-runtime/src/degradation.rs index cd1513857..40b4ee4ea 100644 --- a/crates/metal2vulkan-runtime/src/degradation.rs +++ b/crates/metal2vulkan-runtime/src/degradation.rs @@ -574,6 +574,16 @@ degradations! { "a scratch image, a color's kept by its command queue for its passes of that shape \ and a depth or stencil one's per pass: memory, and the bandwidth to write and read \ it, that Metal does not spend on a memoryless texture"; + /// A memoryless texture buffer (`newTextureWithDescriptor:` of a `TextureBuffer` + /// descriptor of `MTLStorageModeMemoryless`, which plain Metal makes), whose texels are a + /// buffer's bytes (`buffer_texture.rs`): the buffer is a `Private` one of the device's, + /// since no Vulkan buffer takes memory lazily. The texture answers the descriptor's + /// memoryless mode, as Metal's does, and the runtime refuses every use of it, as Metal's + /// validation stops every use of a memoryless texture but as a render pass's attachment, + /// which no texture buffer is (`Texture::check_not_memoryless`). + MemorylessTextureBuffer = "memoryless-texture-buffer", Performance, + "a Private buffer of the texture's row of texels: memory Metal spends none of on a \ + memoryless texture. Nothing reaches those bytes"; /// A color render target that a framebuffer fetch reads lacks the usage the fetch's form /// needs, so its pass renders into a scratch image that has it /// (`attachment_stand_in.rs`): `STORAGE` in the pixel interlock, or for its sample @@ -1777,13 +1787,14 @@ degradations! { idle at a resize) holds their submissions until it returns, where Metal's present \ holds no other queue"; /// A heap texture sized or made (`heap_texture_size_and_align`, `Heap::new_texture`) - /// whose image on the device takes more of a heap than Metal's answer, which the runtime - /// models (`texture/heap_tiled.rs`): more bytes, or a coarser alignment (the image's own, - /// at least `bufferImageGranularity`, its size in whole granularity pages). No image - /// binds at Metal's offsets then, so the runtime answers the device's (the consumer's - /// report: on NVIDIA 615.71.09, the RTX 3090, a 4 x 4 `Depth32Float` texture answered - /// 1024 bytes, where Metal answers 128). Not where `optimized-depth-stencil-texture` - /// says why. + /// whose images on the device need more bytes or a coarser alignment than Metal's answer, + /// which the runtime models (`texture/heap_tiled.rs`), and which no shadow of the + /// texture's bytes holds it to (`texture/heap::held_to_metal`): not a multisample texture, + /// whose image lies in memory of its own, nor one whose planes or Metal's tiles fit its + /// bytes, and not one held with a depth twin. The answer is then the larger of the two, + /// since no image binds at Metal's offsets. Every other such texture answers Metal's + /// numbers and announces nothing here. Not where `optimized-depth-stencil-texture` says + /// why. HeapTextureLargerThanMetal = "heap-texture-larger-than-metal", Precision, "heap_texture_size_and_align answers more bytes or a coarser alignment than Metal's, \ so a heap sized by Metal's answers holds fewer such textures, and they lie at other \ diff --git a/crates/metal2vulkan-runtime/src/tests/degradation_codes.txt b/crates/metal2vulkan-runtime/src/tests/degradation_codes.txt index 088f062d3..d7264fe41 100644 --- a/crates/metal2vulkan-runtime/src/tests/degradation_codes.txt +++ b/crates/metal2vulkan-runtime/src/tests/degradation_codes.txt @@ -117,6 +117,7 @@ metal2vulkan-degrade-linear-attachment-copies metal2vulkan-degrade-linked-sampler-numbering metal2vulkan-degrade-looped-sample-outputs metal2vulkan-degrade-memoryless-backed +metal2vulkan-degrade-memoryless-texture-buffer metal2vulkan-degrade-metal-level-below-host metal2vulkan-degrade-metal-level-not-macos metal2vulkan-degrade-mipmap-tie-rounding diff --git a/crates/metal2vulkan-runtime/src/texture/heap.rs b/crates/metal2vulkan-runtime/src/texture/heap.rs index a2db13a30..b73941a03 100644 --- a/crates/metal2vulkan-runtime/src/texture/heap.rs +++ b/crates/metal2vulkan-runtime/src/texture/heap.rs @@ -1725,7 +1725,8 @@ impl Device { /// Announce that a heap texture of `layout` takes `answer` of a heap for `call`, more bytes /// or a coarser alignment than Metal's modelled answer `metal` - /// (`Degradation::HeapTextureLargerThanMetal`): its device's image needs them. + /// (`Degradation::HeapTextureLargerThanMetal`): its images need them and no shadow of the + /// texture's bytes holds it to Metal's answer ([`held_to_metal`]). fn degrade_past_metal_size( &self, call: &'static str, @@ -1740,9 +1741,10 @@ impl Device { layout.pixel_format, layout.texture_type, layout.levels, layout.samples ); let why = format!( - "the device's image takes {:#x} bytes at an alignment of {:#x} (its own, at \ - least bufferImageGranularity, in whole granularity pages), where Metal answers \ - {:#x} at {:#x}: the answer is the device's", + "the device's images take {:#x} bytes at an alignment of {:#x} (their own, in \ + whole chunks of compression data where the driver writes them past an image's \ + size), where Metal answers {:#x} at {:#x}, and no shadow of the texture's bytes \ + holds it to Metal's: the answer is the device's", answer.size, answer.align, metal.size, metal.align ); (object, why) diff --git a/docs/API.md b/docs/API.md index 860251dbd..38f1e1098 100644 --- a/docs/API.md +++ b/docs/API.md @@ -1410,6 +1410,14 @@ fast forms record, and each `PrecisionNote`'s rustdoc states its bound. attachment's format, samples and size. Cost: a scratch image, a color's kept by its command queue for its passes of that shape and a depth or stencil one's per pass: memory, and the bandwidth to write and read it, that Metal does not spend on a memoryless texture. +- `metal2vulkan-degrade-memoryless-texture-buffer` (performance). `MemorylessTextureBuffer`: A + memoryless texture buffer (`newTextureWithDescriptor:` of a `TextureBuffer` descriptor of + `MTLStorageModeMemoryless`, which plain Metal makes), whose texels are a buffer's bytes: the + buffer is a `Private` one of the device's, since no Vulkan buffer takes memory lazily. The + texture answers the descriptor's memoryless mode, as Metal's does, and the runtime refuses every + use of it, as Metal's validation stops every use of a memoryless texture but as a render pass's + attachment, which no texture buffer is. Cost: a Private buffer of the texture's row of texels: + memory Metal spends none of on a memoryless texture. Nothing reaches those bytes. - `metal2vulkan-degrade-fetch-through-scratch` (performance). `FetchThroughScratch`: A color render target that a framebuffer fetch reads lacks the usage the fetch's form needs, so its pass renders into a scratch image that has it: `STORAGE` in the pixel interlock, or for its sample planes @@ -2259,12 +2267,13 @@ fast forms record, and each `PrecisionNote`'s rustdoc states its bound. on a window the compositor does not show, a wait for the queue's idle at a resize) holds their submissions until it returns, where Metal's present holds no other queue. - `metal2vulkan-degrade-heap-texture-larger-than-metal` (precision). `HeapTextureLargerThanMetal`: A - heap texture sized or made (`heap_texture_size_and_align`, `Heap::new_texture`) whose image on the - device needs more bytes or a coarser alignment than Metal's answer, which the runtime models, and - which no shadow of the texture's bytes holds it to (`texture/heap.rs`: not a multisample texture, - whose image lies in memory of its own, nor one whose planes or Metal's tiles fit its bytes, and - not a texture held with a depth twin). The answer is then the larger of the two. Every other such - texture answers Metal's numbers and announces nothing here. Cost: + heap texture sized or made (`heap_texture_size_and_align`, `Heap::new_texture`) whose images on the + device need more bytes or a coarser alignment than Metal's answer, which the runtime models, and + which no shadow of the texture's bytes holds it to: not a multisample texture, whose image lies in + memory of its own, nor one whose planes or Metal's tiles fit its bytes, and not one held with a + depth twin. The answer is then the larger of the two, since no image binds at Metal's offsets. + Every other such texture answers Metal's numbers and announces nothing here. Not where + `optimized-depth-stencil-texture` says why. Cost: heap_texture_size_and_align answers more bytes or a coarser alignment than Metal's, so a heap sized by Metal's answers holds fewer such textures, and they lie at other offsets; each texture keeps its own bytes. diff --git a/docs/CONFORMANCE-COVERAGE.md b/docs/CONFORMANCE-COVERAGE.md index a69e1e5ac..d4ff30233 100644 --- a/docs/CONFORMANCE-COVERAGE.md +++ b/docs/CONFORMANCE-COVERAGE.md @@ -43,7 +43,7 @@ Its limits, measured rather than asserted: | committed recordings | 1100 | | distinct SDK items the Metal leg reaches, of any status | 797 | | of those, reached only where this cannot name the family | 5 | -| ledger rows (a case whose gap is recorded) | 288 | +| ledger rows (a case whose gap is recorded) | 285 | | declared crossings of the option space (pairs put to Metal at once) | 24 | | declared crossings that are no pair of it (a boolean or numeric field, or one type in two slots) | 30 | @@ -2260,7 +2260,6 @@ A case whose difference from Metal is recorded rather than compared away. The le | `format-footprints-padded-wide-channels` | The runtime holds no image of the ten padded 10- and 12-bit display formats, so `heapTextureSizeAndAlignWithDescriptor:` -- CPU arithmetic over a descriptor, wh… | | `format-footprints-two-plane-ten-bit` | The runtime holds no image of the four two-plane RGB10A8_2P formats, so `heapTextureSizeAndAlignWithDescriptor:` -- CPU arithmetic over a descriptor, which Meta… | | `format-footprints-packed-without-textures` | The runtime holds no image of R10Unorm_PACKED and RG10Unorm_PACKED, whose texture Metal itself refuses, so `heapTextureSizeAndAlignWithDescriptor:` -- CPU arith… | -| `texture-pairs-storage-crossings` | Plain Metal makes a MTLStorageModeMemoryless TEXTURE BUFFER and the runtime refuses it `Invalid(StorageMode)` out of `new_buffer`, so the one texture type whose… | | `half-texel-nans-r16f` | Metal's `texture2d` never widens, so a 16-bit float texel's NaN comes back as its own bits (verified: this case's own recording of plain Metal on an M3 Ma… | | `half-texel-nans-rg16f` | Metal's `texture2d` never widens, so a 16-bit float texel's NaN comes back as its own bits (verified: this case's own recording of plain Metal on an M3 Ma… | | `half-texel-nans-rgba16f` | Metal's `texture2d` never widens, so a 16-bit float texel's NaN comes back as its own bits (verified: this case's own recording of plain Metal on an M3 Ma… | @@ -2271,8 +2270,6 @@ A case whose difference from Metal is recorded rather than compared away. The le | `primitive-type-restart-indices` | Metal rasterizes a line by the diamond-exit rule and this driver's Bresenham mode breaks one tie the other way. The line of vertices 0 and 1 runs exactly throug… | | `primitive-type-restart-indices` | Metal rasterizes a line by the diamond-exit rule and this driver's Bresenham mode breaks one tie the other way. The line of vertices 0 and 1 runs exactly throug… | | `primitive-type-restart-indices` | Metal rasterizes a line by the diamond-exit rule and this driver's Bresenham mode breaks one tie the other way. The line of vertices 0 and 1 runs exactly throug… | -| `texture-pairs-storage-crossings` | Plain Metal makes a MTLStorageModeMemoryless TEXTURE BUFFER and the runtime refuses it `Invalid(StorageMode)` out of `new_buffer`, so the one texture type whose… | -| `texture-pairs-storage-crossings` | Plain Metal makes a MTLStorageModeMemoryless TEXTURE BUFFER and the runtime refuses it `Invalid(StorageMode)` out of `new_buffer`, so the one texture type whose… | | `a2c-on-1-alpha-50` | Metal's alpha-to-coverage covers `floor(alpha * rasterSampleCount)` samples, so at ONE sample an alpha of 0.5 covers NO sample and the destination survives the … | | `a2c-on-1-alpha-50` | Metal's alpha-to-coverage covers `floor(alpha * rasterSampleCount)` samples, so at ONE sample an alpha of 0.5 covers NO sample and the destination survives the … | | `a2one-off-1-blend-source-alpha` | Metal's stored code and ours differ by one at this site, in a draw whose blend reads the source alpha with `alphaToOneEnabled` set and clear. The cause is estab… | diff --git a/docs/REFUSALS.md b/docs/REFUSALS.md index cc5c2ef9e..bdb4b0b9b 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 `a3eb88c96`. +Generated at `3e90b33db`. ## Totals @@ -163,13 +163,13 @@ Generated at `a3eb88c96`. | Variant | What it blocks | Where | Sites | Reach | |---|---|---|---|---| -| `Textures` | Textures and texture buffers | every device (runtime piece not built) | 9: `crates/metal2vulkan-runtime/src/blit_texture.rs:163`, `crates/metal2vulkan-runtime/src/buffer_texture.rs:1605` (+7) | `rare`: texture forms the runtime has not built (texture buffers of some forms, X24Stencil8 views) | +| `Textures` | Textures and texture buffers | every device (runtime piece not built) | 9: `crates/metal2vulkan-runtime/src/blit_texture.rs:163`, `crates/metal2vulkan-runtime/src/buffer_texture.rs:1638` (+7) | `rare`: texture forms the runtime has not built (texture buffers of some forms, X24Stencil8 views) | | `ResourceHeap` | The resource-ID heap, descriptor set 1 | every device (runtime piece not built) | 1: `crates/metal2vulkan-runtime/src/binding.rs:1982` | `rare`: the resource-ID heap's remaining forms | | `SparseHeaps` | Sparse heaps and their textures | every device (runtime piece not built) | 3: `crates/metal2vulkan-runtime/src/sparse/encoder.rs:442`, `crates/metal2vulkan-runtime/src/texture.rs:1708` (+1) | `rare`: sparse heaps | | `SparseTileMaps` | What the runtime's emulation of sparse textures does not build yet | every device (runtime piece not built) | 4: `crates/metal2vulkan-runtime/src/binding.rs:562`, `crates/metal2vulkan-runtime/src/sparse/texture.rs:43` (+2) | `rare`: sparse texture emulation's unbuilt pieces | | `HeapPastMaxBufferSize` | A heap larger than the device's `maxBufferSize`, which the device can allocate | every device (runtime piece not built) | 1: `crates/metal2vulkan-runtime/src/heap.rs:714` | `rare`: a heap past maxBufferSize | -| `HeapTextureAlignment` | A heap texture whose image needs an alignment past the heap memory's base alignment (256 KiB) | every device (runtime piece not built) | 1: `crates/metal2vulkan-runtime/src/texture/heap.rs:1095` | `rare`: a heap texture needing more than 256 KiB alignment | -| `HeapTextureMemory` | A heap texture whose image the heap's memory type does not take | every device (runtime piece not built) | 4: `crates/metal2vulkan-runtime/src/texture/heap.rs:1607`, `crates/metal2vulkan-runtime/src/texture/heap.rs:2151` (+2) | `app`: a heap texture the heap's memory type does not take | +| `HeapTextureAlignment` | A heap texture whose image needs an alignment past the heap memory's base alignment (256 KiB) | every device (runtime piece not built) | 1: `crates/metal2vulkan-runtime/src/texture/heap.rs:1151` | `rare`: a heap texture needing more than 256 KiB alignment | +| `HeapTextureMemory` | A heap texture whose image the heap's memory type does not take | every device (runtime piece not built) | 4: `crates/metal2vulkan-runtime/src/texture/heap.rs:1661`, `crates/metal2vulkan-runtime/src/texture/heap.rs:2209` (+2) | `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:523` | `none`: an ICB past one buffer | | `IndirectRenderCommands` | What indirect command buffers lack of their render commands | every device (runtime piece not built) | 15: `crates/metal2vulkan-runtime/src/compute.rs:1317`, `crates/metal2vulkan-runtime/src/compute.rs:1402` (+13) | `rare`: indirect render commands' remaining pieces | @@ -207,9 +207,9 @@ Generated at `a3eb88c96`. | `RateMapRegions` | A draw in a rate-mapped pass that the region path does not draw, for the compile layer's reason (`rate_mapped_pass.rs`) | every device (runtime piece not built) | 1: `crates/metal2vulkan-runtime/src/rate_mapped_pass.rs:479` | `rare`: draws in rate-mapped passes the region path does not draw | | `LayeredPass` | A layered render pass (`renderTargetArrayLength` 2 or more) that needs a step of one layer | every device (runtime piece not built) | 1: `crates/metal2vulkan-runtime/src/color_resolve.rs:928` | `rare`: layered passes needing a per-layer color resolve | | `OverlappingTextureCopies` | A blit copy between overlapping regions of one texture's texels (`copyFromTexture:...` with the source's region meeting the destination's, through... (not scheduled) | every device (runtime piece not built) | 1: `crates/metal2vulkan-runtime/src/blit_texture.rs:1354` | `rare`: overlapping texture copies (Metal races) | -| `RebindTextures` | `Buffer::rebind_bytes_no_copy` of a no-copy buffer with a live texture over its bytes, given memory at another offset in its page than the old | every device (runtime piece not built) | 5: `crates/metal2vulkan-runtime/src/buffer_descriptor.rs:637`, `crates/metal2vulkan-runtime/src/texture/heap.rs:2833` (+3) | `none`: a runtime extension's rebind with a live texture | +| `RebindTextures` | `Buffer::rebind_bytes_no_copy` of a no-copy buffer with a live texture over its bytes, given memory at another offset in its page than the old | every device (runtime piece not built) | 5: `crates/metal2vulkan-runtime/src/buffer_descriptor.rs:637`, `crates/metal2vulkan-runtime/src/texture/heap.rs:2891` (+3) | `none`: a runtime extension's rebind with a live texture | | `PvrtcBlockOrder` | A PVRTC texture's blocks in a Metal block order the runtime does not lay out | every device (runtime piece not built) | 1: `crates/metal2vulkan-runtime/src/texture.rs:5927` | `rare`: PVRTC regions off whole levels | -| `DecodedHeapTexture` | A heap's or a sparse heap's texture of an ASTC format on a device without that ASTC format (`astc.rs`), or a sparse heap's texture of an ETC2 or... | every device (runtime piece not built) | 4: `crates/metal2vulkan-runtime/src/texture.rs:1716`, `crates/metal2vulkan-runtime/src/texture/heap.rs:1298` (+2) | `app`: an ASTC texture in a heap on a device without ASTC | +| `DecodedHeapTexture` | A heap's or a sparse heap's texture of an ASTC format on a device without that ASTC format (`astc.rs`), or a sparse heap's texture of an ETC2 or... | every device (runtime piece not built) | 4: `crates/metal2vulkan-runtime/src/texture.rs:1716`, `crates/metal2vulkan-runtime/src/texture/heap.rs:1354` (+2) | `app`: an ASTC texture in a heap on a device without ASTC | | `VertexFetchPast4GiB` | A draw (`drawPrimitives:` and its forms, or an indirect command buffer's command) that may read a vertex attribute the pipeline fetches in its... | every device (runtime piece not built) | 1: `crates/metal2vulkan-runtime/src/render/vertex_reach.rs:72` | `rare`: vertex fetch past 4 GiB of a bind offset | | `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 | @@ -327,7 +327,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:3839 (patch_binding)`; `crates/metal2vulkan/src/bind/graphics.rs:3883 (patch_binding)`; `crates/metal2vulkan/src/bind/graphics.rs:3921 (patch_binding)`; `crates/metal2vulkan/src/bind/instantiate.rs:661 (bind_buffers)`; `crates/metal2vulkan/src/lower/access/function_table.rs:226 (select)`; `crates/metal2vulkan/src/lower/access/mod.rs:1184 (place_slots)` - `feature::Int64Arithmetic`: `crates/metal2vulkan/src/lower/arith/legal.rs:582 (check_scalar)`; `crates/metal2vulkan/src/lower/select.rs:1133 (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:523 (check_formats)`; `crates/metal2vulkan-runtime/src/blit_plan.rs:530 (check_formats)`; `crates/metal2vulkan-runtime/src/blit_plan.rs:545 (check_formats)`; `crates/metal2vulkan-runtime/src/blit_plan.rs:602 (pair_unit)`; `crates/metal2vulkan-runtime/src/blit_plan.rs:694 (plan_levels_copy)`; `crates/metal2vulkan-runtime/src/blit_texture.rs:2220 (through_buffer)`; `crates/metal2vulkan-runtime/src/buffer_texture.rs:524 (make_texture_over)`; `crates/metal2vulkan-runtime/src/buffer_texture.rs:598 (make_texture_over)`; `crates/metal2vulkan-runtime/src/buffer_texture.rs:630 (make_texture_over)`; `crates/metal2vulkan-runtime/src/buffer_texture.rs:893 (texture_buffer_texel)`; `crates/metal2vulkan-runtime/src/color_resolve.rs:172 (of_attachment)`; `crates/metal2vulkan-runtime/src/copy_plan.rs:219 (colour_unit)`; `crates/metal2vulkan-runtime/src/copy_plan.rs:247 (copy_unit)`; `crates/metal2vulkan-runtime/src/copy_plan.rs:293 (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:1632 (read_write_tier)`; `crates/metal2vulkan-runtime/src/families/formats.rs:1630 (sparse_missing)`; `crates/metal2vulkan-runtime/src/families/formats.rs:228 (none)`; `crates/metal2vulkan-runtime/src/families/formats.rs:272 (answers)`; `crates/metal2vulkan-runtime/src/families/formats.rs:292 (answers)`; `crates/metal2vulkan-runtime/src/families/formats.rs:307 (answers)`; `crates/metal2vulkan-runtime/src/families/formats.rs:354 (answers)`; `crates/metal2vulkan-runtime/src/families/formats.rs:393 (answers)`; `crates/metal2vulkan-runtime/src/families/formats.rs:476 (atomic_gap)`; `crates/metal2vulkan-runtime/src/families/formats.rs:510 (lacking)`; `crates/metal2vulkan-runtime/src/families/formats.rs:524 (unsupported)`; `crates/metal2vulkan-runtime/src/image_plan.rs:639 (plan_held)`; `crates/metal2vulkan-runtime/src/image_plan.rs:756 (plan_held)`; `crates/metal2vulkan-runtime/src/image_plan.rs:876 (plan_held)`; `crates/metal2vulkan-runtime/src/render.rs:2321 (viewing)`; `crates/metal2vulkan-runtime/src/render_pass.rs:1031 (check_target)`; `crates/metal2vulkan-runtime/src/render_pass.rs:1372 (layout)`; `crates/metal2vulkan-runtime/src/render_pass.rs:1712 (target)`; `crates/metal2vulkan-runtime/src/render_pass.rs:1805 (attachment_format)`; `crates/metal2vulkan-runtime/src/resolve.rs:418 (unmodelled_resolve)`; `crates/metal2vulkan-runtime/src/resolve.rs:620 (color)`; `crates/metal2vulkan-runtime/src/sample_copy.rs:182 (checked_twin)`; `crates/metal2vulkan-runtime/src/sample_copy.rs:210 (plan)`; `crates/metal2vulkan-runtime/src/sample_interleave.rs:303 (interleave_merge)`; `crates/metal2vulkan-runtime/src/shadow.rs:673 (unmerged)`; `crates/metal2vulkan-runtime/src/shadow.rs:680 (unmerged)`; `crates/metal2vulkan-runtime/src/texture.rs:2107 (texture_as)`; `crates/metal2vulkan-runtime/src/texture.rs:3672 (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:2041 (planned_heap_texture)`; `crates/metal2vulkan-runtime/src/texture/surface_two_planes.rs:80 (refused)`; `crates/metal2vulkan-runtime/src/texture/ycbcr_image.rs:190 (converted_storage)`; `crates/metal2vulkan-runtime/src/texture/ycbcr_image.rs:456 (ycbcr_write_shadow)`; `crates/metal2vulkan-runtime/src/texture/ycbcr_image.rs:565 (new_render_shadow)`; `crates/metal2vulkan-runtime/src/two_planes.rs:150 (unmeasured)`; `crates/metal2vulkan-runtime/src/view_plan.rs:381 (check_format)`; `crates/metal2vulkan-runtime/src/view_plan.rs:394 (check_format)`; `crates/metal2vulkan-runtime/src/view_plan.rs:401 (check_format)`; `crates/metal2vulkan-runtime/src/view_plan.rs:413 (check_format)`; `crates/metal2vulkan-runtime/src/view_plan.rs:423 (check_format)`; `crates/metal2vulkan-runtime/src/ycbcr.rs:309 (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:687 (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:1263 (extended_range_blend)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:1284 (extended_range_blend)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:1290 (extended_range_blend)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:1296 (extended_range_blend)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:1321 (extended_range_blend)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:1498 (plan)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:1971 (select_read)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:2078 (select_output)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:2105 (select_output)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:2124 (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:2371 (entry)`; `crates/metal2vulkan/src/lower/stage_io/plan.rs:912 (zeroed_output)`; `crates/metal2vulkan/src/lower/stage_io/word_color.rs:83 (plan)`; `crates/metal2vulkan/src/lower/texture/mod.rs:2366 (select)`; `crates/metal2vulkan/src/lower/texture/mod.rs:3008 (cross_class)`; `crates/metal2vulkan/src/lower/texture/mod.rs:3180 (select_image)`; `crates/metal2vulkan/src/lower/texture/mod.rs:3350 (select_read_as)`; `crates/metal2vulkan/src/lower/texture/mod.rs:3387 (select_read_as)`; `crates/metal2vulkan/src/lower/texture/mod.rs:3720 (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:1786 (vk_format)`; `crates/metal2vulkan/src/metal/format/mod.rs:1788 (vk_format)`; `crates/metal2vulkan/src/metal/format/mod.rs:1918 (candidates)`; `crates/metal2vulkan/src/metal/format/mod.rs:2887 (storage_choice_viewed)`; `crates/metal2vulkan/src/metal/format/mod.rs:2905 (held_storage_choice)`; `crates/metal2vulkan/src/metal/format/mod.rs:2913 (held_storage_choice)`; `crates/metal2vulkan/src/metal/format/mod.rs:3010 (held_storage_choice)`; `crates/metal2vulkan/src/pipeline/link/graphics.rs:1103 (extended_write_mask)`; `crates/metal2vulkan/src/pipeline/link/graphics.rs:477 (graphics_state)`; `crates/metal2vulkan/src/pipeline/link/graphics.rs:549 (graphics_state)`; `crates/metal2vulkan/src/pipeline/link/graphics.rs:972 (reads_alpha_to_coverage)`; `crates/metal2vulkan/src/pipeline/link/graphics.rs:993 (reads_alpha_to_coverage)`; `crates/metal2vulkan/src/pipeline/rotated_blend.rs:455 (rotated_blend)`; `crates/metal2vulkan/src/pipeline/rotated_blend.rs:599 (alpha_in_red_blend)` +- `feature::Format`: `crates/metal2vulkan-runtime/src/binding_view.rs:146 (binding_view)`; `crates/metal2vulkan-runtime/src/blit_plan.rs:523 (check_formats)`; `crates/metal2vulkan-runtime/src/blit_plan.rs:530 (check_formats)`; `crates/metal2vulkan-runtime/src/blit_plan.rs:545 (check_formats)`; `crates/metal2vulkan-runtime/src/blit_plan.rs:602 (pair_unit)`; `crates/metal2vulkan-runtime/src/blit_plan.rs:694 (plan_levels_copy)`; `crates/metal2vulkan-runtime/src/blit_texture.rs:2220 (through_buffer)`; `crates/metal2vulkan-runtime/src/buffer_texture.rs:524 (make_texture_over)`; `crates/metal2vulkan-runtime/src/buffer_texture.rs:598 (make_texture_over)`; `crates/metal2vulkan-runtime/src/buffer_texture.rs:630 (make_texture_over)`; `crates/metal2vulkan-runtime/src/buffer_texture.rs:917 (texture_buffer_texel)`; `crates/metal2vulkan-runtime/src/color_resolve.rs:172 (of_attachment)`; `crates/metal2vulkan-runtime/src/copy_plan.rs:219 (colour_unit)`; `crates/metal2vulkan-runtime/src/copy_plan.rs:247 (copy_unit)`; `crates/metal2vulkan-runtime/src/copy_plan.rs:293 (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:1632 (read_write_tier)`; `crates/metal2vulkan-runtime/src/families/formats.rs:1630 (sparse_missing)`; `crates/metal2vulkan-runtime/src/families/formats.rs:228 (none)`; `crates/metal2vulkan-runtime/src/families/formats.rs:272 (answers)`; `crates/metal2vulkan-runtime/src/families/formats.rs:292 (answers)`; `crates/metal2vulkan-runtime/src/families/formats.rs:307 (answers)`; `crates/metal2vulkan-runtime/src/families/formats.rs:354 (answers)`; `crates/metal2vulkan-runtime/src/families/formats.rs:393 (answers)`; `crates/metal2vulkan-runtime/src/families/formats.rs:476 (atomic_gap)`; `crates/metal2vulkan-runtime/src/families/formats.rs:510 (lacking)`; `crates/metal2vulkan-runtime/src/families/formats.rs:524 (unsupported)`; `crates/metal2vulkan-runtime/src/image_plan.rs:639 (plan_held)`; `crates/metal2vulkan-runtime/src/image_plan.rs:756 (plan_held)`; `crates/metal2vulkan-runtime/src/image_plan.rs:876 (plan_held)`; `crates/metal2vulkan-runtime/src/render.rs:2321 (viewing)`; `crates/metal2vulkan-runtime/src/render_pass.rs:1031 (check_target)`; `crates/metal2vulkan-runtime/src/render_pass.rs:1372 (layout)`; `crates/metal2vulkan-runtime/src/render_pass.rs:1712 (target)`; `crates/metal2vulkan-runtime/src/render_pass.rs:1805 (attachment_format)`; `crates/metal2vulkan-runtime/src/resolve.rs:418 (unmodelled_resolve)`; `crates/metal2vulkan-runtime/src/resolve.rs:620 (color)`; `crates/metal2vulkan-runtime/src/sample_copy.rs:182 (checked_twin)`; `crates/metal2vulkan-runtime/src/sample_copy.rs:210 (plan)`; `crates/metal2vulkan-runtime/src/sample_interleave.rs:303 (interleave_merge)`; `crates/metal2vulkan-runtime/src/shadow.rs:673 (unmerged)`; `crates/metal2vulkan-runtime/src/shadow.rs:680 (unmerged)`; `crates/metal2vulkan-runtime/src/texture.rs:2107 (texture_as)`; `crates/metal2vulkan-runtime/src/texture.rs:3672 (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:2099 (planned_heap_texture)`; `crates/metal2vulkan-runtime/src/texture/surface_two_planes.rs:80 (refused)`; `crates/metal2vulkan-runtime/src/texture/ycbcr_image.rs:190 (converted_storage)`; `crates/metal2vulkan-runtime/src/texture/ycbcr_image.rs:456 (ycbcr_write_shadow)`; `crates/metal2vulkan-runtime/src/texture/ycbcr_image.rs:565 (new_render_shadow)`; `crates/metal2vulkan-runtime/src/two_planes.rs:150 (unmeasured)`; `crates/metal2vulkan-runtime/src/view_plan.rs:381 (check_format)`; `crates/metal2vulkan-runtime/src/view_plan.rs:394 (check_format)`; `crates/metal2vulkan-runtime/src/view_plan.rs:401 (check_format)`; `crates/metal2vulkan-runtime/src/view_plan.rs:413 (check_format)`; `crates/metal2vulkan-runtime/src/view_plan.rs:423 (check_format)`; `crates/metal2vulkan-runtime/src/ycbcr.rs:309 (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:687 (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:1263 (extended_range_blend)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:1284 (extended_range_blend)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:1290 (extended_range_blend)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:1296 (extended_range_blend)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:1321 (extended_range_blend)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:1498 (plan)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:1971 (select_read)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:2078 (select_output)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:2105 (select_output)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs:2124 (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:2371 (entry)`; `crates/metal2vulkan/src/lower/stage_io/plan.rs:912 (zeroed_output)`; `crates/metal2vulkan/src/lower/stage_io/word_color.rs:83 (plan)`; `crates/metal2vulkan/src/lower/texture/mod.rs:2366 (select)`; `crates/metal2vulkan/src/lower/texture/mod.rs:3008 (cross_class)`; `crates/metal2vulkan/src/lower/texture/mod.rs:3180 (select_image)`; `crates/metal2vulkan/src/lower/texture/mod.rs:3350 (select_read_as)`; `crates/metal2vulkan/src/lower/texture/mod.rs:3387 (select_read_as)`; `crates/metal2vulkan/src/lower/texture/mod.rs:3720 (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:1786 (vk_format)`; `crates/metal2vulkan/src/metal/format/mod.rs:1788 (vk_format)`; `crates/metal2vulkan/src/metal/format/mod.rs:1918 (candidates)`; `crates/metal2vulkan/src/metal/format/mod.rs:2887 (storage_choice_viewed)`; `crates/metal2vulkan/src/metal/format/mod.rs:2905 (held_storage_choice)`; `crates/metal2vulkan/src/metal/format/mod.rs:2913 (held_storage_choice)`; `crates/metal2vulkan/src/metal/format/mod.rs:3010 (held_storage_choice)`; `crates/metal2vulkan/src/pipeline/link/graphics.rs:1103 (extended_write_mask)`; `crates/metal2vulkan/src/pipeline/link/graphics.rs:477 (graphics_state)`; `crates/metal2vulkan/src/pipeline/link/graphics.rs:549 (graphics_state)`; `crates/metal2vulkan/src/pipeline/link/graphics.rs:972 (reads_alpha_to_coverage)`; `crates/metal2vulkan/src/pipeline/link/graphics.rs:993 (reads_alpha_to_coverage)`; `crates/metal2vulkan/src/pipeline/rotated_blend.rs:455 (rotated_blend)`; `crates/metal2vulkan/src/pipeline/rotated_blend.rs:599 (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)` @@ -417,13 +417,13 @@ Each refusal's sites, with the function that builds it. - `feature::ProgramScopeBinding`: `crates/metal2vulkan-air/src/abi/module.rs:77 (decode)`; `crates/metal2vulkan/src/error/mod.rs:268 (from)` - `feature::SeqCstFence`: `crates/metal2vulkan/src/lower/sync/barrier.rs:443 (require_seq_cst)` - `feature::PostDepthCoverage`: `crates/metal2vulkan-runtime/src/families/features.rs:1226 (state)`; `crates/metal2vulkan/src/lower/stage_io/plan.rs:797 (param)` -- `gap::Textures`: `crates/metal2vulkan-runtime/src/blit_texture.rs:163 (check_depth_view)`; `crates/metal2vulkan-runtime/src/buffer_texture.rs:1605 (view_usage)`; `crates/metal2vulkan-runtime/src/pipeline/mod.rs:1625 (compile_error)`; `crates/metal2vulkan-runtime/src/texture.rs:1486 (image_error)`; `crates/metal2vulkan-runtime/src/texture.rs:2281 (storage_over_buffer)`; `crates/metal2vulkan-runtime/src/texture.rs:3110 (new_image_starting)`; `crates/metal2vulkan-runtime/src/texture.rs:4167 (image)`; `crates/metal2vulkan-runtime/src/texture.rs:5838 (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:163 (check_depth_view)`; `crates/metal2vulkan-runtime/src/buffer_texture.rs:1638 (view_usage)`; `crates/metal2vulkan-runtime/src/pipeline/mod.rs:1625 (compile_error)`; `crates/metal2vulkan-runtime/src/texture.rs:1486 (image_error)`; `crates/metal2vulkan-runtime/src/texture.rs:2281 (storage_over_buffer)`; `crates/metal2vulkan-runtime/src/texture.rs:3110 (new_image_starting)`; `crates/metal2vulkan-runtime/src/texture.rs:4167 (image)`; `crates/metal2vulkan-runtime/src/texture.rs:5838 (host_copy)`; `crates/metal2vulkan-runtime/src/texture/surface_two_planes.rs:207 (new_surface_planes_texture)` - `gap::ResourceHeap`: `crates/metal2vulkan-runtime/src/binding.rs:1982 (descriptor)` - `gap::SparseHeaps`: `crates/metal2vulkan-runtime/src/sparse/encoder.rs:442 (first_slice)`; `crates/metal2vulkan-runtime/src/texture.rs:1708 (plan_sparse_texture)`; `crates/metal2vulkan-runtime/src/texture.rs:4952 (make_aliasable)` - `gap::SparseTileMaps`: `crates/metal2vulkan-runtime/src/binding.rs:562 (slot_tile_map)`; `crates/metal2vulkan-runtime/src/sparse/texture.rs:43 (sparse_refusal)`; `crates/metal2vulkan-runtime/src/texture.rs:1766 (sparse_zeroing)`; `crates/metal2vulkan-runtime/src/texture.rs:1770 (sparse_zeroing)` - `gap::HeapPastMaxBufferSize`: `crates/metal2vulkan-runtime/src/heap.rs:714 (heap_size)` -- `gap::HeapTextureAlignment`: `crates/metal2vulkan-runtime/src/texture/heap.rs:1095 (check_heap_base)` -- `gap::HeapTextureMemory`: `crates/metal2vulkan-runtime/src/texture/heap.rs:1607 (heap_plan)`; `crates/metal2vulkan-runtime/src/texture/heap.rs:2151 (host_heap_plan)`; `crates/metal2vulkan-runtime/src/texture/heap.rs:2383 (memory_shadow)`; `crates/metal2vulkan-runtime/src/texture/heap.rs:567 (memory_refusal)` +- `gap::HeapTextureAlignment`: `crates/metal2vulkan-runtime/src/texture/heap.rs:1151 (check_heap_base)` +- `gap::HeapTextureMemory`: `crates/metal2vulkan-runtime/src/texture/heap.rs:1661 (heap_plan)`; `crates/metal2vulkan-runtime/src/texture/heap.rs:2209 (host_heap_plan)`; `crates/metal2vulkan-runtime/src/texture/heap.rs:2441 (memory_shadow)`; `crates/metal2vulkan-runtime/src/texture/heap.rs:567 (memory_refusal)` - `gap::FunctionTablePastMaxBufferLength`: `crates/metal2vulkan-runtime/src/function_table.rs:622 (past_limit)` - `gap::IndirectCommandBufferPastMaxBufferLength`: `crates/metal2vulkan-runtime/src/indirect_command_buffer.rs:523 (new_indirect_command_buffer)` - `gap::IndirectRenderCommands`: `crates/metal2vulkan-runtime/src/compute.rs:1317 (execute_range)`; `crates/metal2vulkan-runtime/src/compute.rs:1402 (execute_indirect_range)`; `crates/metal2vulkan-runtime/src/depth_stencil.rs:85 (gpu_resource_id)`; `crates/metal2vulkan-runtime/src/indirect_command_buffer.rs:4631 (render_state)`; `crates/metal2vulkan-runtime/src/indirect_command_buffer.rs:518 (new_indirect_command_buffer)`; `crates/metal2vulkan-runtime/src/pipeline/mod.rs:1632 (compile_error)`; `crates/metal2vulkan-runtime/src/render.rs:7295 (draw_resident)`; `crates/metal2vulkan-runtime/src/render.rs:7879 (draw_resident)`; `crates/metal2vulkan-runtime/src/render.rs:8337 (draw_resident)`; `crates/metal2vulkan-runtime/src/render.rs:8891 (draw_resident)`; `crates/metal2vulkan-runtime/src/render/executions.rs:1127 (back_memoryless)`; `crates/metal2vulkan-runtime/src/render/executions.rs:2942 (record_forms)`; `crates/metal2vulkan-runtime/src/render/executions.rs:393 (execute_range)`; `crates/metal2vulkan-runtime/src/render/executions.rs:461 (execute_indirect_range)`; `crates/metal2vulkan-runtime/src/render/executions.rs:476 (execute_indirect_range)` @@ -461,9 +461,9 @@ Each refusal's sites, with the function that builds it. - `gap::RateMapRegions`: `crates/metal2vulkan-runtime/src/rate_mapped_pass.rs:479 (refusal)` - `gap::LayeredPass`: `crates/metal2vulkan-runtime/src/color_resolve.rs:928 (plan)` - `gap::OverlappingTextureCopies`: `crates/metal2vulkan-runtime/src/blit_texture.rs:1354 (texture_copies_of_bytes)` -- `gap::RebindTextures`: `crates/metal2vulkan-runtime/src/buffer_descriptor.rs:637 (rebind_host_pages)`; `crates/metal2vulkan-runtime/src/texture/heap.rs:2833 (rebound_heap_images)`; `crates/metal2vulkan-runtime/src/texture/heap.rs:2848 (rebound_heap_images)`; `crates/metal2vulkan-runtime/src/texture/heap.rs:2859 (rebound_heap_images)`; `crates/metal2vulkan-runtime/src/texture/heap.rs:2902 (dma_buf_heap_images_again)` +- `gap::RebindTextures`: `crates/metal2vulkan-runtime/src/buffer_descriptor.rs:637 (rebind_host_pages)`; `crates/metal2vulkan-runtime/src/texture/heap.rs:2891 (rebound_heap_images)`; `crates/metal2vulkan-runtime/src/texture/heap.rs:2906 (rebound_heap_images)`; `crates/metal2vulkan-runtime/src/texture/heap.rs:2917 (rebound_heap_images)`; `crates/metal2vulkan-runtime/src/texture/heap.rs:2960 (dma_buf_heap_images_again)` - `gap::PvrtcBlockOrder`: `crates/metal2vulkan-runtime/src/texture.rs:5927 (host_copy)` -- `gap::DecodedHeapTexture`: `crates/metal2vulkan-runtime/src/texture.rs:1716 (plan_sparse_texture)`; `crates/metal2vulkan-runtime/src/texture/heap.rs:1298 (heap_texture_size_and_align)`; `crates/metal2vulkan-runtime/src/texture/heap.rs:1301 (heap_texture_size_and_align)`; `crates/metal2vulkan-runtime/src/texture/heap.rs:1456 (heap_plan)` +- `gap::DecodedHeapTexture`: `crates/metal2vulkan-runtime/src/texture.rs:1716 (plan_sparse_texture)`; `crates/metal2vulkan-runtime/src/texture/heap.rs:1354 (heap_texture_size_and_align)`; `crates/metal2vulkan-runtime/src/texture/heap.rs:1357 (heap_texture_size_and_align)`; `crates/metal2vulkan-runtime/src/texture/heap.rs:1512 (heap_plan)` - `gap::VertexFetchPast4GiB`: `crates/metal2vulkan-runtime/src/render/vertex_reach.rs:72 (check_vertex_reach)` - `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)` @@ -473,7 +473,7 @@ Each refusal's sites, with the function that builds it. - `gap::ProvokingVertex`: `crates/metal2vulkan-runtime/src/render/restart.rs:73 (gap)` - `gap::PrimitiveIdIndices`: `crates/metal2vulkan-runtime/src/render.rs:8185 (draw_resident)` - `gap::RotatedTexture`: `crates/metal2vulkan-runtime/src/blit_texture.rs:1683 (texel_copies)`; `crates/metal2vulkan-runtime/src/buffer_texture.rs:735 (turned_plane)`; `crates/metal2vulkan-runtime/src/rotated.rs:185 (new)`; `crates/metal2vulkan-runtime/src/rotated.rs:201 (new)`; `crates/metal2vulkan-runtime/src/shadow.rs:667 (unmerged)`; `crates/metal2vulkan-runtime/src/texture.rs:5220 (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:641 (rebind_host_pages)`; `crates/metal2vulkan-runtime/src/buffer_texture.rs:638 (make_texture_over)`; `crates/metal2vulkan-runtime/src/detach.rs:186 (detach_host_pages)`; `crates/metal2vulkan-runtime/src/texture/heap.rs:3042 (heap_texture_at)`; `crates/metal2vulkan-runtime/src/texture/stand_in.rs:143 (new_stand_in)`; `crates/metal2vulkan-runtime/src/texture/stand_in.rs:253 (stand_in_while_detached)`; `crates/metal2vulkan-runtime/src/texture/stand_in.rs:303 (stand_ins)`; `crates/metal2vulkan-runtime/src/texture/stand_in.rs:309 (stand_ins)` +- `gap::DetachTextures`: `crates/metal2vulkan-runtime/src/buffer_descriptor.rs:641 (rebind_host_pages)`; `crates/metal2vulkan-runtime/src/buffer_texture.rs:638 (make_texture_over)`; `crates/metal2vulkan-runtime/src/detach.rs:186 (detach_host_pages)`; `crates/metal2vulkan-runtime/src/texture/heap.rs:3100 (heap_texture_at)`; `crates/metal2vulkan-runtime/src/texture/stand_in.rs:143 (new_stand_in)`; `crates/metal2vulkan-runtime/src/texture/stand_in.rs:253 (stand_in_while_detached)`; `crates/metal2vulkan-runtime/src/texture/stand_in.rs:303 (stand_ins)`; `crates/metal2vulkan-runtime/src/texture/stand_in.rs:309 (stand_ins)` - `gap::TextureBufferLevels`: `crates/metal2vulkan-runtime/src/texture_descriptor.rs:548 (check_made)` - `gap::WriteSwizzle`: `crates/metal2vulkan-runtime/src/texture_descriptor.rs:555 (check_made)` - `gap::DetachedTexelAccess`: `crates/metal2vulkan-runtime/src/texture.rs:5050 (refuse_detached_texels)`