Runtime README: no kept replay stream reaches a fetching draw as translated

The fetch known gap (UnorderedFetchWithinDraw: overlapping read-modify-writes of one draw may
leave one application) now says whether real work meets it. In every one of the 26 replay
streams counted, each colour input ([[color(n)]]) a fragment function declares is gated by a
function constant that the stream's pipeline states set off, so no state fetches.

Counted states-only on lavapipe, with a fresh shader cache per stream, every MODE line "mode
states-only". Probe on a never-landed branch:
- For each render state made, the runtime's own Draws::fetched (empty for all) and its notes (no
  UnorderedFetchWithinDraw).
- The validation checker's evaluation of each colour input's predicate under the state's
  constants (AirInterface::new): 0 live, 0 unevaluated, and 0 states whose input is live while
  fetched is empty.

| Stream | Render states | Fetching | Declaring a colour input, all gated off | Job |
|---|---|---|---|---|
| windrag-780m-b2 | 8262 | 0 | 6313 | m3-max-83458 |
| windrag-780m-b4-um790 | 8972 | 0 | 6957 | m3-max-83458 |
| webdiv-780m-2 | 9014 | 0 | 6977 | m3-max-83458 |
| webdiv-780m-3 | 9645 | 0 | 7424 | m3-max-83458 |
| gb-3090-r2 | 10643 | 0 | 8177 | m3-max-83458 |
| glbench-3090-r4 | 9834 | 0 | 7492 | m3-max-83494 |
| bB-c1 | 494 | 0 | 392 | m3-max-83494 |
| boot-idle-780m-1 | 6817 | 0 | 5172 | m3-max-83494 |
| gb-3090-r3 | 10040 | 0 | 7752 | m3-max-83494 |
| gb-780m-u2 | 9038 | 0 | 6923 | m3-max-83494 |
| gb-780m-u3 | 8269 | 0 | 6339 | m3-max-83494 |
| gb-780m-u4 | 5850 | 0 | 4487 | m3-max-83494 |
| glbench-780m-r1 | 7435 | 0 | 5566 | m3-max-83494 |
| glbench-780m-r2 | 8538 | 0 | 6437 | m3-max-83494 |
| syncview-4k-780m | 1952 | 0 | 1585 | m3-max-83695 |
| windrag-780m-b4 | 8154 | 0 | 6252 | m3-max-83889 |
| windrag-780m-b3 | 8082 | 0 | 6256 | m3-max-83889 |
| web3d-780m-r1 | 8587 | 0 | 6593 | m3-max-83889 |
| web3d-780m-r2 | 8438 | 0 | 6478 | m3-max-83889 |
| web3d-780m-esc1 | 7253 | 0 | 5538 | m3-max-83889 |
| rtdesk-780m-rtrec1 | 7584 | 0 | 5850 | m3-max-83889 |
| rtdesk-780m-rtrec3 | 7636 | 0 | 5888 | m3-max-83889 |
| rtdesk-780m-rtrec4 | 10118 | 0 | 7784 | m3-max-83889 |
| vaapi-780m | 8604 | 0 | 6591 | m3-max-83889 |
| vaapi-780m-wd | 8403 | 0 | 6466 | m3-max-83889 |
| glbench-780m-r4-recnil | 3756 | 0 | 2669 | m3-max-83954 |

One windrag-780m-b2 function shows the gate (job m3-max-83522):
- It declares 3 used colour inputs and 60 function constants, and its state supplies all 60.
- Each input's predicate is a global computed from the constants.
- The gate opens only with constant index 4 set to 1 together with one of indices 0, 35, 55 or
  56; the state gives index 4 the value 0.

The runtime translates under the identity domains, so a surviving fetch would be
PushField::FetchedColor, which fills Draws::fetched.

Values plays on one Radeon 780M (RADV) agree with this:
- glbench-780m-r2 (job m3-max-83322) and windrag-780m-b4-um790 (job m3-max-83381).
- In each, development twice (A, A2) and a build that splits every fetching draw per primitive
  (B): 0 draws split, and every compared frame equal.

Docs only: the runtime README is not a runtime-sources input.
This commit is contained in:
Anees Iqbal committed 2026-12-03 07:12:10 -08:00
1 parent 2549c339c6
commit 6a7b159d95
1 file changed
+3 -1
+3 -1
View File
@@ -5597,7 +5597,9 @@ cache is answered compile-required on both.
own draw that cover the same pixel, which Metal orders in primitive order: a fetch may read the
texel from before its draw, so overlapping read-modify-writes of one draw may leave one
application (`PrecisionNote::UnorderedFetchWithinDraw`). Exact for a draw whose primitives do not
overlap at a pixel. A write the fragment function would compute over its own read of the
overlap at a pixel. No kept replay stream reaches a fetching draw as translated: each colour input
their fragment functions declare is gated off by the function constants their pipeline states set.
A write the fragment function would compute over its own read of the
attachment, where no
Vulkan blend, write mask or logic operation gives Metal's, is not built: the translator refuses
each such state at creation on every device, an `Error::Translation` (the conformance ledger's 22