Repository navigation
docs/design.md: drop the stitched fragments from the Global atomics row - #3084
Merged
Merged
Conversation
The round-40 merges left an older version of the row inside the current one: it still listed the float atomics as Unsupported (the same row documents the fmin/fmax CAS loop), repeated the "returned pair comes from two reads" sentence, and kept the shorter older test_global_atomics.py sentence. Every fact stays; only those three duplicated fragments go. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
2 tasks done
Contributor
|
Code read of b523c58: the three removals are right and nothing is lost.
Ran at this commit (Windows 11): Heads-up: #3065 also rewrites this row. A trial merge of #3084 and #3065 conflicts in docs/design.md, and #3065's version still has two "Approximation:" and two "CPU-checked by" sentences, so whichever lands second needs the clean-up redone by hand. AI-assisted code read (Claude). No game data used. |
This was referenced Nov 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Claim: #2891 (comment)
What and why
The "Global atomics" row in
docs/design.mdhas an older version of itself stitched into it by the round-40 merges. The same cell:Unsupported, two sentences before documenting thefmin/fmaxCAS loop — whichtools/rdna2spirv.py'sglobal_atomic_floatimplements (OpAtomicCompareExchange+ GLSL.std.450NMin/NMax, withglsl_op = "NMin" if kind == "fmin" else "NMax");ds_and/or/xor_b64)." verbatim — the clause already ends the sentence before it;test_global_atomics.pysentence (withoutfmin/fmax, NaN/±0/±inf, the CAS contention case,_x2, ortest_global_atomics_x2.py).Only those three fragments are removed. Every fact stays, including the accurate
Unsupportedlist (add/sub/min/max/fmin/fmax_x2,cmpswap_x2,inc/dec,fcmpswap,slc/dlc), the tearing approximation, "Until 2026-11-22 every global atomic was rejected", both test files, thespirv-valnote and Not GPU-verified.Evidence
Counts inside the row, before → after:
Still `Unsupported`**Approximation:**CPU-checked by`fmin` and `fmax`fcmpswap,`inc`/`dec`,slc`/`dlc`,test_global_atomics_x2Tests
No new test: a "no repeated ≥60-character sentence inside a row" guard fails on
maintoday for three unrelated rows (thev_pack_b32_f16source-modifiers row and thed16 and f16 format narrowingrow), so it can only land once those are fixed;tests/test_docs_design_rows.py(one row per topic) remains the guard for this table.Docs only — no GPU used, no game files, no keys. I checked first that no open PR touches these sentences (#2994, #3005, #2945, #2913 and #2832 are other rows; #2063 removes duplicate rows and is conflicting).
One related line left alone on purpose:
tools/rdna2spirv.py'sglobal_atomicdocstring still ends with the same stale "the float atomics stay Unsupported". It is a comment-only change in a tool, and a tool edit triggers the full runtime CI run that BUILD-856 is trying to avoid, so it belongs in a translator PR rather than here.AI-assisted.