Rule 10.5
On this page

Rule 10.5

Chapter 10, Extensions and capabilities Test

A GLSL lowering of a WGSL-only feature (the family #130 to #139: 1d, multisampled, depth read both ways, gather, cube array, storage texture, read-write storage, atomics, and barriers) is deferred by the maintainer, and must not be written until the deferral is lifted. The deferral is lifted for read-write storage, atomics, barriers and the compute entry (#137, #138, #139): a compute entry lowers to the pass program of change 0054, its memory as words, its barriers and atomic operations as the cuts of the phased order (Rule 11.8, surface §23 and §25). It is lifted for the storage texture (#136) in a compute entry on WebGL2 alone: the pass program holds the texture as a memory root of words, read in from the texture before the first pass and drawn back into it after the last, and a format the tier does not support yet is refused as “not supported yet on the WebGL2 tier (Rule 10.5)”, a fallback for it being later work (OD-11; change 0054, fifth amendment, surface §33). Until it is lifted for the others (#131 to #135, and #136 in a draw), each of those features must fail closed on GLSL by Rule 10.3, and the deferral must be written where the refusal is.

The rule text and the parts under it are the compiler's own English, as the design document writes them.

Rationale

the lowering family is one design (#130’s fidelity classes) and is worked one item at a time when the maintainer says so.

Derives from

the deferral recorded in #162, whose summary asks that the lowering family be worked one item at a time; decision 1 of change 0054 in changes/, which lifts it for #137, #138 and #139.

How it is verified

Checked by a test. A test, a gate script or a CI workflow names this rule, and the traceability check fails when a file listed below stops naming it.

Where the rule says the compiler enforces it:

review; capability-reachability.test.ts records which target each capability has a row for.

The files that verify it at commit af54ddad5, each at the first line that names the rule:

Explained in

The sections of the surface document that explain this rule, at commit af54ddad5:

See also

Source

The rule at commit af54ddad5:

Edit this page Report a problem