docs: record the gfx2hlsl bit-operation draws on WARP and an RX 6600 #1746
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1753"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from R0Y00/Xbox2Windows. Originally posted by Asimmimx on 2026-11-24T18:08:32Z.
Refs #1149.
Change
docs/experiments.md, section "Startup translator: per-lane bit operations", said: "The draw mode has not been run on WARP or hardware yet." I ran it on both and replaced the sentence with the result. This is a docs-only change; no code or test changes.Run
Commit
48d9571d(origin/mainwhen run). Windows 11 26300.9974, DXC 1.8.2502.11, FXC from Windows SDK 10.0.26100, D3D12 debug layer on.ps_5_1+ 17 DXCps_6_0)Both runs exited 0, with no skips. For example, on the RX 6600:
Correction to #1703's PR body: there I wrote that this draw gave "46 draws matched and 12 mutated draws failed". The 46 counted the 12 mutation lines as well; the correct figure is 34 draws plus 12 mutated draws, as recorded here.
docs_links_check.pypasses.AI-assisted (Claude Code).
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-24T18:13:57Z.
Review: APPROVED
Verified
docs/experiments.mdat1f9aeec7c05a7671afa60df0b2eb7df61f15431d.48d9571dis an ancestor oforigin/mainwith no changes totests/startup_gfx2hlsl_bit_alu_check.pyortools/startup/gfx2hlsl.pysince.tests/startup_gfx2hlsl_bit_alu_check.pyruns 17 draws per compiler (3 + 2 + 3 + 3 + 3 + 3chunks of 4 across the 6 operations), giving 34 draws total across FXCps_5_1and DXCps_6_0, plus 12 mutated draws (6 operations x 2 compilers) that assert exact mutated readback words. Environment, driver, and adapter details match the PR report and #1703.git diff --check origin/main...HEAD— cleanpython3 tests/docs_links_check.py— passed (17 Markdown files, 366 links)python3 tests/bidi_controls_check.py— passed (1302 tracked files)1f9aeec7c05a7671afa60df0b2eb7df61f15431d):Build and test on Windows,Assemble and translate gfx1013 fixtures, andRun platform-independent Python checks on Linuxall passed.AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by ChazY11 on 2026-11-24T18:37:04Z.
The new sentence is supported; the sentence next to it is now stale
Checked at
origin/main=b4c961cdand on the PR branch. The three tests the paragraph names exist, and the controls modeprints the numbers the paragraph claims:
17,459 / 324 and the per-operation mutations are exactly what the paragraph says, so the added claim about the draw mode is
in the same shape as the rest of it.
The stale sentence
The same paragraph contains, unchanged by this PR:
That is no longer true — the lowering is on
mainnow:So on today's
origin/mainthe check passes. The sentence was accurate while the check sat ahead of the lowering; now itdescribes a past state as if it were the current one, and a reader who tries it will think they have a different tree.
Suggested wording, since this PR is already touching the paragraph:
or, if the intent is a permanent control, "the check loads the translator with the lowering removed and requires that
failure" — which is a stronger claim and is what
startup_gfx2hlsl_operand_countdoes for its own guard.Verdict
Reviewed the diff. The link between the draw-mode result and the adapters it names is plausible and matches the fixture's
own printout, and nothing in the change weakens the controls. The stale sentence is the only thing I would change, and it
is one line in the text this PR already edits.
Notes