Repository navigation
Conversation
Five rows still carried pre-fix text beside the corrected statements: - image_gather4_l: border modes 6 and 7 return the S# border colour; only the half-border modes 4 and 5 are Unsupported on a literal S#. - Scalar select and pack: s_cmov_b64 translates plain data pairs and refuses only lane-mask operands, not the whole opcode. - Known approximations: nearest-mode v_fma_mix* rounds once via Gen.fma_mix_odd since ItsNotRexed#1774 (SHADER-296), and all seven f16 ops are measured. - buffer_atomic_*_x2: an exchange can tear between lanes, and the 8-byte bounds check is measured all-or-nothing. - Buffer bounds checking: SWIZZLE_ENABLE and ADD_TID_ENABLE are modelled (Swizzled buffer addressing row). tests/test_docs_contract_rows.py pins the corrected contract; it fails on all five rows against the stale text. AI-assisted. Docs-only change; verified by the new unit test (fails on main, passes here) and tests/test_docs_table_rows.py. Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
Independent CPU verification on Linux (Python 3.13.5, head
Looks good to merge. |
Kam471
left a comment
There was a problem hiding this comment.
Ran this at 6636822df on Windows 11: pytest tests/test_docs_contract_rows.py -q -> 5 passed; test_docs_design_rows.py 2 OK; git diff --check clean.
Five contract rows lose their stale sentences (claims the same row's later text contradicts), and the new tests/test_docs_contract_rows.py pins those removals so the sentences do not come back. Docs only. No blocking issue.
|
Independent check — pass (CPU only).
AI-assisted (Devin); no game files. |
|
Reviewed and tested 6636822 (I'm the finder of SHADER-891), Windows 11 (26200), Python 3.12: pass. For each of the five rows I checked the PR's text against |
|
Independent Windows CPU verification on
|
claiming: the self-contradicting docs/design.md contract rows (unclaimed
finding:by lines9686-rgb)Five rows in docs/design.md still carried pre-fix text beside the corrected statements; each contradiction was checked against
tools/rdna2spirv.py:image_gather4_l(Other additions): border modes 6 and 7 return the S# border colour; only half-border modes 4 and 5 areUnsupportedon a literal S# (gather_addr_modes).s_cmov_b64translates plain 64-bit data pairs and refuses only lane-mask operands.v_fma_mix*rounds the exact fma once viaGen.fma_mix_oddsince fix(translator): round v_fma_mixlo/hi_f16 once to f16 (finding 7079901079) #1774 (SHADER-296), and all seven f16 ops are measured.buffer_atomic_{and,or,xor,swap}_x2: an exchange can tear between lanes, and the 8-byte bounds check is measured all-or-nothing.The sixth row of the finding (Flat pixel inputs) is already fixed by open PR #5084 and left alone.
tests/test_docs_contract_rows.pypins the corrected contract: it fails on all five rows againstmain's stale text and passes here.tests/test_docs_table_rows.pystill passes.AI-assisted. Docs-only change — verified by the new CPU unit test; no GPU run needed (no shader or runtime change)