From 9c375eb504aea10892322a5cd044c5008b3ad962 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Wed, 2 Dec 2026 07:57:46 -0800 Subject: [PATCH] Conformance ledger: the sample-positions cases answer on the runtime, so their seventeen refused rows go The rt side of the suite now hands a pass's positions to the runtime's RenderPassDescriptor instead of answering `setSamplePositions:count:` Unavailable, so the answer those rows expect, `Err(Unavailable({call: "setSamplePositions:count:"}))`, can no longer occur on any venue. The fourteen `*` rows (custom-left, custom-mixed, custom-right, the three fewer-, high, off-grid, off-grid-low and the five rounded- cases) and the three venue rows of sample-positions-custom-2x (Iris(R) Xe, RADV, NVIDIA) are dropped. A venue without VK_EXT_sample_locations, or whose properties fall short of the answer, would answer at the same site with `Refusal::SamplePositions` of `Unsupported` or `Gap::RenderPass`, which its replay would print as unlisted; no venue run here does. docs/CONFORMANCE-COVERAGE.md is regenerated (7979 ledger rows to 7962); docs/METAL-COVERAGE.md is unchanged. Verified: `conformance replay` of the 19 sample-positions cases and pass-sample-positions at 33865b2a57, before this edit, on each venue: every one of them listed exactly these rows as no longer held ("now matches: 15", 14 on the Apple M3 Max, which has no custom-2x row) and nothing unlisted; the custom and rounded cases read announced (justified by notices) on each. - RX 7900 XTX, RADV NAVI31, Mesa 26.2.6: m3-max-78702 - Radeon 780M, RADV PHOENIX, Mesa 26.2.6: m3-max-78710 - RX 550, RADV POLARIS12, Mesa 26.2.6: m3-max-78713 - RTX 2080, NVIDIA 620.70.06: m3-max-78703 - RTX 3090, NVIDIA 620.70.06: m3-max-78711 - Iris Xe (RPL-P), Mesa 26.2.6: m3-max-78704 - Apple M3 Max, KosmicKrisp Mesa 26.3.1 (VK_EXT_sample_locations revision 1): m3-max-78722 lavapipe's replay with this ledger runs in the green job. Not run: the RTX 5080 Laptop GPU and the Windows host's UHD Graphics 630. --- .../known-gaps-rt.tsv | 17 ----------------- docs/CONFORMANCE-COVERAGE.md | 19 +------------------ 2 files changed, 1 insertion(+), 35 deletions(-) diff --git a/crates/metal2vulkan-conformance/known-gaps-rt.tsv b/crates/metal2vulkan-conformance/known-gaps-rt.tsv index 5959099bd..b4c72604f 100644 --- a/crates/metal2vulkan-conformance/known-gaps-rt.tsv +++ b/crates/metal2vulkan-conformance/known-gaps-rt.tsv @@ -6324,29 +6324,12 @@ sample-fills-whole-2 AMD Radeon 780M refused case/work Err({refused: Unavailable sample-fills-whole-2 RX 7900 XTX refused case/work Err({refused: Unavailable({call: "fillTexture:level:slice:region:bytes:length:"}), step: 1 (0x1)}) refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no fillTexture call). The rt side of the suite answers `fillTexture:level:slice:region:bytes:length:` Unavailable: rt has no counterpart of the call, and no replay stream makes it. sample-fills-whole-2 NVIDIA refused case/work Err({refused: Unavailable({call: "fillTexture:level:slice:region:bytes:length:"}), step: 1 (0x1)}) refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no fillTexture call). The rt side of the suite answers `fillTexture:level:slice:region:bytes:length:` Unavailable: rt has no counterpart of the call, and no replay stream makes it. sample-fills-whole-2 Iris(R) Xe refused case/work Err({refused: Unavailable({call: "fillTexture:level:slice:region:bytes:length:"}), step: 1 (0x1)}) refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no fillTexture call). The rt side of the suite answers `fillTexture:level:slice:region:bytes:length:` Unavailable: rt has no counterpart of the call, and no replay stream makes it. -sample-positions-custom-left * refused case/calls/0-renderCommandEncoder Err(Unavailable({call: "setSamplePositions:count:"})) refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no setSamplePositions:count:). The rt side of the suite answers `setSamplePositions:count:` Unavailable: rt's render pass descriptor has no sample positions, and no replay stream sets them. -sample-positions-custom-mixed * refused case/calls/0-renderCommandEncoder Err(Unavailable({call: "setSamplePositions:count:"})) refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no setSamplePositions:count:). The rt side of the suite answers `setSamplePositions:count:` Unavailable: rt's render pass descriptor has no sample positions, and no replay stream sets them. -sample-positions-custom-right * refused case/calls/0-renderCommandEncoder Err(Unavailable({call: "setSamplePositions:count:"})) refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no setSamplePositions:count:). The rt side of the suite answers `setSamplePositions:count:` Unavailable: rt's render pass descriptor has no sample positions, and no replay stream sets them. -sample-positions-fewer-left-of-the-middle * refused case/calls/0-renderCommandEncoder Err(Unavailable({call: "setSamplePositions:count:"})) refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no setSamplePositions:count:). The rt side of the suite answers `setSamplePositions:count:` Unavailable: rt's render pass descriptor has no sample positions, and no replay stream sets them. -sample-positions-fewer-right-of-a-far-edge * refused case/calls/0-renderCommandEncoder Err(Unavailable({call: "setSamplePositions:count:"})) refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no setSamplePositions:count:). The rt side of the suite answers `setSamplePositions:count:` Unavailable: rt's render pass descriptor has no sample positions, and no replay stream sets them. -sample-positions-fewer-right-of-the-middle * refused case/calls/0-renderCommandEncoder Err(Unavailable({call: "setSamplePositions:count:"})) refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no setSamplePositions:count:). The rt side of the suite answers `setSamplePositions:count:` Unavailable: rt's render pass descriptor has no sample positions, and no replay stream sets them. -sample-positions-high * refused case/calls/0-renderCommandEncoder Err(Unavailable({call: "setSamplePositions:count:"})) refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no setSamplePositions:count:). The rt side of the suite answers `setSamplePositions:count:` Unavailable: rt's render pass descriptor has no sample positions, and no replay stream sets them. -sample-positions-off-grid * refused case/calls/0-renderCommandEncoder Err(Unavailable({call: "setSamplePositions:count:"})) refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no setSamplePositions:count:). The rt side of the suite answers `setSamplePositions:count:` Unavailable: rt's render pass descriptor has no sample positions, and no replay stream sets them. -sample-positions-off-grid-low * refused case/calls/0-renderCommandEncoder Err(Unavailable({call: "setSamplePositions:count:"})) refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no setSamplePositions:count:). The rt side of the suite answers `setSamplePositions:count:` Unavailable: rt's render pass descriptor has no sample positions, and no replay stream sets them. sample-positions-option-under-resolve * refused case/calls/0-renderCommandEncoder Err(Unavailable({call: "storeActionOptions"})) refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, storeActionOptions 0 wherever one is set). The rt side of the suite answers `storeActionOptions` Unavailable: rt's render pass descriptor has no field for store action options (the rt README, Known gaps of render encoders). sample-positions-option-under-store-and-resolve * refused case/calls/0-renderCommandEncoder Err(Unavailable({call: "storeActionOptions"})) refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, storeActionOptions 0 wherever one is set). The rt side of the suite answers `storeActionOptions` Unavailable: rt's render pass descriptor has no field for store action options (the rt README, Known gaps of render encoders). -sample-positions-rounded-0-53125 * refused case/calls/0-renderCommandEncoder Err(Unavailable({call: "setSamplePositions:count:"})) refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no setSamplePositions:count:). The rt side of the suite answers `setSamplePositions:count:` Unavailable: rt's render pass descriptor has no sample positions, and no replay stream sets them. -sample-positions-rounded-0-55 * refused case/calls/0-renderCommandEncoder Err(Unavailable({call: "setSamplePositions:count:"})) refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no setSamplePositions:count:). The rt side of the suite answers `setSamplePositions:count:` Unavailable: rt's render pass descriptor has no sample positions, and no replay stream sets them. -sample-positions-rounded-0-5624 * refused case/calls/0-renderCommandEncoder Err(Unavailable({call: "setSamplePositions:count:"})) refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no setSamplePositions:count:). The rt side of the suite answers `setSamplePositions:count:` Unavailable: rt's render pass descriptor has no sample positions, and no replay stream sets them. -sample-positions-rounded-0-5625 * refused case/calls/0-renderCommandEncoder Err(Unavailable({call: "setSamplePositions:count:"})) refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no setSamplePositions:count:). The rt side of the suite answers `setSamplePositions:count:` Unavailable: rt's render pass descriptor has no sample positions, and no replay stream sets them. -sample-positions-rounded-0-99 * refused case/calls/0-renderCommandEncoder Err(Unavailable({call: "setSamplePositions:count:"})) refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no setSamplePositions:count:). The rt side of the suite answers `setSamplePositions:count:` Unavailable: rt's render pass descriptor has no sample positions, and no replay stream sets them. -sample-positions-custom-2x Iris(R) Xe refused case/calls/0-renderCommandEncoder Err(Unavailable({call: "setSamplePositions:count:"})) refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no setSamplePositions:count:). The rt side of the suite answers `setSamplePositions:count:` Unavailable: rt's render pass descriptor has no sample positions, and no replay stream sets them. sample-positions-default-2x Iris(R) Xe divergent case/resolved 1 element differs (U8): Metal 1 (0x1), ours 0 (0x0) A resolve of an 8-bit unorm channel, a code apart. rt resolves by Vulkan's `AVERAGE` resolve in the pass's own rendering, whose rounding is the device's: the static note `PrecisionNote::DeviceRoundedResolve` (rule 1), whose recorded bound holds every unorm channel within one code of Metal's, which covers this site. Validation derives no tolerance from it. Open: nothing. sample-positions-default-4x Iris(R) Xe divergent case/resolved 1 element differs (U8): Metal 1 (0x1), ours 0 (0x0) A resolve of an 8-bit unorm channel, a code apart. rt resolves by Vulkan's `AVERAGE` resolve in the pass's own rendering, whose rounding is the device's: the static note `PrecisionNote::DeviceRoundedResolve` (rule 1), whose recorded bound holds every unorm channel within one code of Metal's, which covers this site. Validation derives no tolerance from it. Open: nothing. -sample-positions-custom-2x RADV refused case/calls/0-renderCommandEncoder Err(Unavailable({call: "setSamplePositions:count:"})) refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no setSamplePositions:count:). The rt side of the suite answers `setSamplePositions:count:` Unavailable: rt's render pass descriptor has no sample positions, and no replay stream sets them. sample-positions-default-2x RADV divergent case/resolved 1 element differs (U8): Metal 1 (0x1), ours 0 (0x0) A resolve of an 8-bit unorm channel, a code apart. rt resolves by Vulkan's `AVERAGE` resolve in the pass's own rendering, whose rounding is the device's: the static note `PrecisionNote::DeviceRoundedResolve` (rule 1), whose recorded bound holds every unorm channel within one code of Metal's, which covers this site. Validation derives no tolerance from it. Open: nothing. sample-positions-default-4x RADV divergent case/resolved 1 element differs (U8): Metal 1 (0x1), ours 0 (0x0) A resolve of an 8-bit unorm channel, a code apart. rt resolves by Vulkan's `AVERAGE` resolve in the pass's own rendering, whose rounding is the device's: the static note `PrecisionNote::DeviceRoundedResolve` (rule 1), whose recorded bound holds every unorm channel within one code of Metal's, which covers this site. Validation derives no tolerance from it. Open: nothing. -sample-positions-custom-2x NVIDIA refused case/calls/0-renderCommandEncoder Err(Unavailable({call: "setSamplePositions:count:"})) refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no setSamplePositions:count:). The rt side of the suite answers `setSamplePositions:count:` Unavailable: rt's render pass descriptor has no sample positions, and no replay stream sets them. sample-positions-default-2x NVIDIA divergent case/resolved 2 elements differ (U8), the largest difference 1 A resolve of an 8-bit unorm channel, a code apart. rt resolves by Vulkan's `AVERAGE` resolve in the pass's own rendering, whose rounding is the device's: the static note `PrecisionNote::DeviceRoundedResolve` (rule 1), whose recorded bound holds every unorm channel within one code of Metal's, which covers this site. Validation derives no tolerance from it. Open: nothing. sample-positions-default-4x NVIDIA divergent case/resolved 2 elements differ (U8), the largest difference 1 A resolve of an 8-bit unorm channel, a code apart. rt resolves by Vulkan's `AVERAGE` resolve in the pass's own rendering, whose rounding is the device's: the static note `PrecisionNote::DeviceRoundedResolve` (rule 1), whose recorded bound holds every unorm channel within one code of Metal's, which covers this site. Validation derives no tolerance from it. Open: nothing. sample-positions-default-4x llvmpipe divergent case/resolved 1 element differs (U8): Metal 1 (0x1), ours 0 (0x0) A resolve of an 8-bit unorm channel, a code apart. rt resolves by Vulkan's `AVERAGE` resolve in the pass's own rendering, whose rounding is the device's: the static note `PrecisionNote::DeviceRoundedResolve` (rule 1), whose recorded bound holds every unorm channel within one code of Metal's, which covers this site. Validation derives no tolerance from it. Open: nothing. diff --git a/docs/CONFORMANCE-COVERAGE.md b/docs/CONFORMANCE-COVERAGE.md index fc4014773..a601f23fe 100644 --- a/docs/CONFORMANCE-COVERAGE.md +++ b/docs/CONFORMANCE-COVERAGE.md @@ -43,7 +43,7 @@ Its limits, measured rather than asserted: | committed recordings | 1339 | | distinct SDK items the Metal leg reaches, of any status | 812 | | of those, reached only where this cannot name the family | 5 | -| ledger rows (a case whose gap is recorded) | 7979 | +| ledger rows (a case whose gap is recorded) | 7962 | | declared crossings of the option space (pairs put to Metal at once) | 26 | | declared crossings that are no pair of it (a boolean or numeric field, or one type in two slots) | 30 | @@ -8373,29 +8373,12 @@ A case whose difference from Metal is recorded rather than compared away. The le | `sample-fills-whole-2` | refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no fillTexture call). The rt side of the suite a… | | `sample-fills-whole-2` | refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no fillTexture call). The rt side of the suite a… | | `sample-fills-whole-2` | refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no fillTexture call). The rt side of the suite a… | -| `sample-positions-custom-left` | refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no setSamplePositions:count:). The rt side of th… | -| `sample-positions-custom-mixed` | refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no setSamplePositions:count:). The rt side of th… | -| `sample-positions-custom-right` | refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no setSamplePositions:count:). The rt side of th… | -| `sample-positions-fewer-left-of-the-middle` | refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no setSamplePositions:count:). The rt side of th… | -| `sample-positions-fewer-right-of-a-far-edge` | refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no setSamplePositions:count:). The rt side of th… | -| `sample-positions-fewer-right-of-the-middle` | refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no setSamplePositions:count:). The rt side of th… | -| `sample-positions-high` | refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no setSamplePositions:count:). The rt side of th… | -| `sample-positions-off-grid` | refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no setSamplePositions:count:). The rt side of th… | -| `sample-positions-off-grid-low` | refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no setSamplePositions:count:). The rt side of th… | | `sample-positions-option-under-resolve` | refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, storeActionOptions 0 wherever one is set). The r… | | `sample-positions-option-under-store-and-resolve` | refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, storeActionOptions 0 wherever one is set). The r… | -| `sample-positions-rounded-0-53125` | refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no setSamplePositions:count:). The rt side of th… | -| `sample-positions-rounded-0-55` | refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no setSamplePositions:count:). The rt side of th… | -| `sample-positions-rounded-0-5624` | refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no setSamplePositions:count:). The rt side of th… | -| `sample-positions-rounded-0-5625` | refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no setSamplePositions:count:). The rt side of th… | -| `sample-positions-rounded-0-99` | refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no setSamplePositions:count:). The rt side of th… | -| `sample-positions-custom-2x` | refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no setSamplePositions:count:). The rt side of th… | | `sample-positions-default-2x` | A resolve of an 8-bit unorm channel, a code apart. rt resolves by Vulkan's `AVERAGE` resolve in the pass's own rendering, whose rounding is the device's: the st… | | `sample-positions-default-4x` | A resolve of an 8-bit unorm channel, a code apart. rt resolves by Vulkan's `AVERAGE` resolve in the pass's own rendering, whose rounding is the device's: the st… | -| `sample-positions-custom-2x` | refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no setSamplePositions:count:). The rt side of th… | | `sample-positions-default-2x` | A resolve of an 8-bit unorm channel, a code apart. rt resolves by Vulkan's `AVERAGE` resolve in the pass's own rendering, whose rounding is the device's: the st… | | `sample-positions-default-4x` | A resolve of an 8-bit unorm channel, a code apart. rt resolves by Vulkan's `AVERAGE` resolve in the pass's own rendering, whose rounding is the device's: the st… | -| `sample-positions-custom-2x` | refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no setSamplePositions:count:). The rt side of th… | | `sample-positions-default-2x` | A resolve of an 8-bit unorm channel, a code apart. rt resolves by Vulkan's `AVERAGE` resolve in the pass's own rendering, whose rounding is the device's: the st… | | `sample-positions-default-4x` | A resolve of an 8-bit unorm channel, a code apart. rt resolves by Vulkan's `AVERAGE` resolve in the pass's own rendering, whose rounding is the device's: the st… | | `sample-positions-default-4x` | A resolve of an 8-bit unorm channel, a code apart. rt resolves by Vulkan's `AVERAGE` resolve in the pass's own rendering, whose rounding is the device's: the st… |