What: a read of a texture, sampler or threadgroup memory argument the pipeline's function
constants removed (the absent read, lower::access::absent, and texture::AbsentArgument) takes the
same zero of its result's type as before: a read's zeros and a query's size of 0, which the nil
texture, set 1's element 0, answers too, with a write of a removed texture dropped. A new profile
fact says whether it also marks the command buffer's status (device::profile::AbsentReads):
Device::new's profile keeps Marked (StatusBits::ABSENT_ARGUMENT_READ, the ExecutionStatus fact,
its push field or binding), byte for byte; Device::from_queries' takes Nil, where the read marks
nothing and the stage states no AbsentArgumentRead or ExecutionStatus fact, no
ExecutionStatusAddress push field and no status binding. One form per profile, so it holds on
every stage: a fragment function's read, which the replay recordings name, and a kernel's, whose
pipeline the translator refused before on from_queries' profile (IdentityDomains: the status
word's push field is outside what the identity domains admit), now run. The
fact keys from_queries' fingerprint; Device::new's renders its fields alone, unchanged.
docs/API.md's degrade entry and ExecutionStatus bullet say so. SEMANTICS_VERSION 2179.
Why: Metal gives such a read no value, and its compiler drops or folds it; the new runtime writes
no ExecutionStatus words, so the status a read marked was a refusal of the whole pipeline.
Verified:
- f0c676d4f7, this change before its rebase onto a47fc3e69d: clippy with all features and with
--cfg m2v_gpu clean, the focused tests 66 of 66 (job 46992). The rt device tests of a fragment
function's and a kernel's read of a removed texture pass with the validation layer on and no
validation error on the RX 550 (47027), the RTX 3090 (47028) and the Iris Xe (47029); the
control, built without the change, fails both (47030).
- Rebased on a47fc3e69d: clippy with all features and with --cfg m2v_gpu clean; the touched tests
(absent, function constants, profile, golden, render descriptor keys, public fixtures,
fingerprints) 257 of 258, the one failure the old render key's pin, which SEMANTICS_VERSION
2179 moves; re-pinned here, it passes (47245).