Repository navigation
docs/design.md: one copy of the Mesa llvmpipe out[5] sentence in the Float controls row (EGEN-DESIGN-FLOAT-DUP) - #6852
Conversation
…Float controls row A merge kept both sides of the row: the same 225-character llvmpipe sentence twice, and each copy is followed by a different f64 tail (SHADER-597 and the undeclared f64 mode), so the row reads as two versions of itself. Keep one sentence and both f64 facts.
shayderrr
left a comment
There was a problem hiding this comment.
Summary
In docs/design.md, the Float controls (NaN, ±inf, ±0) (SHADER-99) contract row carried the same 225-character Mesa llvmpipe out[5] sentence twice, followed by two different f64 tails. This keeps one copy of the sentence and retains both f64 facts: that f64 has its own row (SHADER-597) and that SignedZeroInfNanPreserve 64 is not yet declared. Docs-only, one-line change.
Why merge
Removes a confusing merge artifact from the float-control contract table so readers can tell which f64 statement is current, with no behavior risk.
Verdict: Approve
SummaryIn Why mergeRemoves a confusing merge artifact from the float-control contract table so readers can tell which f64 statement is current, with no behavior risk. Verdict: Approve |
The contract-table row
Float controls (NaN, ±inf, −0) (SHADER-99)indocs/design.mdcarried the same 225-character sentence twice:A merge of two branches that both rewrote the row kept both sides, and each copy was followed by a different f64 tail ("f64 has its own row below (SHADER-597)" and "f64 (
SignedZeroInfNanPreserve 64) isn't declared yet"), so the row read as two versions of itself and a reader could not tell which copy is current. This keeps one copy of the sentence and both f64 facts.Task: EGEN-DESIGN-FLOAT-DUP
Test
No GPU needed. The row is compared against
upstream/main:Before the change (upstream/main on both sides):
upstream copies: 2,working tree copies: 2.After the change:
upstream copies: 2,working tree copies: 1, withSHADER-597and the undeclared f64 mode still named once each.The docs checks that cover this table still pass:
tests/test_docs_repeated_lines.pyonly compares neighbouring lines andtests/test_docs_table_rows.pywhole rows, so a sentence repeated inside one table cell is what slipped through; the check above covers it for this row.Notes
SignedZeroInfNanPreserve 64isn't declared yet") so no fact from either side is dropped. Every other claim in the row is untouched.d16 and f16 format narrowing(the row below) has the same kind of intra-cell duplication — the "Translator: pack d16 image sample/gather results with integer f32->f16 RTE #489's own narrower,f32_to_f16_int" sentence three times — but it is a bigger rewrite, so I left it out of this PR and posted it as a finding instead.AI-assisted.