Commit Graph
8912 Commits
Author SHA1 Message Date
Anees Iqbal 4aee2fa9f1 Translator: the ordered fetch form goes; its computed writes are refused on every device
The framebuffer fetch had a second form chosen by rasterizationOrderColorAttachmentAccess: over
a rasterization-order input attachment, a fragment function computed writes no Vulkan blend,
write mask or logic operation gives. No runtime enables that feature, so the form ran on no
guest's device. It goes (rule 2: a second form chosen by a query outside the named list; rule 4).

What changes:
- A fetch reads its input attachment ordered between draws alone on every device, noted
  UnorderedFetchWithinDraw. Under the identity domains it reads the pushed texture
  (PushField::FetchedColor).
- These states are refused on every device: a padded extended-range attachment's blend; a write
  of some of the codes one word of an extended-range attachment holds; and a blend no Vulkan
  state gives on a rotated (ARGB8Unorm) attachment. Each refusal is FramebufferFetch, not
  implemented (lower::fragment::fetch::computed_write_refused).
- A word attachment under a partial mask takes its format's own attachment, and is refused where
  the device lacks that format.
- A private logic operation on a device without logicOp is refused naming
  PrivateRenderState(LogicOperation) and logicOp.
- Deleted: lower/fragment/input_blend.rs, word_input.rs, the shader logic operation in logic.rs,
  lower/arith/extended_range/blend.rs, pipeline/link/fetch.rs, and the arithmetic only they used
  (the fma emulation cluster, div_exact, encode_keeping).
- Deleted public items:
  - LoweringInputs.framebuffer_fetch and .logic_operation;
  - FramebufferFetchInputs, FetchedAttachment, BlendEquation;
  - GraphicsState.rasterization_order_attachment_access and
    FragmentCaps.rasterization_order_color_access;
  - metal::format::extended_range_blend, Feature::ExtendedRangeBlend and the ExtendedRangeBlend
    enum;
  - RuntimeInput::FramebufferFetch and ::LogicOperation;
  - RuntimeFact::ExtendedRangeInputBlend, ::RotatedInputBlend and ::WordInputMerge;
  - PrecisionNote::ExtendedRangeBlendSource and ::ExtendedRangeFloatBlendSource.
- The enable-set facts class VK_EXT_rasterization_order_attachment_access as described and never
  enabled.

Docs, in this commit:
- rt README: Known gaps of render encoders gets one line per refused state, each built on the
  runtime's own fetch form if a guest meets it. The Not-enabled row of
  rasterizationOrderColorAttachmentAccess goes, and so does logicOp's mention of the shader form.
- docs/API.md loses the two blend-source notes from the precision-note catalogue, the
  rasterization-order form and the word merge.
- REFUSALS.md is regenerated (reach row of ExtendedRangeBlend removed), along with
  api_signatures.tsv and the api_surface table.
- The conformance ledger: the 39 rows refused naming rasterization-order access (on llvmpipe and
  the UHD 630; on other venues the case read as lacks-feature) become 22 every-venue rows,
  refused, needs NotImplemented. The matrix replay on development confirms the scope.

Lines: product sources (crates/metal2vulkan, -air, -runtime src, tests excluded) +238 -4647;
product tests +277 -2279; validation and conformance +61 -182; docs +48 -67.

Consumer search (reims-vgpu at 71573a84c8, git grep -w over *.rs, *.toml and *.md):
- 0 hits: ExtendedRangeBlend, rasterization_order_color_access, BlendEquation,
  FramebufferFetchInputs, rasterization_order_attachment_access, framebuffer_fetch,
  extended_range_blend, ExtendedRangeBlendSource, ExtendedRangeFloatBlendSource,
  ExtendedRangeInputBlend, RotatedInputBlend, WordInputMerge, DualSource.
