Translator and runtime: the interface items no path makes since the resident core went are deleted
0ce2f39b71deleted the resident core: every device compiles the identity domains, which read a texture's presence, out-of-bounds alpha, swizzle, border texels and level count, and a sampler's state, from the resource ID's words. The interface items the resident core stated for them stayed, with nothing left that makes them: - SpecKey's Presence, OutOfBoundsAlpha, TextureSwizzle, OffsetBaseAxes, NearestPixelSampler and BorderTexels: no lowering declares them. - RuntimeFact's ResourcePresence, OutOfBoundsAlpha, StorageTextureLevels, StorageTextureLevelViews, OpenClLineTexture and BorderTexels: no plan states them. - PushField::ControlPointIndexOffset: no plan places it. identity_pushes (lower/select.rs) named it on its false side; that arm goes, and lower/push.rs's shape arm with it. - PrecisionNote::F16IntConvDoubleRounding (metal2vulkan-degrade-f16-int-conv-double-rounding): no lowering records it. Its catalogue entry in docs/API.md goes, with the conformance crate's Degradation and the validation comparison's allowance and reach arms. - Feature's LocalSize, TexelBuffer and GroupCount: no site constructs them (docs/REFUSALS.md listed each with no site). Their reach.tsv rows go. - CombinedSampler's unnormalized field, with_unnormalized, heap_index and from_heap_index: the field was set only from lower::sampler's BindingKey::unnormalized, which no selection sets (none picks PixelPosition::Unnormalized or UnnormalizedTexel) and finish() refuses as an invariant, and the two index methods had no caller. sampler_use() now makes the use from the comparison and the texel class alone. The runtime's DrawInputCause::UnnormalizedSampler and its two checks (a constexpr sampler of a draw or dispatch with the field set) go with it. The device sampler of unnormalized coordinates stays: SamplerUse::unnormalized, vk_sampler's unnormalized form and SamplerDesc::unnormalized are what the runtime's linear pixel samplers' twins are made with. Tests: device/tests/mechanism.rs covers the 56 facts left; the assertions that a plan states none of the deleted facts, and the spec values set for deleted keys, go; engine_spec_bits labels its constant SamplerMinLevel; cache/tests.rs's round trip of OffsetBaseAxes goes; api_tests.rs's SpecializationLayout round trip names SamplerMinLevel. The consumer names none of them: in reims at 7d016acc9c, and at 8f3ca9df99, git grep finds 0 hits each for unnormalized, Unnormalized, heap_index, F16IntConvDoubleRounding, f16-int-conv-double-rounding, LocalSize, GroupCount, SpecKey::, RuntimeFact::, PushField::, ControlPointIndexOffset, NearestPixelSampler, OffsetBaseAxes, ResourcePresence, StorageTextureLevel, OpenClLineTexture, BorderTexels and OutOfBoundsAlpha. TexelBuffer's 2 hits are maxTexelBufferElements and the runtime's TexelBufferTooLarge, DrawInputCause's 1 is DrawInputCause::Slot, Feature::'s 10 are other variants and another crate's Feature, and TextureSwizzle's 66 are Metal's MTLTextureSwizzle. ARTIFACT_FORMAT_VERSION 612 -> 613 (renumbered at landing): the codec's lists are positional, and SpecKey, PushField, RuntimeFact, PrecisionNote and CombinedSampler lose members. SEMANTICS_VERSION stays: nothing that compiles changes. runtime-sources.sha256 moves without a RUNTIME_VERSION bump: device/mechanism.rs loses the arms of the deleted facts, which no run reached. docs/REFUSALS.md and the signature table are regenerated; the metal and conformance coverage docs regenerate unchanged. Verified, on the CPU with no device: - m3-max-86143, at this commit: clippy (plain, all targets and features) passes; the mechanism, spec-bits, round-trip and texture-level tests ran 64 tests, all passed, 2,571 skipped. - m3-max-86179, at the series' tip (the two cleanup commits and the README line): fmt, the refusal surface's, the signatures', both coverage docs' and scripts/api-docs' checks, clippy (plain, --cfg m2v_gpu, --cfg m2v_cpu_icd), Rustdoc, private docs (metal2vulkan and metal2vulkan-runtime) and doctests pass. The metal2vulkan suites ran 3,492 tests: 3,491 passed, 24 skipped, and the failure is golden_hashes_match_the_table, which fails at the base too (a bless due at the next pin). Validation ran 1,343 tests, all passed, 2 skipped; conformance ran 1,061, all passed. - m3-max-86194 and m3-max-86213, at the tip and at its basedb7bedc60d: the golden table's changed lines are the same 5,114 at both, line for line, so no cell moves.
This commit is contained in:
1 parent
db7bedc60d
commit
27a6c1ebd3
31 files changed
+53
-374
No files matched your search
@@ -1791,8 +1791,6 @@ category, and says what makes an operation carry the note and what may differ. E
|
||||
device.
|
||||
- `metal2vulkan-degrade-f16-fma-double-rounding` (precision). `PrecisionNote::F16FmaDoubleRounding`:
|
||||
Widened half fma rounds twice.
|
||||
- `metal2vulkan-degrade-f16-int-conv-double-rounding` (precision).
|
||||
`PrecisionNote::F16IntConvDoubleRounding`: Widened half-integer conversions round twice.
|
||||
- `metal2vulkan-degrade-grad-from-bias` (precision). `PrecisionNote::GradFromBias`: Bias sampling
|
||||
emulated with gradients may pick another level and another anisotropic footprint than Metal's:
|
||||
derivatives hoisted out of a per-fragment texture choice, which scale by `2^B` through every
|
||||
|
||||
Reference in new issue
Block a user