Skip to content

docs: dedupe the merged contract rows on current main - #2398

Closed
Kam471 wants to merge 1 commit into
ItsNotRexed:mainfrom
Kam471:docs/dedupe-final2
Closed

Kam471 wants to merge 1 commit into
ItsNotRexed:mainfrom
Kam471:docs/dedupe-final2

Conversation

@Kam471

@Kam471 Kam471 commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

docs: rebuild the contract-row dedupe on current main

Rebuilds #2067 (docs/dedupe-design-rows, 935edd4f) on current origin/main 49475796. The old branch conflicted because main gained more duplicate rows; this branch re-verifies every group against today's rows.

python -I tests/test_docs_design_rows.py failed with 40 repeated topics in docs/design.md, one in docs/README.md, and two in docs/testing.md. Each group is now one row.

Groups merged

docs/design.md (40): Models; DPP; EXEC; Control flow; Global atomics (global_atomic_*, 32-bit); Scalar/buffer memory; 2D array resource dimensions; Images and samplers (core); Typed buffer loads; v_pack_b32_f16 source modifiers; Integer clamp; Buffer format stores; Multiply-add and output modifiers; Output modifiers on hardware (gfx1150); Float min/max/med3 with NaN, v_fract; Wave64 handling; ds_cmpst_b32; Sum of absolute differences; v_mqsad_u32_u8; s_sext_i32_i8/s_sext_i32_i16/s_flbit_i32; v_lerp_u8; s_bfe_u32/s_bfe_i32 past bit 31; 64-bit scalar data ops; s_quadmask_b32/_b64 and s_bitreplicate_b64_b32; 64-bit scalar bitwise ops; Constant lane masks; Vector integer additions; Relative SGPR reads; d16 and f16 format narrowing; v_frexp_mant_f16/v_frexp_exp_i16_f16/v_ldexp_f16; v_min3_f16/v_max3_f16/16-bit integer min/max/med3; v_cvt_flr_i32_f32/v_cvt_rpi_i32_f32; v_cvt_pknorm_i16_f32/v_cvt_pknorm_u16_f32; f16 rounding; 16-bit interpolation without PerVertexKHR; v_fmac_f16 and v_interp_p2/mov_f32 output modifiers; Known approximations; buffer_atomic_{and,or,xor,swap}_x2; Wave64 graphics partition invariance; Buffer bounds checking.

docs/README.md (1): [models.md](models.md).

docs/testing.md (2): "Validation errors without a VUID..." and "Validation errors that only your machine shows...".

Fact handling

  • Models keeps the current 382,781 re-count row: 4,686 fragments, 30,343 bone-bound and 126,301,454 triangles for the non-levels.rpf archives; the levels.rpf geometry cells are marked **†** and remain unmeasured. The old 55,417/89,887/2.64 billion copy is gone. The same correction and marker are in docs/README.md.
  • Twelve rows absorbed unique clauses from their shorter duplicates rather than just dropping them: Control flow, Global atomics, Scalar/buffer memory, Integer clamp, Buffer format stores, Multiply-add and output modifiers, Output modifiers on hardware (gfx1150), 64-bit scalar bitwise ops, Relative SGPR reads, v_cvt_pknorm_*, f16 rounding, and Known approximations.
  • The remaining groups were exact copies, older superseded numbers, or strict subsets of the kept row (for example the RDNA2 hardware-verified rows replace "not GPU-verified" copies).
  • No numbers were invented or updated beyond the rows already on main.

Verification

python -I tests/test_docs_design_rows.py
Ran 2 tests in 0.002s
OK

python -I tests/test_docs_links.py
Ran 5 tests in 0.251s
OK

git diff --check
(clean)
 docs/README.md  |  3 +-
 docs/design.md  | 89 +++++++++------------------------------------------------
 docs/testing.md |  3 --
 3 files changed, 15 insertions(+), 80 deletions(-)

Commit 506379fc on docs/dedupe-design-rows-final, based on origin/main 49475796. Docs only; no game data.

Merge every repeated topic in docs/design.md, docs/README.md and docs/testing.md into one row, keeping the current measured numbers (382,781 models; 4,686 fragments / 30,343 bone-bound / 126,301,454 triangles excluding levels.rpf) and folding in the unique verified facts from the shorter duplicates.
@Kam471

Kam471 commented Nov 22, 2026

Copy link
Copy Markdown
Contributor Author

Current main (ec8ec4c) passes tests/test_docs_design_rows.py -> 2 tests, OK. The duplicate rows this PR removed are already fixed upstream, so the branch is obsolete. Closing rather than rebasing a no-op diff.

@Kam471 Kam471 closed this Nov 22, 2026
ItsNotRexed added a commit that referenced this pull request Nov 22, 2026
# Conflicts:
#	docs/README.md
#	docs/design.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant