Known gaps: lavapipe's linear texture alignment is its own, 64 where the M3's Metal answers 16

The round at 0950c1a0ab (lavapipe replay, m3-max-6625) read device-linear-texture-alignments
divergent at 16 sites, unlisted: since b8f7b5a7f9..810842140b the runtime answers the device's
own alignment per format, and llvmpipe's linear images need 64 where Metal on the M3 Max answers
16. Sixteen rows scoped to llvmpipe, from m3-max-6781's replay of the case at d4fbe59a98 (each
site Metal 16, ours 64). RADV (256) and NVIDIA (128) rows follow when their replays run.
This commit is contained in:
Anees Iqbal committed 2026-11-07 20:37:35 -08:00
1 parent d4fbe59a98
commit d62b50b90e
1 file changed
+16
@@ -81,6 +81,22 @@
# a `#` comment for the stream that owns the case; nothing is waiting today.
#
# case venue expects site answer waiting on
device-linear-texture-alignments llvmpipe divergent case/MTLPixelFormatA8Unorm/Ok Metal 16 (0x10), ours 64 (0x40) lavapipe's own answer, not a gap of ours: minimumLinearTextureAlignmentForPixelFormat answers, per format, the smallest power of two from 16 at which the device's linear images lie at the asked pitch (texture/linear_alignment.rs), and llvmpipe's images need 64 for these formats where Metal on the Apple M3 Max (this case's recording, macOS 27.0.1) answers 16. A texture over a buffer at a smaller multiple of 16 is still made, as Metal makes it: in place over host pages, else a shadow of the buffer's bytes, announced (shadowed-texture). Open: nothing; a driver that changes its answer moves these rows.
device-linear-texture-alignments llvmpipe divergent case/MTLPixelFormatBGRA8Unorm/Ok Metal 16 (0x10), ours 64 (0x40) lavapipe's own answer, not a gap of ours: minimumLinearTextureAlignmentForPixelFormat answers, per format, the smallest power of two from 16 at which the device's linear images lie at the asked pitch (texture/linear_alignment.rs), and llvmpipe's images need 64 for these formats where Metal on the Apple M3 Max (this case's recording, macOS 27.0.1) answers 16. A texture over a buffer at a smaller multiple of 16 is still made, as Metal makes it: in place over host pages, else a shadow of the buffer's bytes, announced (shadowed-texture). Open: nothing; a driver that changes its answer moves these rows.
device-linear-texture-alignments llvmpipe divergent case/MTLPixelFormatBGRA8Unorm_sRGB/Ok Metal 16 (0x10), ours 64 (0x40) lavapipe's own answer, not a gap of ours: minimumLinearTextureAlignmentForPixelFormat answers, per format, the smallest power of two from 16 at which the device's linear images lie at the asked pitch (texture/linear_alignment.rs), and llvmpipe's images need 64 for these formats where Metal on the Apple M3 Max (this case's recording, macOS 27.0.1) answers 16. A texture over a buffer at a smaller multiple of 16 is still made, as Metal makes it: in place over host pages, else a shadow of the buffer's bytes, announced (shadowed-texture). Open: nothing; a driver that changes its answer moves these rows.
device-linear-texture-alignments llvmpipe divergent case/MTLPixelFormatR16Float/Ok Metal 16 (0x10), ours 64 (0x40) lavapipe's own answer, not a gap of ours: minimumLinearTextureAlignmentForPixelFormat answers, per format, the smallest power of two from 16 at which the device's linear images lie at the asked pitch (texture/linear_alignment.rs), and llvmpipe's images need 64 for these formats where Metal on the Apple M3 Max (this case's recording, macOS 27.0.1) answers 16. A texture over a buffer at a smaller multiple of 16 is still made, as Metal makes it: in place over host pages, else a shadow of the buffer's bytes, announced (shadowed-texture). Open: nothing; a driver that changes its answer moves these rows.
device-linear-texture-alignments llvmpipe divergent case/MTLPixelFormatR32Float/Ok Metal 16 (0x10), ours 64 (0x40) lavapipe's own answer, not a gap of ours: minimumLinearTextureAlignmentForPixelFormat answers, per format, the smallest power of two from 16 at which the device's linear images lie at the asked pitch (texture/linear_alignment.rs), and llvmpipe's images need 64 for these formats where Metal on the Apple M3 Max (this case's recording, macOS 27.0.1) answers 16. A texture over a buffer at a smaller multiple of 16 is still made, as Metal makes it: in place over host pages, else a shadow of the buffer's bytes, announced (shadowed-texture). Open: nothing; a driver that changes its answer moves these rows.
device-linear-texture-alignments llvmpipe divergent case/MTLPixelFormatR32Uint/Ok Metal 16 (0x10), ours 64 (0x40) lavapipe's own answer, not a gap of ours: minimumLinearTextureAlignmentForPixelFormat answers, per format, the smallest power of two from 16 at which the device's linear images lie at the asked pitch (texture/linear_alignment.rs), and llvmpipe's images need 64 for these formats where Metal on the Apple M3 Max (this case's recording, macOS 27.0.1) answers 16. A texture over a buffer at a smaller multiple of 16 is still made, as Metal makes it: in place over host pages, else a shadow of the buffer's bytes, announced (shadowed-texture). Open: nothing; a driver that changes its answer moves these rows.
device-linear-texture-alignments llvmpipe divergent case/MTLPixelFormatR8Snorm/Ok Metal 16 (0x10), ours 64 (0x40) lavapipe's own answer, not a gap of ours: minimumLinearTextureAlignmentForPixelFormat answers, per format, the smallest power of two from 16 at which the device's linear images lie at the asked pitch (texture/linear_alignment.rs), and llvmpipe's images need 64 for these formats where Metal on the Apple M3 Max (this case's recording, macOS 27.0.1) answers 16. A texture over a buffer at a smaller multiple of 16 is still made, as Metal makes it: in place over host pages, else a shadow of the buffer's bytes, announced (shadowed-texture). Open: nothing; a driver that changes its answer moves these rows.
device-linear-texture-alignments llvmpipe divergent case/MTLPixelFormatR8Uint/Ok Metal 16 (0x10), ours 64 (0x40) lavapipe's own answer, not a gap of ours: minimumLinearTextureAlignmentForPixelFormat answers, per format, the smallest power of two from 16 at which the device's linear images lie at the asked pitch (texture/linear_alignment.rs), and llvmpipe's images need 64 for these formats where Metal on the Apple M3 Max (this case's recording, macOS 27.0.1) answers 16. A texture over a buffer at a smaller multiple of 16 is still made, as Metal makes it: in place over host pages, else a shadow of the buffer's bytes, announced (shadowed-texture). Open: nothing; a driver that changes its answer moves these rows.
device-linear-texture-alignments llvmpipe divergent case/MTLPixelFormatR8Unorm/Ok Metal 16 (0x10), ours 64 (0x40) lavapipe's own answer, not a gap of ours: minimumLinearTextureAlignmentForPixelFormat answers, per format, the smallest power of two from 16 at which the device's linear images lie at the asked pitch (texture/linear_alignment.rs), and llvmpipe's images need 64 for these formats where Metal on the Apple M3 Max (this case's recording, macOS 27.0.1) answers 16. A texture over a buffer at a smaller multiple of 16 is still made, as Metal makes it: in place over host pages, else a shadow of the buffer's bytes, announced (shadowed-texture). Open: nothing; a driver that changes its answer moves these rows.
device-linear-texture-alignments llvmpipe divergent case/MTLPixelFormatRG32Float/Ok Metal 16 (0x10), ours 64 (0x40) lavapipe's own answer, not a gap of ours: minimumLinearTextureAlignmentForPixelFormat answers, per format, the smallest power of two from 16 at which the device's linear images lie at the asked pitch (texture/linear_alignment.rs), and llvmpipe's images need 64 for these formats where Metal on the Apple M3 Max (this case's recording, macOS 27.0.1) answers 16. A texture over a buffer at a smaller multiple of 16 is still made, as Metal makes it: in place over host pages, else a shadow of the buffer's bytes, announced (shadowed-texture). Open: nothing; a driver that changes its answer moves these rows.
device-linear-texture-alignments llvmpipe divergent case/MTLPixelFormatRG8Unorm/Ok Metal 16 (0x10), ours 64 (0x40) lavapipe's own answer, not a gap of ours: minimumLinearTextureAlignmentForPixelFormat answers, per format, the smallest power of two from 16 at which the device's linear images lie at the asked pitch (texture/linear_alignment.rs), and llvmpipe's images need 64 for these formats where Metal on the Apple M3 Max (this case's recording, macOS 27.0.1) answers 16. A texture over a buffer at a smaller multiple of 16 is still made, as Metal makes it: in place over host pages, else a shadow of the buffer's bytes, announced (shadowed-texture). Open: nothing; a driver that changes its answer moves these rows.
device-linear-texture-alignments llvmpipe divergent case/MTLPixelFormatRGB10A2Unorm/Ok Metal 16 (0x10), ours 64 (0x40) lavapipe's own answer, not a gap of ours: minimumLinearTextureAlignmentForPixelFormat answers, per format, the smallest power of two from 16 at which the device's linear images lie at the asked pitch (texture/linear_alignment.rs), and llvmpipe's images need 64 for these formats where Metal on the Apple M3 Max (this case's recording, macOS 27.0.1) answers 16. A texture over a buffer at a smaller multiple of 16 is still made, as Metal makes it: in place over host pages, else a shadow of the buffer's bytes, announced (shadowed-texture). Open: nothing; a driver that changes its answer moves these rows.
device-linear-texture-alignments llvmpipe divergent case/MTLPixelFormatRGB9E5Float/Ok Metal 16 (0x10), ours 64 (0x40) lavapipe's own answer, not a gap of ours: minimumLinearTextureAlignmentForPixelFormat answers, per format, the smallest power of two from 16 at which the device's linear images lie at the asked pitch (texture/linear_alignment.rs), and llvmpipe's images need 64 for these formats where Metal on the Apple M3 Max (this case's recording, macOS 27.0.1) answers 16. A texture over a buffer at a smaller multiple of 16 is still made, as Metal makes it: in place over host pages, else a shadow of the buffer's bytes, announced (shadowed-texture). Open: nothing; a driver that changes its answer moves these rows.
device-linear-texture-alignments llvmpipe divergent case/MTLPixelFormatRGBA32Float/Ok Metal 16 (0x10), ours 64 (0x40) lavapipe's own answer, not a gap of ours: minimumLinearTextureAlignmentForPixelFormat answers, per format, the smallest power of two from 16 at which the device's linear images lie at the asked pitch (texture/linear_alignment.rs), and llvmpipe's images need 64 for these formats where Metal on the Apple M3 Max (this case's recording, macOS 27.0.1) answers 16. A texture over a buffer at a smaller multiple of 16 is still made, as Metal makes it: in place over host pages, else a shadow of the buffer's bytes, announced (shadowed-texture). Open: nothing; a driver that changes its answer moves these rows.
device-linear-texture-alignments llvmpipe divergent case/MTLPixelFormatRGBA8Unorm/Ok Metal 16 (0x10), ours 64 (0x40) lavapipe's own answer, not a gap of ours: minimumLinearTextureAlignmentForPixelFormat answers, per format, the smallest power of two from 16 at which the device's linear images lie at the asked pitch (texture/linear_alignment.rs), and llvmpipe's images need 64 for these formats where Metal on the Apple M3 Max (this case's recording, macOS 27.0.1) answers 16. A texture over a buffer at a smaller multiple of 16 is still made, as Metal makes it: in place over host pages, else a shadow of the buffer's bytes, announced (shadowed-texture). Open: nothing; a driver that changes its answer moves these rows.
device-linear-texture-alignments llvmpipe divergent case/MTLPixelFormatRGBA8Unorm_sRGB/Ok Metal 16 (0x10), ours 64 (0x40) lavapipe's own answer, not a gap of ours: minimumLinearTextureAlignmentForPixelFormat answers, per format, the smallest power of two from 16 at which the device's linear images lie at the asked pitch (texture/linear_alignment.rs), and llvmpipe's images need 64 for these formats where Metal on the Apple M3 Max (this case's recording, macOS 27.0.1) answers 16. A texture over a buffer at a smaller multiple of 16 is still made, as Metal makes it: in place over host pages, else a shadow of the buffer's bytes, announced (shadowed-texture). Open: nothing; a driver that changes its answer moves these rows.
discard-quad-sum-placement 128 bits) divergent case/counted_atomic/texels 4 elements differ (I32), the largest difference 1 Metal counts the quads the discard drops whole in a simdgroup sum that sits ahead of the discard for a measured reason -- the discard's condition reads the sum (`counted_dependent`), or a device store (`counted_store`) or an atomic (`counted_atomic`) lies between them -- so each kept texel's first channel, `before > after`, is 1: the M3 Max's 32-lane simdgroup holds the 8 by 4 target's dropped quads beside the kept one. The module keeps the sum ahead of the discard as Metal's compiler does, and what differs is which pixels share the simdgroup: the device's own grouping, which Metal permits, recorded as `PrecisionNote::FragmentSimdgroupGrouping` and announced as `fragment-simdgroup-grouping`. A lavapipe built for 128-bit vectors runs 4-lane fragment subgroups, one quad each (`Tier::PartialFragment`), so the kept quad's subgroup holds no dropped quad and all four kept texels read 0, each by exactly one code. Measured 2026-11-07 on x86-64 lavapipe (Mesa, LLVM 23.1.4): at its default 256-bit vectors (8-lane subgroups, two quads) the three shapes answer Metal's 1, and under `LP_NATIVE_VECTOR_WIDTH=128` they read these rows, the module and the compiler unchanged; the gate container's arm64 `llvmpipe (LLVM 21.1.8, 128 bits)` reads them as well, and MoltenVK on the M3 Max answers 1 exactly. So the venue field is the width, `128 bits)`, and not one build. No exact form exists on such a device: no required subgroup size reaches 32 lanes there, and nothing in Vulkan relates the invocations of two fragment subgroups. The row stays because the note derives no tolerance (`replay::NATIVE_NOTES` states the rule for a device's own answer): it says what differs and that the answer is the device's.
discard-quad-sum-placement 128 bits) divergent case/counted_dependent/texels 4 elements differ (I32), the largest difference 1 Metal counts the quads the discard drops whole in a simdgroup sum that sits ahead of the discard for a measured reason -- the discard's condition reads the sum (`counted_dependent`), or a device store (`counted_store`) or an atomic (`counted_atomic`) lies between them -- so each kept texel's first channel, `before > after`, is 1: the M3 Max's 32-lane simdgroup holds the 8 by 4 target's dropped quads beside the kept one. The module keeps the sum ahead of the discard as Metal's compiler does, and what differs is which pixels share the simdgroup: the device's own grouping, which Metal permits, recorded as `PrecisionNote::FragmentSimdgroupGrouping` and announced as `fragment-simdgroup-grouping`. A lavapipe built for 128-bit vectors runs 4-lane fragment subgroups, one quad each (`Tier::PartialFragment`), so the kept quad's subgroup holds no dropped quad and all four kept texels read 0, each by exactly one code. Measured 2026-11-07 on x86-64 lavapipe (Mesa, LLVM 23.1.4): at its default 256-bit vectors (8-lane subgroups, two quads) the three shapes answer Metal's 1, and under `LP_NATIVE_VECTOR_WIDTH=128` they read these rows, the module and the compiler unchanged; the gate container's arm64 `llvmpipe (LLVM 21.1.8, 128 bits)` reads them as well, and MoltenVK on the M3 Max answers 1 exactly. So the venue field is the width, `128 bits)`, and not one build. No exact form exists on such a device: no required subgroup size reaches 32 lanes there, and nothing in Vulkan relates the invocations of two fragment subgroups. The row stays because the note derives no tolerance (`replay::NATIVE_NOTES` states the rule for a device's own answer): it says what differs and that the answer is the device's.
discard-quad-sum-placement 128 bits) divergent case/counted_store/texels 4 elements differ (I32), the largest difference 1 Metal counts the quads the discard drops whole in a simdgroup sum that sits ahead of the discard for a measured reason -- the discard's condition reads the sum (`counted_dependent`), or a device store (`counted_store`) or an atomic (`counted_atomic`) lies between them -- so each kept texel's first channel, `before > after`, is 1: the M3 Max's 32-lane simdgroup holds the 8 by 4 target's dropped quads beside the kept one. The module keeps the sum ahead of the discard as Metal's compiler does, and what differs is which pixels share the simdgroup: the device's own grouping, which Metal permits, recorded as `PrecisionNote::FragmentSimdgroupGrouping` and announced as `fragment-simdgroup-grouping`. A lavapipe built for 128-bit vectors runs 4-lane fragment subgroups, one quad each (`Tier::PartialFragment`), so the kept quad's subgroup holds no dropped quad and all four kept texels read 0, each by exactly one code. Measured 2026-11-07 on x86-64 lavapipe (Mesa, LLVM 23.1.4): at its default 256-bit vectors (8-lane subgroups, two quads) the three shapes answer Metal's 1, and under `LP_NATIVE_VECTOR_WIDTH=128` they read these rows, the module and the compiler unchanged; the gate container's arm64 `llvmpipe (LLVM 21.1.8, 128 bits)` reads them as well, and MoltenVK on the M3 Max answers 1 exactly. So the venue field is the width, `128 bits)`, and not one build. No exact form exists on such a device: no required subgroup size reaches 32 lanes there, and nothing in Vulkan relates the invocations of two fragment subgroups. The row stays because the note derives no tolerance (`replay::NATIVE_NOTES` states the rule for a device's own answer): it says what differs and that the answer is the device's.
Can't render this file because it is too large.