Repository navigation
Conversation
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…lation and approximations rows Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
Read 51cc9e6 on Windows 11 (Python 3.13.7): pass for six rows; one leftover remains in the seventh How I checked: old and new text of the seven rows compared sentence by sentence and token by token (every number, hex word, backticked name,
Not verified: the hardware measurements the rows quote. AI-assisted check (Claude Code). |
…are repacked, not rejected Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
Thanks for the check. I left the trailing |
|
Reviewed |
|
Thanks. Agreed on the #1922 overlap: it is that one row-247 line. If #1922 merges first, I'll rebase this PR on top of it, keeping its marker removal along with this cleanup. If this one merges first, #1922 only needs to keep dropping the trailing |
…gn-stale-leftovers Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> # Conflicts: # docs/design.md
|
Read 11a9a77: the seven rows are cleaned up. The copies this removes are the ones that contradicted the sentence left in place. Checked each row against
|
…f_locations raises it Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
Thanks @thirteenhustler. The |
Claimed in the coordination issue as: #3574 (comment)
What and why
Seven more contract rows on main (
f847748c, rebased onto4c52ce27) still have an older copy of a rule sitting next to the newer one that replaced it, or a sentence spliced into the middle of another. This removes the older copies and repairs the broken joins, using wording that is already in each row:Packed 16-bit integer ops: drops the old "a constant's high half is not measured … raises
Unsupported" paragraph (the row now says constants are full dwords, measured) and the shorter repeat of the gfx1035 verification sentence.v_pack_b32_f16source modifiers: removes the stitched "absrests on the ISA's definition … no hardware run withabsexists yet" passage (the row goes on to give the 1,088-kernelabsmeasurement), repairs the three broken joins it left (| x src |,` (neg+abs) are measured**), and keeps one copy each of the gfx1036 1,088-kernel measurement, the gfx1035 attribution and the IEEE-mode-1 / checked-by sentences.Image atomics, size and LOD queries: removes the spliced older
image_get_resinfosentence (depth 1), the "translator still differs in the first three" sentence (contradicted by the sentence before it and byGen.resinfo_words), and the matching "resinfo's depth word" item under Unverified.f16 rounding (SHADER-55, SHADER-56): keeps the first
v_fma_mix*sentence and drops four later variants, two of which still say "two roundings, unmeasured" / "not fixed yet".16-bit interpolation without
PerVertexKHR: drops the older 29 − 2N / 30 − 2N and(29 − P) / 2sentences (superseded by 28 − 2N / 29 − 2N, SHADER-291), and takes an Unverified note out of the middle of the2·|F| <= 29 − maxcondition, and drops the standalone repeats of the "fewer than 124 vertex output components" and "fewer than 31 output locations" notes (each stays once in the row's other Unverified lists).Known approximations: collapses the three-times-repeated "the ALU ones follow a MODE toward-zero write (below; …" opening and drops the stale "nearest mode still rounds twice / until fix(translator): round v_fma_mixlo/hi_f16 once to f16 (finding 7079901079) #1774 lands" and "
v_cos/exp/log_f16are unmeasured" clauses, which the same row contradicts (Gen.fma_mix_oddin both modes, SHADER-296 landed, the 65,536-input sweep of all seven), and merges the two sentences listing the seven f16 transcendentals into one that keeps the RX 6700 XT, RX 6800 and gfx1036 evidence.Buffer bounds checking: drops the old "SWIZZLE_ENABLE … are not modelled …
Unsupported" sentence and a short repeat; the kept sentence has the same bit positions and Mesa line references and says they are modelled.16-bit interpolation (follow-up): the sentence saying a PS whose decoded-half location is also an attribute it reads "is rejected (
Unsupported)" contradicts the same row's dynamic packing (SHADER-378):assign_f16_half_locationsrepacks around the collision and raises only when locations run out (test_location_clash_packs_dynamically). Reworded to say that. The same row's dynamic-packing paragraph also said it refused only "> 30location budget overflows". It now gives the real condition:Unsupportedonly when0..29has fewer than2·|F|free locations.Known approximations (after main moved to
4c52ce27): dac28e6's merge of 82cb279 kept the old "v_add_f64steps back one ulp when the TwoSum error shows …" wording and scattered the newFastTwoSumtext through the row (( | a x*y | >= < 2^-64in thefma_mix_oddsentence, and a| b |,FastTwoSum… @Jolymmiles` fragment plus repeats of eleven earlier sentences after the row's end). This restores 82cb279's sentence in place, with escaped pipes, and drops the fragments.f16 rounding: keeps main's new
Gen.f16_indenormal-widening paragraph.Open PRs that touch these rows (#3548, #3220, #3074, #3349, #2086, #1922, #3424) leave these passages in place, and this does not overlap #3145 or #2973. The only number that goes is the
+0.0in the deleted packed-int paragraph's cross-reference; the 29 − 2N style formulas are deleted as superseded. The packed-int row'sNot GPU-verifiedmarker is already gone on main, and the existing| x*y |escaping is left for #3424.Tested
Docs only, no GPU needed.
python -I tests/test_docs_design_rows.pypasses; a script confirms each changed row has no repeated 14-word run, keeps every other numeric value, and the table cell count is unchanged (row 249 loses the two stray pipes of the stitch). AI-assisted.Checklist
docs/design.md, with how it was confirmed. (No new rule.)