- Hits that are not these items: FetchedAttachment 2 (rt's DrawKind); logic_operation 8 (its
  own structs and rt's private state).
- RuntimeInput: only LinkedFunction is used.
- No glob import or re-export of a metal2vulkan module (only `use metal2vulkan_runtime as rt`).

Verified: cargo fmt; refusal surface and signatures regenerated locally. The compile job and the
host suites follow on the branch.
2026-11-22 00:17:40 -08:00
Anees Iqbal 5eca62f83b Tests: the ulong atomic refusal is matched by its feature and needs
Suites job m3-max-65712 (at 1f15134d22, the same product tree as 3716ba5c3e) failed
ulong_atomics_are_refused_on_every_device and
legacy_texture_atomics_without_the_offset_compile_alike: both compared the whole Unsupported
with Unsupported::not_implemented(ImageAtomics), which carries no location or symbol, where the
refusal names its instruction and intrinsic. They now match the feature and NotImplemented.
Test-only.
2026-11-22 00:17:22 -08:00
Anees Iqbal e489d507a1 Tests: the leftovers of the ulong atomic view in two test modules
The merged-members round trip still asserted the removed fact, and the
ulong texture tests kept an unused vk import. Found by clippy in compile
job m3-max-65676 (the library itself compiled clean there).
2026-11-22 00:17:22 -08:00
Anees Iqbal e10fa7ba23 Docs: the mesh lowering is only compiled and validated, never compared with Metal on a GPU
The rule keeps the mesh lowering (a sole lowering a supported device
could run, and large) with an honest known-gap line. The runtime README's
mesh gap said "The translator compiles mesh pipelines"; it now says the
lowering is only compiled and validated and has never been compared with
Metal on a GPU. docs/API.md's Mesh pipelines section says so before it
describes what the lowering emits, and its "Every device runs a grid of
up to 2^29 threadgroups" becomes what the lowering takes. Validation's
README says a compiled cell of an object or mesh case in the authored
compile census means it compiles, not that it draws as Metal does.

Searched README.md, docs/*.md (METAL-COVERAGE and CONFORMANCE-COVERAGE
included), the runtime, validation and conformance READMEs: METAL-COVERAGE
lists mesh render pipelines as missing, and CONFORMANCE-COVERAGE counts
Metal-side cases only, so neither reads as mesh working. Docs only.
2026-11-22 00:17:22 -08:00
Anees Iqbal 37e64a6935 Runtime README: a kernel's derivatives are a known gap of pipeline states
The rule keeps a sole lowering a supported device could run with an
honest known-gap line. The compute-derivative lowering
(computeDerivativeGroupLinear, VK_KHR_compute_shader_derivatives) stays;
device creation does not enable the feature, so a kernel that calls
dfdx, dfdy or fwidth is refused on every device as
Unsupported{ComputeDerivatives}. The Not enabled table had the row; the
known gaps of pipeline states now say it where a user reads refusals.
Docs only.
2026-11-22 00:17:22 -08:00
Anees Iqbal c78ff4022c Translator: a ulong texture's atomics are refused on every device; the 64-bit image form goes
The rule: a sole lowering under 150 lines that nothing executes is
deleted to a typed refusal. Metal's atomic_min and atomic_max on a ulong
texture lowered to OpAtomicUMin/UMax on an R64ui image, which needs
shaderImageInt64Atomics; no runtime enables it, so nothing ran the form.

texture::atomic::select now refuses the pair as
Unsupported{ImageAtomics} not implemented, on every device. Gone with
the form: TexAtomic.ulong, the R64ui slot declaration and its reads and
writes in the emitter, RuntimeFact::UlongAtomicView with its codec, name
and mechanism rows, the binder's R64_UINT view and neutral,
DeviceProfile::ulong_atomic_gaps, LeafCaps.image_int64_atomics, and
R64_UINT in the queried formats. VK_EXT_shader_image_atomic_int64 is
described and never enabled. Product lines +34 -142.

Tests: the four tests of the 64-bit form and the fact's round trip go;
ulong_atomics_are_refused_on_every_device asserts the refusal on every
committed profile; the legacy-offset test takes the refusal as a gap;
the mechanism table renumbers; the recommendations test lists
shaderImageInt64Atomics as unread. The runtime README's known gap says
the atomics are refused, and its Not enabled row for
shaderImageInt64Atomics goes (the profile reads it no more).
docs/REFUSALS.md and api_signatures.tsv regenerate.

Consumer search (reims-vgpu ad28ebd881): ulong_atomic_gaps 0,
UlongAtomicView 0, image_int64_atomics 0.
2026-11-22 00:17:22 -08:00
Anees Iqbal 3f8f9d352d Translator: the grammar items drop FPEncoding, which no 8-bit float type names
The native 8-bit float deletion left spv.rs's FPEncoding (Float8E4M3EXT,
Float8E5M2EXT) unused, which clippy refuses (dead code). items.txt drops
the enum and spv.rs is regenerated from SPIRV-Headers vulkan-sdk-1.4.341.0;
the test parser's table.rs regenerates unchanged.

Found by clippy in compile job m3-max-65654.
2026-11-22 00:17:21 -08:00
Anees Iqbal 5b0909eea6 Tests: the recommendations leave out the never-enabled extensions' features
recommendations_are_closed_fixed_points_on_every_committed_profile
expected every listed feature with a member to be recommended except
VK_EXT_depth_bias_control's. VK_KHR_shader_fma and VK_EXT_shader_float8
are now described and never enabled, so their features (shaderFmaFloat16,
shaderFmaFloat32, shaderFloat8) join the unread list, and the test asserts
none of the three extensions is recommended.

Failed in suites job m3-max-65621 (amd-780m-hawkpoint-radv:
ShaderFmaFloat32).
2026-11-22 00:17:21 -08:00
Anees Iqbal 87b78f0ebd Translator: the grammar items drop the two execution modes nothing emits
The sample interlock and the post-depth coverage deletions left
ExecutionMode::SampleInterlockOrderedEXT and ::PostDepthCoverage
unconstructed, which clippy refuses (dead code), and the interlock
serializer test looping over one mode. items.txt drops the two values and
spv.rs is regenerated from SPIRV-Headers vulkan-sdk-1.4.341.0 (an unchanged
regeneration reproduced the committed spv.rs and table.rs byte for byte
first); the test builds its one mode directly.

Found by clippy in compile job m3-max-65620.
2026-11-22 00:17:21 -08:00
Anees Iqbal 90b3171413 Translator: a multisampled storage image is refused on every device; the enabled arm goes
Where a profile enabled shaderStorageImageMultisample a multisampled storage slot was declared,
and a heap held multisampled storage classes; elsewhere both were refused as needing the
feature. The runtime never enables it (its README: a multisampled texture has no storage element
on any device, as Metal's shaders only read one), and no test executes the declared form. The
enabled arm goes: the slot and the heap group are refused Unsupported::not_implemented(
Feature::StorageImageMultisample) on every device, the heap's image classes hold no
multisampled storage class, and the public ImageCaps.storage_multisample goes with its
derivation. docs/REFUSALS.md is regenerated (the refusal is ours now, at both sites). The
VkFeature vocabulary and the requirement derivation of a multisampled storage image type stay.

The runtime README's "Not enabled" row for shaderStorageImageMultisample goes
(tests::feature_enables fails on a row the profile no longer reads).

Tests: the heap class test asserts no multisampled storage class on any profile.

Class 3 of the planner's rule (a sole lowering under 150 lines that nothing executes). Public
item removed: ImageCaps.storage_multisample (api_signatures.tsv blessed); the consumer's
checkout (reims-vgpu at bd9d6ae85a) holds 0 uses of it. Product lines: +14 -16. No module that
compiles changes; no SEMANTICS bump.
2026-11-22 00:17:21 -08:00
Anees Iqbal 317613d939 Translator: an 8-bit float widens by the integer decode on every device; the native form goes
Where a profile enabled shaderFloat8 an 8-bit float of an OCP encoding (f8e4m3fn, f8e5m2, a
tensor's e4m3 and e5m2) widened through the device's own type (OpTypeFloat 8 with its
FPEncoding, Float8EXT, SPV_EXT_float8), and a tensor's element recorded
PrecisionNote::NativeFloat8. The runtime never enables shaderFloat8 (its README listed it under
Not enabled), so on its devices every 8-bit float already widened by integer arithmetic on its
fields, as Metal reads them; once validation enables what the runtime enables nothing runs the
native form. It goes with what only it reached: Fp8Layout's native field and Fp8Layout::on
(every caller takes Fp8Layout::of), fp8_native, native_float8, the crate-private LeafCaps.float8
and its derivation, the IR's Type::Float8 with its type facts, builder, serializer, requirement
and interpreter arms (the interpreter's OCP decode with it), and the public
PrecisionNote::NativeFloat8 with its cache codec entry (the batch bumps ARTIFACT_FORMAT_VERSION
once), conformance's Degradation::NativeFloat8 and validation's allowance arm. The enable-set
facts class VK_EXT_shader_float8 as described and never enabled (the matmul2d refusal its
comment named is not in the tree). The VkFeature, VkExtension and SPIR-V vocabulary stays.

Docs: docs/API.md's precision-note catalogue loses the native-float8 entry; the AIR front end's
matmul2d docs and the vocabulary docs say the integer decode; the runtime README's "Not
enabled" row for shaderFloat8 goes (tests::feature_enables fails on a row the profile no longer
reads).

Tests: the widening, matmul2d and SIMD-group matrix 8-bit float tests take the integer decode on
every profile, the RTX 50 profile (which lists shaderFloat8) included: no module declares
Float8EXT, and the matmul2d sums hold no NaN.

Class 1 of the planner's rule (an alternative to what the runtime runs). Public item removed:
PrecisionNote::NativeFloat8, here and as the runtime re-exports it (api_signatures.tsv
blessed); a consumer that matched it no longer compiles. The consumer's checkout (reims-vgpu at
bd9d6ae85a) holds 0 uses of it. Product lines: +23 -190. Modules change only on profiles that
enabled shaderFloat8 (their golden rows move, re-stamped at the pin); no SEMANTICS bump (the
profile fingerprint changes with the field and is in every cache key).
2026-11-22 00:17:21 -08:00
Anees Iqbal 624f6f618d Translator: reads no sample-location or provoking-vertex property
The description read sampleLocationSampleCounts, variableSampleLocations and
provokingVertexModePerPipeline into Limits, and the profile derived VkProperty::
SampleLocationSampleCount, VariableSampleLocations and ProvokingVertexModePerPipeline from them
where the extensions were listed. Nothing reads any of them: no lowering, link, bind or
requirement names those properties, and Apple's last provoking vertex is the index-list rotation,
which reads no Vulkan property. The runtime enables neither VK_EXT_sample_locations nor
VK_EXT_provoking_vertex. They go: the three public Limits fields and the three public VkProperty
variants, their derivation, their Khronos JSON and ash readers (the two property structures are
no longer chained), and their cache codec entries (the batch bumps ARTIFACT_FORMAT_VERSION once).
The enable-set facts class VK_EXT_sample_locations as described and never enabled. The
VkExtension and VkFeature vocabulary stays, ProvokingVertexLast with it.

Validation's profile bound table drops the three field names.

Tests: the property derivation tests and the provoking-vertex property test go; the codec and
the ash chain tests drop the removed variants and structure.

Class 1 of the planner's rule (an alternative nothing runs: properties the runtime never
enables and nothing reads). Public items removed: Limits.sample_location_sample_counts,
Limits.variable_sample_locations, Limits.provoking_vertex_mode_per_pipeline and the three
VkProperty variants (api_signatures.tsv blessed); a consumer that read any no longer compiles.
The consumer's checkout (reims-vgpu at bd9d6ae85a) holds 0 uses of each. Product lines: +7 -91.
No module changes; no SEMANTICS bump.
2026-11-22 00:17:21 -08:00
Anees Iqbal 6cca4639cb Tests: the float sweep's constant-step binding test goes with the zero divisor
Follows e77ca0a3c4. a_constant_step_binding_compiles_one_module_for_the_whole_sweep measured the
zero-divisor binding on native drivers under the resident tables; moved to the identity domains
it failed in suites job m3-max-65593 (at 3b9ee6e5b0): the float sweep's FloatRGB9E5 has no
fixed-function form and the identity domains refuse a pulled fetch (Unsupported{Format}). Its
subject is the deleted binding, so it goes, as class 1's tests do. The identity domains'
constant-step binding stays proven by the fetch test, the link test and the integer sweep (all
sixteen formats fixed function, which passed in that job); the module doc says so.
2026-11-22 00:17:21 -08:00
Anees Iqbal 3d8e01d2c2 Translator: the coverage after the depth tests is refused on every device; its lowering goes
[[sample_mask, post_depth_coverage]] read SampleMask under the PostDepthCoverage execution mode
where a profile enabled VK_EXT_post_depth_coverage, and was refused as needing the extension
elsewhere. The runtime never enables the extension, so it refused every such function all along,
and nothing ever executed the lowering: no test runs it, and the golden tables only compile it.
It goes to a typed refusal, Unsupported::not_implemented(Feature::PostDepthCoverage), at the
parameter's plan; the IR's ExecMode::PostDepthCoverage goes with its builder, serializer and
requirement arms, and the enable-set facts class the extension as described and never enabled.
The AIR decode of the parameter (Builtin::PostDepthCoverage) and the SPIR-V and Vulkan
vocabulary stay, the decode being what the refusal reads.

The refusal moves from a device's to ours: Feature::PostDepthCoverage's doc, its reach mark and
docs/REFUSALS.md (regenerated) say every device. The runtime README's known gaps of render
pipeline states gain its line: refused on every device, built on the extension with its tests if
a guest meets it.

Class 3 of the planner's rule (a sole lowering under 150 lines that nothing executes). No public
item goes (signatures.py --check clean). The consumer's checkout (reims-vgpu at bd9d6ae85a)
names it once, Metal's supportsPostDepthCoverage in a guest test's protocol member list, not an
item of ours. Product lines: +15 -34. The golden tables' pdc_after rows move from compiled to
refused on the profiles that enabled the extension (re-stamped at the pin); no SEMANTICS bump
(the refusal changes no module that compiles).
2026-11-22 00:17:21 -08:00
Anees Iqbal 22d32fc372 Translator: a raster order group takes the pixel interlock alone; the sample interlock goes
A raster order group of a function that runs at sample rate took SampleInterlockOrderedEXT where
a profile enabled fragmentShaderSampleInterlock and not the pixel interlock. The runtime never
enables the sample interlock (floor.rs: the pixel interlock where reported, the sample interlock
left off), so on its devices every group already took the pixel interlock or was refused; once
validation enables what the runtime enables nothing runs the sample arm. It goes with the
public FragmentCaps.sample_interlock and its derivation, the IR's ExecMode::SampleInterlockOrdered
with its builder, serializer and requirement arms, and lower::fragment::rog's sample-rate test
of the stage interface. The refusal on a device without the pixel interlock names that feature
alone, at the site and in the device's unsupported-feature list (docs/REFUSALS.md regenerated).
The VkFeature, SPIR-V capability and execution-mode vocabulary stays.

The runtime README's "Not enabled" row for fragmentShaderSampleInterlock goes
(tests::feature_enables fails on a row the profile no longer reads).

Tests: the sample-interlock test becomes a test that a device with the sample interlock and
without the pixel interlock refuses a sample-rate group; the builder and serializer tests take
the pixel interlock.

Class 1 of the planner's rule (an alternative to what the runtime runs). Public item removed:
FragmentCaps.sample_interlock (api_signatures.tsv blessed); the consumer's checkout
(reims-vgpu at bd9d6ae85a) holds 0 uses of it. Product lines: +15 -58. Modules change only
on profiles that enabled the sample interlock without the pixel interlock (none of the
committed profiles); no SEMANTICS bump.
2026-11-22 00:17:21 -08:00
Anees Iqbal 1e46094856 Translator: a pipeline layout states no push-descriptor eligibility
PipelineLayout.push_descriptor_eligible said set 0 fits maxPushDescriptors where a profile
enabled VK_KHR_push_descriptor (or stated Vulkan 1.4). The runtime never enables push
descriptors and reads the flag nowhere, and it queries at Vulkan 1.3; once validation enables
what the runtime enables no profile it compiles for has them. The flag goes with the public
DescriptorCaps.push_descriptor it read and its derivation; the replay modules' layouts and the
generated-variant comparison drop it, and the cache codec's PipelineLayout record loses the
field (the batch bumps ARTIFACT_FORMAT_VERSION once). The enable-set facts class
VK_KHR_push_descriptor as described and never enabled. Limits.max_push_descriptors stays: the
requirement check reads it for VkLimit::MaxPushDescriptors.

docs/API.md's advice on pushing set 0 on MoltenVK is the consumer's own binding choice and
stays.

Tests: the eligibility test and the sweep's eligibility assertion go; the digest and
generated-variant tests that flipped the flag change the layout by an added set instead.

Class 1 of the planner's rule (an alternative to what the runtime runs). Public items removed:
PipelineLayout.push_descriptor_eligible and DescriptorCaps.push_descriptor (api_signatures.tsv
blessed); a consumer that read either no longer compiles. The consumer's checkout (reims-vgpu
at bd9d6ae85a) holds 0 uses of either. Product lines: +8 -25. No module changes; no SEMANTICS
bump.
2026-11-22 00:17:20 -08:00
Anees Iqbal 9e0ea31f95 Translator: the enable-set facts class VK_KHR_shader_fma as described and never enabled
Follows ac705cf061, after which the translator reads none of the extension's features (a float
fma is the device's Fma on every device): recommended_enables named the extension and its
shaderFmaFloat16/32 features as consumed, and no longer does. The vocabulary and its query stay.
The consumer's checkout (reims-vgpu at bd9d6ae85a) calls no recommended_enables.
2026-11-22 00:17:20 -08:00
Anees Iqbal 58b5fad7f3 Translator: reads no VK_EXT_depth_range_unrestricted; a depth comparison notes the range everywhere
Where a profile enabled VK_EXT_depth_range_unrestricted the translator clamped a fragment
function's depth output to [0, 1] itself (Vulkan then stores it unclamped) and recorded no
PrecisionNote::RestrictedDepthRange for a depth comparison. The runtime never enables the
extension (its README: the floor does not require it, and replace_region refuses a float depth
upload as Gap::FloatDepthUpload), so on its devices the depth was already Vulkan's own clamp
and every depth comparison already recorded the note; once validation enables what the runtime
enables nothing runs either arm. Both go: DepthClamp::clamps and clamps_fragment_depth (the
[0, 1] selects now run under the depth clamp range input alone, as they did on every profile
without the extension), and depth_comparison records the note unconditionally. The enable-set
facts class the extension as described and never enabled (the core reads none of it), so
recommended_enables no longer names it. The VkExtension vocabulary stays.

Docs: PrecisionNote::RestrictedDepthRange's doc and docs/API.md's catalogue entry say the note
is recorded on every device, the runtime enabling no VK_EXT_depth_range_unrestricted.

Tests: the test that compared a depth output with and without the extension and the test that
the extension is read from a description go; the comparison test records the note on every
profile, RADV's (which lists the extension) included; the kill and depth-clamp-range tests stay.

Class 1 of the planner's rule (an alternative to what the runtime runs). No public item goes
(signatures.py --check clean); the consumer's checkout (reims-vgpu at bd9d6ae85a) calls no
recommended_enables and names the extension nowhere. Product lines: +34 -57 (most of both
are doc lines). Modules change only on profiles that enabled the extension (RADV, lavapipe,
NVIDIA golden rows move, re-stamped at the pin); no SEMANTICS bump (the profile's enabled set
is in every cache key).
2026-11-22 00:17:20 -08:00
Anees Iqbal 985181cc07 api_signatures.tsv: FragmentCaps.vertex_attribute_zero_divisor is gone
The table follows e77ca0a3c4, which removed the field: a consumer that read it no longer
compiles (reims-vgpu at bd9d6ae85a reads it nowhere). Written with signatures.py --bless;
signatures.py --check reads clean.
2026-11-22 00:17:20 -08:00
Anees Iqbal 7476217a4c Translator: a constant step outside the identity domains is pulled; the zero divisor goes
A constant step function outside the identity domains was an instance-rate binding of divisor
0 and stride 0 where a profile enabled vertexAttributeInstanceRateZeroDivisor, and pulled
elsewhere. The runtime never enables that feature (floor.rs gives the step-rate feature and
leaves the zero divisor beside it off), so on its devices the constant step was already pulled
outside the identity domains, and once validation enables what the runtime enables nothing runs
the zero-divisor arm. It goes with the public FragmentCaps.vertex_attribute_zero_divisor and its
derivation; the identity domains keep their vertex-rate binding of stride 0. The VkFeature
vocabulary stays.

The runtime README's "Not enabled" row for vertexAttributeInstanceRateZeroDivisor goes
(tests::feature_enables fails on a row the profile no longer reads).

Tests: the fetch test states the constant step as the identity domains' vertex-rate binding
and pulled under the resident tables; the link test links the identity domains' binding (vertex
rate, divisor 1, stride 0); the native sweeps take the identity domains; the uniform-varyings
test adds nvidia-rtx5080-laptop under the identity domains, where the constant step is still a
fixed-function binding in the vertex function's key.

Class 1 of the planner's rule (an alternative to what the runtime runs). Public item removed:
FragmentCaps.vertex_attribute_zero_divisor; the consumer's checkout (reims-vgpu at bd9d6ae85a)
holds 0 uses of it. Product lines: +7 -38. Modules change only on profiles that enable the zero
divisor (their golden rows move, re-stamped at the pin); no SEMANTICS bump (the profile
fingerprint changes with the field and is in every cache key).
2026-11-22 00:17:20 -08:00
Anees Iqbal b46d24a16a Translator: the arms the f32 atomic add and OpFmaKHR deletions left behind
What clippy reported at 3eaf69e8e3 (compile job m3-max-65573): the half-arithmetic detector in
lower::arith::narrow still matched the deleted Inst::Fma (a half fma is Glsl Fma, which it
already matches); the requirement derivation bound an atomic's op it no longer reads and
imported AtomicOp; the thread-atomic fallback's Rmw(_) arm became unreachable once every
AtomicOp has its arm; the derivation tests imported ConvOp only for the deleted OpFmaKHR test.

No behaviour changes.
2026-11-22 00:17:20 -08:00
Anees Iqbal 4ff156420f Translator: a float fma is the device's Fma on every device; OpFmaKHR goes
The OpFmaKHR route (Route::Khr, chosen where a profile enabled shaderFmaFloat32) was a second
form chosen by a query outside the nine rule 2 allows. The runtime never enables
VK_KHR_shader_fma (the owner's fma ruling stands: GLSL Fma with PrecisionNote::NativeFma), so
on its devices a float fma was already the device's Fma, and once validation enables what the
runtime enables nothing runs the KHR route. It goes with what only it reached: the
crate-private LeafCaps field and the routes' float field (a float fma's route is
Route::Native on every profile), the IR's Inst::Fma and FunctionBuilder::fma with their arms
in every pass, the serializer, the interpreter and the requirement derivation (FMAKHR,
SPV_KHR_fma, shaderFmaFloat16/32). The SpirvExtension and VkFeature vocabulary stays.

PrecisionNote::NativeFma's doc and docs/API.md's catalogue entry say a float fma is the
device's Fma without naming a device that had OpFmaKHR. The runtime README's "Not enabled" row
for shaderFmaFloat32 goes (tests::feature_enables fails on a row the profile no longer reads).

Tests: the interpreter, builder and derivation tests of OpFmaKHR go; the route, fast-fmod and
fused tests take the device's Fma on every profile; the tests that took one profile per float
route take the first committed profile (one route now).

Class 1 of the planner's rule (an alternative to what the runtime runs). No public item goes;
the consumer's checkout (reims-vgpu at bd9d6ae85a) holds no use of the items removed. Product
lines: +44 -143. Modules change only on profiles that enable shaderFmaFloat32 (moltenvk-m3's
golden rows move, re-stamped at the pin); no SEMANTICS bump (the profile fingerprint changes
with the field and is in every cache key).
2026-11-22 00:17:20 -08:00
Anees Iqbal 43dd6296bd Translator: an f32 atomic add is a compare-and-swap loop on every device
The native form (OpAtomicFAddEXT through a typed device address, chosen where a profile
enabled shaderBufferFloat32AtomicAdd) was a second form chosen by a query outside the nine
rule 2 allows. The runtime never enables the feature, so on its devices the add and the
subtract were already the compare-and-swap loop on the word's bits, and after validation
enables what the runtime enables nothing runs the native form. It goes with what only it
reached: AtomicKind::FloatAdd, the f32 typed alias of a slot, the crate-private LeafCaps
field, and AtomicOp::FAdd in the SPIR-V IR (its builder check, its requirement arm with the
float-add capabilities and extensions, and its interpreter arm). The float atomics'
requirement keeps the plain feature per storage class and width, for the loads, stores,
exchanges and compare-exchanges the IR still expresses. The SpirvExtension and VkFeature
vocabulary stays (a description still lists the features).

The runtime README's "Not enabled" row for shaderBufferFloat32AtomicAdd goes:
tests::feature_enables fails on a row whose feature the profile no longer reads.

Tests: the atomics and pointer-memory counts take the loop on every profile; the a27 sync
expectation reads the loop's acquiring load and its compare-exchange in place of the native
add; the MoltenVK MSL check asserts the loop; the IR tests take an exchange where they took
the native add.

Class 1 of the planner's rule (an alternative to what the runtime runs). No public item goes.
The consumer's checkout (reims-vgpu at bd9d6ae85a) holds no use of the items removed.
Modules change only on profiles that enable the feature (the golden rows of such profiles
move, re-stamped at the pin); the profile fingerprint changes on every device because a
field goes. No SEMANTICS bump: the fingerprint is in every cache key.
2026-11-22 00:17:20 -08:00
Anees Iqbal c48135882a rt README: the 780M make-stall row gives the page cache as 20.5 to 21.0 GiB
What: the known-gap row of the AMD kernel driver's compaction inside a Shared make said 21 GiB of
page cache; job m3-max-66343 (Radeon 780M, RADV, Mesa 26.2.6, Linux 7.3.3) read Cached 21,019 to
21,462 MiB before each set of makes, 20.5 to 21.0 GiB. The previous commit's message rounded it
to about 21 GiB the same way.

Why: the row's figures are the job's own.

Verified: docs only, checked by a compile job of this commit (fmt, workspace Rustdoc -D warnings,
scripts/api-docs).
2026-11-21 23:54:25 -08:00
Anees Iqbal 7fb7d64310 rt README: the AMD kernel driver's compaction inside a Shared make, a known gap of memory blocks
What: one row in "Known gaps of memory blocks". On amdgpu a Shared allocation's make gathers its
pages inside the driver's create, under the reservation of the device's page tables that every
submit, import, map and close on the device also takes; with the host's free memory low the
kernel compacts first and those calls wait behind it. The row names what the runtime does not do
and why: it keeps one unit length on every device (a shorter unit moves makes onto the take path)
and keeps no memory to avoid the call.

Why: the 780M block-make stall is recorded at rung 4 of the workaround ladder; the 2 MiB unit was
ruled out (it moves the time, it does not remove it, and puts makes on the consumer's take path on
every device), and a kernel draft for the maintainers is rung 3.

Evidence:
- Standalone program, Radeon 780M (RADV, Mesa 26.2.6, Linux 7.3.3), job m3-max-66343: free memory
  303 to 318 MiB before each set of makes, 8,257 MiB of resident shared memory, about 21 GiB of
  page cache; 55 makes of 16 MiB met 5.16 and 6.91 compaction stalls a make in its two passes,
  and the longest submit held behind a make was 13.87 ms (12.26 ms in the other pass).
- Guest walk on a Radeon 780M, rt at 4e9aad67d5, job m3-max-66278: the long 16 MiB makes met 5 to
  18 compaction stalls each, and 8 of the 9 submits of 5.3 to 22.6 ms waited behind a make.

Verified: docs only, checked by a compile job of this commit (fmt, workspace Rustdoc -D warnings, scripts/api-docs).
2026-11-21 23:54:24 -08:00
Anees Iqbal cdc0a2b5d2 rt README: the host-memory copy's figure from walk m3-max-66271, every byte on a program's own pages
The known gap "a texture over a buffer in host memory's import is the counted copy" carried a
figure from an older walk (rt b4058db961, 15 steps, 5.71 GB, 11.7% of a 1080p frame a frame). It
now states the walk at rt 306d357141 (job m3-max-66271: an M3 Max on Mesa's Mac driver, 20 steps,
5,969 presents in 481 s): 4.67 GB of host-memory copies, 97.2% of 4.81 GB of over-copies, 9.7% of a
1080p frame's bytes a present on average, 0.44% to 45.7% a present in the steps that present more
than once. Every figure is read from that job's log.

Whose pages (lane importpages, a read of the consumer's public development a8d2836ba3, nothing
built): the walk's 2,515 imports are all views of pages blocks (2,277 by pointer, 238 read-only
copies), its 3,039 buffers over them equal its 3,039 no-copy buffers, and it made no region,
scanout or device-cache import. So every imported over-copy is over a guest program's own pages
(newBufferWithBytesNoCopy), which the host-pointer handle type leaves to the counted copy (Vulkan
11.2.6, VUID-VkImageCreateInfo-pNext-01443, both quoted in the section). Bundle-allocated memory is
already pool pieces, in place (870, none copied). By the planner's reading rule this closes the
open row as the known gap.

Docs only.
2026-11-21 23:53:39 -08:00
Anees Iqbal 1748871111 Harness: the releases-under-work row waits for the block-maker thread at each read
The row read the gauges right after waiting for a command buffer and argued its bound from
completion order. But a completed command buffer's releases leave the gauges on the block-maker
thread: the completion thread only wakes it (memory.rs), and it hands held entries on a turn of
its loop later, after any make or free asked in that turn. Nothing tied "completed" to "left the
gauge", so the read raced that thread. On the RX 7900 XTX (RADV NAVI31, round 0df3725022, job
m3-max-66320) it read releases_waiting 134 (bound 128) and textures 70 (bound 64) at iteration 100,
four iterations' worth plus 6 objects of a fifth caught being handed on, and 32 and 16 at 200; the
same leg passed the 7 rounds before.

At each read the row now waits, at most WAIT (10 s), until the three gauges are at or under their
bounds, records what it then reads, and fails with the same line if they never get there. The claim
stays: nothing stays beyond what the work in flight accounts for, at iteration 100 and at 200. A
wait that runs out on any card means releases really lag completed work.

Test only (the harness's own row); no product file changes.
2026-11-21 23:51:16 -08:00
Anees Iqbal 3cd2ec1dc0 tests::floor: the missing-feature table is 67 long without alphaToOne
deecf3883d took alphaToOne out of the floor's required features and its entry out of
each_missing_feature_is_named, but left the table declared 68 long, so the runtime's tests did
not compile (clippy, job m3-max-66191). The table now declares the 67 entries it holds.

Verified: the entry count read from the source (67); the compile job follows.

No AMD card runs Windows in the lab: on AMD's own Windows driver this is expected, not
verified.
2026-11-21 23:35:24 -08:00
Anees Iqbal c5209e66ba rt floor: alphaToOne is enabled where the device reports it, no longer required
A user's Radeon under AMD's own Windows driver was refused at device start, partly because it
reports no `alphaToOne`. The feature leaves the floor's required features and joins the tables
device creation enables where the device reports it (`floor::ALPHA_TO_ONE`, beside the min-LOD and
fill-mode ones). Nothing else changes. Where the device reports the feature, creation enables it,
the translator's description states it, and a render pipeline that sets `alphaToOneEnabled` takes
the device's own `alphaToOneEnable`, as before. Where it does not, the translator's existing typed
refusal applies: `Unsupported{AlphaToOne, Feature(AlphaToOne)}` from `link::graphics_state`, already
in docs/REFUSALS.md, which `refusal_surface.py` regenerates unchanged. This change adds no other
form, in the shader or elsewhere.

- floor.rs: `ALPHA_TO_ONE` in `ENABLED` and in `decide()`'s reported-copy chain; `REQUIRED` loses it.
- rt README: the Features row moves to its own "Alpha to one" table, and a known-gap row under
  render pipeline states. 0 of the 58,976 render states of the nine standard streams set
  `alphaToOneEnabled`, and 0 set alpha to coverage (states-only plays plus dumps on lavapipe, job
  m3-max-66153).
- runtime-floor.json and its generator lose `alphaToOne` from the m2v_runtime_floor block, which
  `the_floor_profile_states_exactly_the_floor` holds equal to `REQUIRED`.
- Tests: `the_alpha_to_one_feature_is_enabled_where_reported` (decide and shader_enables, with
  and without the feature); `at_the_floor` no longer reports it; the missing-feature list drops it;
  the README table check covers the new table. The device test
  `every_device_draws_lines_under_alpha_to_coverage_or_one` expects the typed refusal on a device
  without the feature. The translator test `alpha_to_one_is_refused_only_without_the_feature` reads
  `runtime-floor` as it is.

Honesty line: no AMD card runs Windows in the lab. On that driver this is expected, not verified.
This commit says what the code now does; it does not say that user's device now starts.
Verified: see the compile job named in the landing message.
2026-11-21 23:35:24 -08:00
Anees Iqbal 9ed2459687 Bless at pin bef2ec1df4: golden table and render key under SEMANTICS 2270, census
The pin's one bless, for the one translator change since the last pin (a347af5f65, the two stage
bounds by path, SEMANTICS 2269 -> 2270). Test tables only; no product file changes.

- golden_hashes.tsv: the semantics line 2269 -> 2270; no output hash moved (0 cells).
- the old render descriptor key: b1d53e28... -> bc36088524b754a57425878006f367151c552d953b4ad68a03d7f55708864b9f,
  read at bef2ec1df4 (job m3-max-66354); the key moves with SEMANTICS.
- the authored compile census (corpus/authored-compile.tsv): 2,333 cases x 9 profiles, failed 0,
  differences 0, regressions 0; only its product digest line moves.

Verified: bless job m3-max-66348 at bef2ec1df4 (inventory, golden, printouts, opened chains: each
exit 0; census exit 0). The one suite failure at a347af5f65 these tables clear (m3-max-66314):
the old render descriptor key.
2026-11-21 23:34:27 -08:00
Anees Iqbal bef2ec1df4 rt: a texture over an exported block is copied in once a change of its bytes
A texture over a buffer in an exported block (Private; no host write reaches it; the other
API's writes are announced by Block::external_writes_done) took the Shared rules: the upload
that leads every submission that used it copied its bytes in again. On a device whose dma-buf
surfaces take the copy form (the RX 550: no modifier extension, and no dma-buf image in LINEAR
tiling either) that was every plane of every picture in every submission that read it.

Now the submissions keep such textures (over::ExportedOvers, in the work state) with what each
owes: a copy in after its making, an acquire or a zero fill of the block (numbered by the next
commit, so a submission of command buffers committed before the event does not settle it), a
submitted command's write of its bytes, a write through an address, or another texture's copy
back over them. The leading copy is taken only where one is owed; a submission that only reads
the texture copies nothing. Inside a segment the Shared rules stand. No new form: the copy form
itself is unchanged, and Managed and Shared buffers keep their rules.

Test: tests/exported_overs.rs, on every device: a fill and the block's acquire, then four reads
= 1 copy (one plane's bytes); a fill, three reads = 1; a zero fill, two reads = 1; two reads with
no event = 0; each read's bytes are the last event's. Without the change the first four reads
copy 4.

README: the texture-over-buffer rules gain the exported block's; the copy form's known gap
states the RX 550's measured queries (no dma-buf image in LINEAR tiling either) and the bound,
and the RTX 3090 row names its jobs.
2026-11-21 23:23:48 -08:00
Anees Iqbal a347af5f65 Two stage bounds by path: kernels leave the process past 39,014, render stages are refused past 99,109
COMPILED_STAGE_WEIGHT is now 39,014: the heaviest kernel measured to compile in its creating
process within 512 MiB of that process's resident growth on every driver measured. Made cold (no
pipeline cache, shader cache off) and alone in its own process, the app library's heaviest kernel
under the old bound (entry weight 39,014) grew the process by 350 MiB in 6.8 s on the Iris Xe of
RPL-P (ANV, Mesa 26.2.6; job m3-max-66048), 148 MiB in 1.8 s on an RTX 3090 (NVIDIA 620.70.06;
job m3-max-66050) and 80 MiB in 0.55 s on a Radeon 780M (RADV, Mesa 26.2.6; job m3-max-66049).
No real stage between 39,014 and 99,109 is measured (the app's 63-kernel library, job
m3-max-65984; the nine standard streams and the app's two recordings, states-only on lavapipe, job
m3-max-66001). The older build's 1.76, 2.24 and 3.65 GiB (job m3-max-26147) and the helper's
2,620/2,763 MiB and 3 GiB breaches (job m3-max-65807) stay in the docs as what lies above it.

No helper compiles a render stage, so the runtime keeps 99,109 as its own render bound
(stage::RENDER_STAGE_WEIGHT): past it a render pipeline is refused (Gap::StageSize,
StageGap::RenderStage), at or under it it compiles in the process with no cap. The heaviest real
render stage measured (35,063 beside a vertex stage of 431; 39,424 as lavapipe's profile weighs
it) grew the process by 316 MiB in 3.8 s on the Iris Xe (job m3-max-66048), 180 MiB in 2.5 s on
the RTX 3090 (job m3-max-66050) and 58 MiB in 0.6 s on the 780M (job m3-max-66049). The docs say
the two numbers measure two things and become one when a render helper exists. Metrics gains
render_makes_past_kernel_bound and render_weight_past_kernel_bound_max: render pipelines translated
with a stage past the kernels' bound, and the heaviest such weight.

The translator's re-plan keeping the widest pin follows the constant (StageBounds::MEASURED), so
SEMANTICS_VERSION 2269 -> 2270. The rt README's stage-bound section, its render-pipeline known gaps (the
uncapped range), Gap::StageSize's docs, docs/API.md, docs/REFUSALS.md and the signature table are
updated; the "132 s and 3.65 GiB" basis is replaced by today's figures.

Test: a_render_state_past_the_kernel_bound_is_made_in_process_and_counted (with the kernels'
bound set to 1, a render state is made, not refused, and counted once at its heaviest weight); it
fails before this change, where the render check read the kernels' bound.

Verified: the figures are the rows of jobs m3-max-66048, 66049 and 66050 (probe branch
steelbrain/boundread-probe 7dd5c2f52e, never lands: each make's peak reset before it, VmHWM after
it less VmRSS before it). Checks on the branch (f8ed8d8953, the same change on 4e9aad67d5 with its bump numbered 2271):
compile job m3-max-66144 green (fmt, clippy plain / m2v_gpu / m2v_cpu_icd, workspace Rustdoc,
signatures, refusal surface, api-docs); the rt device suite on lavapipe m3-max-66148, 640 passed;
suites m3-max-66146, product 4023/4027 with the four bless-class failures development's own run
showed, validation 1334/1334, conformance 1025/1025, doctests. Golden: 0 cells moved by this change
(887 changed in both arms, jobs m3-max-66226 and m3-max-66260, lists identical); the render key
moves with SEMANTICS. States-only play of the 9 standard streams (m3-max-66274): 0 refused, 0 not
attempted, every count equal to m3-max-65778's. Landed on 626cbd9846 with SEMANTICS 2270, as it
landed before the batch.
2026-11-21 23:13:25 -08:00
Anees Iqbal 626cbd9846 rt places test: the long-block free test waits for the free's record, not only the gauge
free_idle lowers the allocation gauge in free_allocation (memory.rs 2735), counts
AllocationsFreed, and only then pushes the record core.pool.frees() returns (2720). The test
waited for the gauge's fall and read frees() at once, so it could read between the two:
"one free", left 0, right 1, on the Radeon 780M Hawk Point (RADV) in round 306d357141
(m3-max-66137), green on the same card in the four rounds before and on every other card. It now
also waits until the record is there; the record cannot come before the gauge, as its time is
taken after the free. Test only; the next round shows it.
2026-11-21 23:09:49 -08:00
Anees Iqbal 0df3725022 Bless at pin 4e9aad67d5: golden hashes and render key under SEMANTICS 2269, printouts, census
The pin's one bless, for the two translator changes since 306d357141 (SEMANTICS 2267 -> 2268
item 10, -> 2269 the store form's removal) and the cases they removed. Test tables only; no
product file changes.

- golden_hashes.tsv: the output hashes under SEMANTICS 2269.
- the old render descriptor key: 720f6214... -> b1d53e281c7439a4d2abdba9a7bb8a810fb86b3cb94d60bb73a3871c1ce07e2b,
  read at 4e9aad67d5 (job m3-max-66253); the key moves with SEMANTICS.
- tests/air_input/dsx_lane_reads.txt: the printout of the kernel entry dsx_lane_reads keeps.
- public_fixture_expectations_engine.tsv: 12 rows of fixtures whose cases went.
- the authored compile census (corpus/authored-compile.tsv): 2,333 cases x 9 profiles, failed 0,
  regressions 0. Its 45 differences are cases: 44 removed (37 by 2ad51e7cc4, 7 by 7605fda3b1) and
  1 new (145d0d33, the kernel entry 7605fda3b1 kept, re-keyed); 2,208 artifacts moved.

Verified: bless job m3-max-66212 at 4e9aad67d5 (inventory, golden, printouts, opened chains: each
exit 0; census exit 0). The four suite failures at 4e9aad67d5 these tables clear (m3-max-66136):
the old render key, the engine fixtures' printout, the golden hashes, public fixtures part 5.
2026-11-21 22:57:49 -08:00
Anees Iqbal 4e9aad67d5 Re-pin the runtime sources at the landing tip
The landed packet changed a runtime-sources input, so the committed digest no

longer described the sources and `the_runtime_sources_are_the_committed_ones`

would fail. Recomputed over the same inputs and committed by land-pkt.sh.
2026-11-21 22:21:28 -08:00
Anees Iqbal 0e2c9e8bd0 Remove the branchless private-store form: the RTX 3090's render span is 6.0% slower with it
The planner's rule for the store form (cd0dce11b5, 00ee1bd86f, b4a7c175d4), set before it read:
the consumer's render span of a 3D modelling program on the RTX 3090, the RX 7900 XTX and the
Radeon 780M; 3% or more slower on any card removes the form by a new commit. The spans at pin
306d357141 against single spans of an earlier walk read +3.7% on the RTX 3090 (19.07 and 19.31 s,
jobs m3-max-65937 and m3-max-65963), +0.5% on the RX 7900 XTX (m3-max-65951) and +0.5% on the
Radeon 780M (m3-max-65938). The RTX 3090's reading was then taken again as one exclusive job with
the arms alternated, warm, cold fills done before timing (m3-max-66071, order IN OUT IN OUT, IN =
the runtime at 306d357141, OUT = this removal on it at be9c94e9d9):

| launch | span (first sample to quit) | app clock (sample 0 to 64) |
|---|---|---|
| IN 1 | 19.03 s | 18.54 s |
| OUT 1 | 18.12 s | 17.62 s |
| IN 2 | 19.09 s | 18.57 s |
| OUT 2 | 17.84 s | 17.33 s |

IN's mean span 19.06 s against OUT's 17.98 s: with the form, 6.0% slower (app clock 6.2%). The
fastest IN launch is slower than the slowest OUT launch. The first sample came at 16.65 to 16.75 s
in both arms, so the difference is in the render. Every launch fatal 0, no refusal.

The product files of the three commits go back to their form before cd0dce11b5: a contained store
into a thread's private memory runs in a branch on its bounds again (lower/access/local.rs,
lower/access/atomic.rs, lower/access/tile.rs, memory/alloca.rs, memory/arena.rs), and the
translator's shape tests (engine_arena, engine_device_arena, engine_typed_clamp) take their old
bounds. The runtime's execution test private_sinks and its M3 probe stay: what they check (an
in-bounds store lands, a store past both arrays changes no word a thread reads, a NaN's payload is
kept) holds for either form; its doc no longer describes the removed select.

What the guest loses: the helper peak of the app's heaviest kernel goes back up, 2,371 to 2,515 MiB
on the RTX 3090 (job m3-max-65695) and 740 to 976 MiB on the RX 7900 XTX (m3-max-65697). Every
peak stays under the consumer's 3 GiB cap.

Verified on the branch at be9c94e9d9 (on 7605fda3b1): quick check m3-max-65994 green; suites
m3-max-65995 green but for bless-class items (render key, a printout, golden hashes, the engine
inventory, the runtime-sources pin); the 252-row hash probe m3-max-65998 equal to the modules
before the form (fee1d03dd4); the states-only play of all 9 standard streams m3-max-66027: 0
refused, every count equal to m3-max-65778's. Cherry-picked onto 2ad51e7cc4 with no conflict.

SEMANTICS_VERSION 2268 -> 2269 (modules change back; the version moves forward). Bless items
expected at the next pin: golden hashes under 2269, the render descriptor key, the authored
compile census.
2026-11-21 22:20:39 -08:00
Anees Iqbal 2ad51e7cc4 Validation: the cases whose point is a read of a lane that takes no part go
A read of a lane that does not take part, and a simdgroup multiply-add some lanes of the simdgroup
do not run, are undefined Metal (MSL 4.1 sections 6.10.2 and 2.4); the lowering no longer gives
them zero, and nothing promises a value there. The authored cases whose point is that read are
deleted, not re-targeted, with their Metal and Vulkan rows (corpus-case-check --delete-air
--delete-name, job m3-max-66011): 37 cases.

- dsm_half_live_built, dsm_half_live_inside, dsm_half_live_loaded, dsm_odd_live_loaded: all ten
  (lanes 0-15 or the odd lanes run the multiply-add);
- dsm_uniform and dsm_whole_by_buffer in threadgroups of 1, 8, 16 and 48 (the absent lanes'
  cells): eight;
- dsm2_shuffle_past_n and dsm2_shuffle_past_n_more past the thread count: nine;
- dsm2_zero_sign and dsm2_zero_sign_uniform with lanes not live or absent (the zero cell's sign):
  eight;
- gsm2_vertex_votes_shifts' simd-shuffle-up-down-and-fill-up-in-a-vertex-function-with-a-partial-
  simdgroup (its rationale: "Where a shuffle's source lane is inactive, the word records what
  Metal returns");
- rvc_simd_vertex_fill's simd-shuffle-and-fill-down-with-a-modulo-in-a-vertex-function: over 40
  points the second simdgroup's lanes 5-7 read lanes 8-10, past the draw. Its other point, a fill
  with a modulo in a vertex function, is no documented behavior (MSL 6.10.2 defines the
  SIMD-group functions for kernel and fragment functions) and
  quad-and-simdgroup-fills-by-constant-moduli-in-a-vertex-function covers it over 64 points.

How the set was found: job m3-max-65997 ran all 167 cases over a fixture whose module moved on
lavapipe (LLVM 23.1.1, 256 bits), with the previous commits' lowering and with development's. 33
kernel cases matched Metal only under development's lowering; all are in the list above. Two
more, threadgroups of 8 and of 1 (652f151f..., e4e68bcb...), still match by their inputs alone
(the calling lane's cells are zeros where Metal's absent lanes were), and the two vertex cases do
not run on lavapipe. Every other case gave the same outcome under both lowerings (108 match, 2
fragment fills noted under both, 24 vertex cases not supported there).

Kept: each family's whole-group cases (dsm-a-* and dsm-a-uniform-*, dsm2-shuffle-whole-simdgroup,
dsm2-shuffle-more-whole-simdgroup, dsm2-zero-sign-whole-simdgroup* and
dsm2-zero-sign-uniform-whole-simdgroup). No case is re-targeted or added, so none needs a new
Metal qualification. The engine README's rows for rvc_simd_vertex_fill and
gsm2_vertex_votes_shifts drop the deleted cases.

Bless due on development: the authored compile census (37 cases gone).
2026-11-21 22:13:26 -08:00
Anees Iqbal 6fe14609d5 SIMD tests: promise no value for a read of a lane that takes no part
The tests asserted all-zero bits, or +0 cells, where a move or a multiply-add reads a lane that
does not take part: undefined Metal (MSL 4.1 sections 6.10.2 and 2.4), and since the previous
commit not the lowering's answer either. They now check only what is promised: the run completes
(the interpreter traps a shuffle that names an invocation outside its tangle, and a barrier some
invocation misses), every word a running thread stores is written, and every word read from
lanes that take part is exact, the whole group's product in full. No assert on the calling
lane's value replaces a zero.

- engine_simd_partly_live: the model is the exact c + a·b of a whole simdgroup ([`exact`]); a
  thread whose whole simdgroup runs the multiply-add holds it, one whose simdgroup runs it in part
  writes its cells, one that does not run it writes nothing. The partly live readings and the
  zero-cell sign test go; the whole-simdgroup readings stay (the_model_is_metals_reading,
  a_whole_simdgroups_signed_zeros_are_metals_reading). Renamed with the zero gone:
  a_partly_live_simdgroup_runs_its_multiply_add, a_partial_simdgroup_runs_its_multiply_add,
  uniform_flow_runs_a_partial_simdgroups_multiply_add, the_emulated_tier_runs_the_zero_sign_fixtures,
  the_subgroup_tiers_run_the_zero_sign_fixtures,
  a_multiply_add_under_a_branch_on_a_collective_is_divergent,
  the_emulated_variant_runs_partial_simdgroups,
  a_narrow_subgroups_permanently_inactive_lanes_are_named_by_no_instruction. The subgroup tiers'
  mixed test splits: its four whole dispatches, unchanged, are
  whole_simdgroups_run_the_exact_multiply_add_on_the_subgroup_tiers, and its partly live ones
  the_subgroup_tiers_run_a_partly_live_multiply_add_without_naming_a_lane_that_takes_no_part.
- engine_simd_past_n: the models give a word only where its source is an active lane (None
  past the thread count), checked against Metal's readings on those words alone;
  the_emulated_tier_reads_the_active_lanes_of_a_partial_simdgroup and
  the_emulated_variant_reads_the_active_lanes_of_a_partial_simdgroup.
- engine_simd_emulated: expected() gives None where a word depends on a read past the thread
  count or of a lane that returned or is not live (the shuffles, broadcasts, rotations, fills and
  quad moves of simd_ops and simd_uniform, loop_k, guard_shuffle_k, quad_guard_k,
  uniform_exit_k), and run_expected checks the others.
- engine_simd: vertex_lane_reads_past_the_draw_name_no_inactive_lane keeps the shuffle up's own
  value at lane 0 (Metal's rule for a source below the simdgroup) and checks that the two reads
  past the draw are written.

The exact-product tests where the whole group takes part, unchanged:
tests::engine_simd_partly_live::whole_simdgroups_run_the_exact_multiply_add (the emulated tier:
lavapipe, runtime-floor), whole_simdgroups_run_the_exact_multiply_add_on_the_subgroup_tiers
(moltenvk-m3's Direct, a wave64 device's Cluster32), and
tests::engine_simd_past_n::the_direct_tier_gives_the_whole_simdgroup_control.
2026-11-21 22:13:26 -08:00
Anees Iqbal 61462e2214 SIMD: a lane that takes no part is read through the calling lane, with no zero select
A read of a lane that does not take part (past the thread count, not live in a divergent block,
or outside the ballot) is undefined Metal: MSL 4.1 section 6.10.2, "A thread needs to only read
data from another active thread in the SIMD-group", and section 2.4 for a simdgroup matrix
multiply-add outside uniform control flow within the simdgroup. The lowering gave that read
all-zero bits through a last select(on, x, zero) on every tier. The select existed only for the
undefined read, so it goes (rule 1, then rule 4), and zero_cell with it:

- subgroup tiers (group.rs): Lane::read_at and Lane::read_cell are deleted; CellSource collapses
  to the source lane Lane::cell_source returns, which Lane::read_from and the fills shuffle, and
  a multiply-add reads its cells through Lane::read;
- emulated tier (workgroup.rs): Emu::read_lane and Emu::read_cell are deleted; every read of
  another lane, a shuffle's, a fill's and a multiply-add's cells, goes through Emu::read.

Containment stays on every tier. On the subgroup tiers the ballot bit extract and the redirect of
a source that takes no part to the calling lane keep every shuffle inside its tangle (SPIR-V makes
a shuffle of an invocation outside it poison, and a branch or an index consuming poison is
undefined behavior), and on PartialFragment no index reaches the subgroup's size. On the
emulated tier source()'s select(inside, src, lin) and its active-flag select keep every read in a
slot a lane wrote. What a lane reads in place of one that takes no part is unspecified: the docs
of lower/simd (mod.rs, group.rs, workgroup.rs, divergent.rs, matrix.rs) now say so and promise no
value.

SEMANTICS_VERSION 2267 -> 2268.

Modules that move (m3-max-65952, the golden table with every difference shown, on the earlier
base 00df89aadf: 651 cells of the .ll companions changed under an unchanged key, the .air.ll rows
skipped off macOS; 60 of them were dsx_lane_reads' vertex entries, which 7605fda3b1 deleted):

- the emulated tier (lavapipe, gate-lavapipe, gate-lavapipe-x86_64, runtime-floor), every
  kernel that reads another lane by index: a3_matrix_thread_elements, a3_simd_fill_modulo, the
  dsm_* and dsm2_* kernels, dsx_lane_reads' kernel, gsm2_fill_moduli's fill_constant_moduli,
  fill_function_constant_modulo and fill_runtime_moduli, gsm2_quad_ops' quad_fills,
  quad_pair_fills and quad_typed_fills, gsm2_simd_products' simd_rotate_up,
  quad_shuffle_rotate, simd_divergent's guard_shuffle_k, quad_guard_k and uniform_exit_k,
  simd_matrix's three kernels, simd_ops' ten shuffle, broadcast, rotate, fill and quad kernels,
  simd_uniform's half_vector_k, loop_k, region_k and vector_k, tns_mm_left,
  ttg_compute_simd_scratch, wps_shuffles' ten entries, and the top-level kernel_* fixtures with
  shuffles, fills or matrix multiply-adds (twelve); and on Intel's ANV profiles the kernels the
  widest pin sends to the emulated tier (wps_shuffles' k24, k32, k40 and k48 entries,
  kernel_three_way_and_shuffle_math);
- the subgroup tiers (AMD, NVIDIA, Intel, MoltenVK, and lavapipe's fragment stage), only the
  partly live forms: the kernels whose multiply-add or shuffle is in a block the uniformity
  analysis cannot prove uniform (dsm2_collective_branch, dsm2_zero_sign, dsm_half_live_*,
  dsm_odd_live_loaded, dsm_whole_by_buffer, dsm_whole_by_simdgroup, dsx_lane_reads' kernel,
  simd_divergent's guard_shuffle_k and quad_guard_k), and the vertex and fragment functions that
  read a lane by index (gsm2_fill_moduli, gsm2_fragment_lanes, gsm2_quad_ops,
  gsm2_simd_products, gsm2_vertex_quad_permutes, gsm2_vertex_votes_shifts, rvc_simd_vertex,
  rvc_simd_vertex_fill).

No module on a plain path moved: dsm_uniform and the simd_ops and simd_uniform kernels move only
on the emulated profiles. No answer on a whole-group path changes: there the dropped select's
condition holds in every lane (every source inside the threadgroup and active; every ballot bit
set, including where the uniformity analysis is conservative, dsm_whole_by_*), so the select
returned its first operand. In m3-max-65952, on this change with the old tests,
whole_simdgroups_run_the_exact_multiply_add (lavapipe, runtime-floor),
engine_simd_past_n::the_direct_tier_gives_the_whole_simdgroup_control (moltenvk-m3 Direct) and
only_divergent_multiply_adds_ballot_their_lanes (the ballot and bit-extract counts) passed; the
tests that asserted the zero failed, and the next commit removes those asserts.

Bless due on development: the golden hashes (the cells above, under 2268), the old render
descriptor key (it carries SEMANTICS_VERSION) and the authored compile census. No speed is
claimed.
2026-11-21 22:13:26 -08:00
Anees Iqbal 92e4cea5cd rt README: a guest-page view's host-pointer import and free on the RTX 3090, and its wait beside other allocations
Lane importread's standalone C program (job m3-max-66022, RTX 3090, NVIDIA 620.70.06): a view of
7,261 one-page mappings (29.7 MB), unpopulated, as a consumer maps guest pages, imported through
VK_EXT_external_memory_host. vkAllocateMemory: 6.6 to 6.8 ms median, 10.8 ms at most, on the CPU in
NV_ESC_RM_VID_HEAP_CONTROL with one fault a page (3.4 to 5.1 ms with the pages present). Its free:
30 to 31 ms, about 1.03 ms per MiB. Beside a second thread's 64 MiB allocations and frees the
import waited up to 100 ms, asleep on the driver's user-space mutex. The planner ruled it the
driver's (the README's NVIDIA serialization row, draft 132): no runtime form, and no moving of
frees or keeping of memory to dodge them. The Radeon 780M did not reproduce the consumer's
stalls in the runtime's own dma-buf import (job m3-max-66021: at most 4.5 ms); the consumer's own
trace of its call is next, so nothing about RADV is added here.

Docs only.
2026-11-21 21:59:19 -08:00
Anees Iqbal 7605fda3b1 Validation: dsx_lane_reads keeps its kernel entry; its six vertex entries and their cases go
The six vertex entries (simd_shuffles_by_index_and_xor, simd_shuffles_up_and_down,
simd_and_quad_rotations, simd_broadcasts, simd_fills, quad_moves) and their cases (the six
...-past-the-draw-and-in-a-branch-of-a-vertex-function) had one point: the word a move takes
from a lane that does not take part, past the draw or outside the branch. That word is not
defined Metal. MSL 4.1 section 6.10.2: "A thread needs to only read data from another active
thread in the SIMD-group", and the same section opens "The <metal_simdgroup> header defines the
SIMD-group functions for kernel and fragment functions", so a vertex function's moves are not
documented at all. The cases asserted zero there, which Metal does not promise. A case defect,
like the kernel case's in cb7168fba7: the entries go rather than being re-targeted, since the
kernel entry already makes all eighteen moves from lanes that take part.

The module keeps lane_moves_in_a_branch_of_a_kernel alone, unchanged; its IR is the same in the
regenerated module. Its case is re-keyed to the new AIR (8947c1ec... -> c2101caa...; case
299bfb13... -> 145d0d33...) and re-qualified on the Apple M3 Max in job m3-max-65911: regen with
Apple metal 32023.922 / macOS SDK 27.2, corpus-case-check --delete-air/--delete-name of all
seven old cases and --install of the kernel case, corpus-metal x3 runs, all rc=0. The engine
README's row lists the one entry and its case.

Bless due on development: dsx_lane_reads' golden rows (both companions: the module hash, the
kernel entry's row kept, the six vertex rows gone), the fixture inventory
(public_fixture_expectations_engine.tsv: twelve gone rows, the kernel's two rows kept), the
air_input printout (dsx_lane_reads.txt) and the authored compile census (seven cases gone, one
new).
2026-11-21 21:23:07 -08:00
Anees Iqbal 00df89aadf rt README: on ANV a guest's kernels of entry weight 186,065 to 424,132 are refused at the consumer's 3 GiB helper cap
The consumer's helper cap is now 3 GiB (the owner's word). Its cold launch of a 3D modelling
program on the Iris Xe of RPL-P under Mesa 26.2.6 (job m3-max-65807, 1,929 s, nothing fatal) made
2 of the 8 heavy kernels, entry weights 121,523 and 128,372 (helper peaks 2,620 and 2,763 MiB),
the same two as under the 8 GiB cap (job m3-max-65633). It refused 6 over memory: 186,065
(3,091 MiB), 207,047 (3,186), 253,486 (3,334), 289,297 (3,173), 355,578 (3,204) and 424,132
(3,138). The printed range was 355,578 to 424,132, which is too narrow for this cap; it now runs from the lightest refused
weight to the heaviest. The line also says what the guest sees: each refused make's error reaches
the guest's Metal call, and the program measured, which waits with no exit for a failed make, showed
its first sample line 143 s after launch and never advanced, with no error shown, while the guest
stayed usable. The 8 GiB measurements of the two heaviest stay as what they measured.

Docs only. Verified: the six weights and peaks are the consumer's li2 read of 65807; the 143 s
and the user-visible behaviour are its report of the same launch.
2026-11-21 21:17:51 -08:00
Anees Iqbal bbbd3c576a Re-pin the runtime sources at the landing tip
The landed packet changed a runtime-sources input, so the committed digest no

longer described the sources and `the_runtime_sources_are_the_committed_ones`

would fail. Recomputed over the same inputs and committed by land-pkt.sh.
2026-11-21 21:16:52 -08:00
Anees Iqbal 58f2ab2f2b Private Rustdoc: the eight unresolved or redundant intra-doc links resolve
What: `cargo doc --document-private-items` under -D warnings reported eight diagnostics on
development (306d357141's tree, lint job m3-max-65851). CI's private intra-doc links step holds
each crate at 0. Each is fixed where it stands:
- metal2vulkan:
  - lower/arith/libm/mod.rs: Lib::instructions is #[cfg(test)], so the doc names it in code.
  - lower/dispatch.rs: arena_slot links KernelDecl::arena_slot, the method it means.
  - lower/fragment/fetch.rs: the link to extended_range::Blend::packed16, which no longer exists,
    goes.
  - lower/mesh/mod.rs: builtins links the BUILTINS constant.
  - lower/stage_io/plan.rs: the quoted [[render_target_array_index]] is code, not a link.
- metal2vulkan-runtime:
  - stage.rs: TEST_BOUND exists only under the device-test cfgs, so the doc names it in code.
  - device.rs: Error::StageUnfilled's explicit target was redundant, since Error is in scope.
- metal2vulkan-conformance: cases/shared_creator_formats.rs: Failure::of links
  Failure::of_rt, our side's constructor.

Why: the class of the bug row "rt private rustdoc: 3 redundant explicit links"; main's word to fix
all eight in one commit.

Verified: comments only. The compile job, with each crate's private Rustdoc -D warnings, is named
in the report.
2026-11-21 21:16:06 -08:00
Anees Iqbal 87a39975fa Arith docs: a denormal, NaN or min/max note is the operation's static note, not one a measurement decides
What: the lower/arith docs said a note was recorded "where the device is not measured to read
them as Metal does", or "where the profile lacks the deviation". No device has been measured since
efa911bc00, which deleted the Metal* deviations and the profile's float-function and
NaN-encoding fields. Each such clause now says what the code does: the operation records the note
statically.
- the lines the row names: arith/mod.rs:50 (module docs), arith/math.rs:2097 (pow_special) and
  2199 (atan2_special), arith/tests/atan2.rs:9 and 516.
- the same phrase elsewhere in lower/arith:
  - arith/mod.rs float_binop_notes (1049), float_call (2040-2043), its inline comment (2062) and
    fast fmod's comment (2140);
  - arith/math.rs metal_nans (1176), powr_nan (1715), is_zero (2155) and device_nan (2163).
- float_binop_notes also said that where the profile's float functions are Metal's, a fast
  division's notes hold only outside a fast-math entry. No profile has Metal's float functions
  since efa911bc00: the fast float division always records DeviceArithmetic, NativeDivision and
  DeviceDenormals, and the doc now says so.
- fast fmod's comment says the device's denormals are noted where its multiply-add is the device's
  own instruction. That is coverage_left: Route::device_float() and denormal::covered(Fma).

Why: the bug row "Stale doc text 'where the device is not measured to read them as Metal does'".

Verified: comments only, each checked against the code it describes. leave_denormals inserts
DeviceDenormals for every f32 form. function_notes extends device_float_notes with
denormals || native_uses, so float pow, powr and atan2 record it. float_call inserts
NativeNanEncoding for every call that answers a NaN. The compile job (fmt, clippy x3, workspace
Rustdoc) is named in the report.
2026-11-21 21:05:43 -08:00
Anees Iqbal 28d614f175 Probe bgra4_write_and_mipmap: its header says what the runtime does with the three answers today
What: the probe's opening paragraph said the runtime held no measurement of BGRA4Unorm's three
answers, that write_conversion answered Unmeasured, that the word view had no entry for it, and
that the mipmap refusal "stands until this runs". It now says what the code does, from a code
read:
- write_conversion holds each channel as HalfUnorm { bits: 4 } (the WRITE leg). A device that
  renders the image converts the output itself, under the static DeviceColorConversion note.
- BlitCommandEncoder::generate_mipmaps takes the format like every float colour format: one linear
  vkCmdBlitImage a level under DeviceFilteredMipmaps, and Gap::MipmapFilter where the optimal
  image has no blit source, blit destination or linear filter. Nothing refuses it.
- WordAttachment::layout holds the word (red 8, green 4, blue 0, alpha 12). The R16_UINT view
  builds no blend other than one and zero, and a colour input is NotImplemented(Format), though
  the FETCH and BLEND legs measured Metal taking both.

The "What each reading licenses" section goes. It named items that no longer exist
(mipmap_answers.txt, mipmap_plan::not_implemented, bind::mipmap_filter,
framebuffer_fetch::renders_through_words, RowState), and the header now says what each reading
backs. The answered section's last clause, "the fallback was NOT taken", becomes "the word view's
refusals of both are our gap", which is true today.

Why: the bug row "The probe comment in bgra4_write_and_mipmap.m still says 'the refusal stands
until this runs'".

Verified: code read only (metal/format/mod.rs write_conversion, metal/format/word.rs,
pipeline/color_writes.rs word_color, lower/stage_io/color_write.rs, lower/fragment/color.rs
select_param, metal2vulkan-runtime blit.rs generate_mipmaps, mipmapped and filtered). Comment
only. No build reads the .m file.
2026-11-21 21:05:43 -08:00
Anees Iqbal 306d357141 Bless at the pin, cb7168fba7: golden hashes, the census under executor ABI v212, dsx_lane_reads' printout and the render descriptor key
The zero-sink private-store form (cd0dce11b5, b4a7c175d4) moved SEMANTICS_VERSION to 2267, and the
noted-difference label (5d143de078) moved the validation executor's ABI to v212 and re-keyed the
seven dsx_lane_reads cases (cb7168fba7). This re-blesses what follows them, from one M3 job:

- golden_hashes.tsv: the semantics line and the cells the store form moved (110 lines).
- dsx_lane_reads.txt: the kernel entry's printout after its case fix reads only lanes that take its
  branch.
- corpus/authored-compile.tsv: the census at 2376 cases x 9 profiles, failed 0, regressions 0. Its
  14 differences are the seven re-keyed dsx_lane_reads cases (ff55fa41 and six others removed,
  299bfb13 and six others added); 1945 artifacts moved under the new SEMANTICS and ABI.
- the old render descriptor key: e3b2dff0... -> 720f6214..., which moves with SEMANTICS.

The fixture inventory and the opened chains were blessed and came out unchanged.

Verified: the M3 bless job m3-max-65832 at cb7168fba7 (bless_engine_inventory,
bless_golden_hashes, bless_engine_goldens and bless_opened_chains exit 0; census exit 0); the render
key's value from m3-max-65847. Quick check m3-max-65812 at 6cf6ee19d0 passed before the label fix.
2026-11-21 20:57:53 -08:00
Anees Iqbal 4a636f1b85 rt README: a long Shared buffer's make against a Mac's first write; NVIDIA's dedicated allocations
Two known-gap rows, the planner's (11-21), with no change of behaviour.

- After the paragraph that says a new Shared buffer's zeros are written inside Device::new_buffer:
  the in-guest rows. Making a new 547 MiB Shared buffer and writing it once, the first three in a
  process, took 191.2, 152.6 and 146.3 ms on an RTX 3090 (job m3-max-65737) and 252.3, 110.0 and
  106.7 ms on a Radeon 780M (job m3-max-65736), against a Radeon Pro 5300M Mac's make of 0.179 ms
  and first write pass of 221.27 ms (job m3-max-65625). The planner closed the pool-take row as
  placement only on these rows.
- In the NVIDIA allocation paragraph: device-local memory dedicated to its buffer allocates 7 to
  30 times as fast and frees 5 to 20 times as fast on the RTX 3090 (job m3-max-65734), and why the
  runtime's pool allocations stay plain (they hold textures, VUID-vkBindImageMemory-memory-10926;
  no faster with its first fill on a Radeon 780M or an Iris Xe, jobs m3-max-65776, m3-max-65785).
  The planner closed the dedicated form with no build.
2026-11-21 20:53:27 -08:00
Anees Iqbal cb7168fba7 Validation: the kernel case of dsx_lane_reads reads only lanes that take its branch
simdgroup-and-quad-moves-in-a-branch-of-the-even-lanes-of-a-kernel made its eighteen moves in a
branch only the even lanes take, and most of them read an odd lane, which is inactive there.
MSL 4.1 section 6.10.2: "A thread needs to only read data from another active thread in the
SIMD-group", so those words were undefined Metal. On lavapipe 46 of the 1,152 words differed
(simd_shuffle_up(x, 1) and quad_shuffle_up(x, 1) from an even lane), with no precision note to
explain them. A case defect: no translator change, no venue row.

Every move now reads an even lane, or keeps its own value past the group's edge: lane ^ 6, xor
2, up 2, down 4, rotate up 2 and down 2, broadcast lane 20, the fills by 2, and in the quad q ^
2, xor 2, broadcast 2, up, down and both rotations by 2, the fills by 2. The vertex entries are
unchanged; their IR is identical in the regenerated module.

The module is shared, so every case over it is re-keyed to its new AIR (8947c1ec...): the six
vertex cases and the kernel case (ff55fa41... -> 299bfb13...), each re-qualified on the Apple M3
Max (job m3-max-65801: regen with Apple metal 32023.922 / macOS SDK 27.2, corpus-case-check
--install, corpus-metal x3 runs each, all rc=0). The kernel case's Metal output equals the moves'
documented answers on all 1,152 words (checked off line against MSL's definitions).

Bless due on development: dsx_lane_reads' golden rows (changed input: the module hash of all
seven entries in both companions, the kernel entry's cells) and the authored compile census
(seven re-keyed case ids).
2026-11-21 20:47:10 -08:00
Anees Iqbal 25abaea784 Validation: a mismatch under notes stays well formed; tests over public answer gaps
The validation suite at 995de45572 (job m3-max-65797, 5 of 1,334 failed) found:

- The committed Vulkan observations of older executors (v176, v182) hold mismatches under
  unbounded notes, recorded before the noted status existed. The row contract refused them, so
  the store layout tests failed. Such a row is stale by its executor ABI, not malformed: the
  contract now requires only that held_open_by name a difference that could be noted. A noted
  difference still needs differing bytes, an unbounded class, no escaped target, and no gap.
  The executor (difference_status) is unchanged and records Mismatch under notes only with
  held_open_by.
- One C3 answer-gap entry (quads_split_by_clipping) is a private case, which a public checkout
  cannot check: the difference_status test now judges the entries over public fixtures (at
  least 5).
- A C3 test turned a noted row's class to Exact without its status, and the narrowed report
  test lacked the noted_difference column.

Verified: not at commit time; the suite reruns on the branch tip.
2026-11-21 20:47:10 -08:00