docs: record the RDNA 4 guarded-compare denormal mode switch #1037
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1044"
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 lantiumBot on 2026-11-23T22:46:53Z.
Change
The focused docs patch requested on #958: the two-adapter shape table and the DXIL/RGA qualification, added to
docs/experiments.mdafter the paragraphs on the harness's binary32 and binary16 denormal modes. Four paragraphs and one table:preserveshaders and oneftzcontrol, with the DXIL each compiles to around itsfcmp oeqand the word read back on an RX 9060 XT, an RX 9070 XT and WARP. In these shaders the flushed word appears exactly where thefcmpresult feeds anand i1, including the row whose two operands are both constant-buffer values.s_denorm_mode 14/15around the guarded compare ongfx1200andgfx1201. The text says that RGA compiles its own pipeline object, names which machine each listing and each draw comes from, and keeps the listings separate from the D3D12 readback.and i1, the two-data-operand rows on other drivers, non-RDNA 4 Radeons, other vendors on these exact shapes, and one unexplained RX 9070 XT observation from the thread.The comparison fixture, its strict preserve expectation and the translator are unchanged. This helps a contributor who meets the red
pixel_aot_comparisons_hardwarerow on RDNA 4 find the measured cause and its limits in the experiment notes instead of reconstructing them from the issue thread.Documentation only.
Refs #958
Verification
Branch at
139892a, rebased onmainat61e5a09. Windows 11 build 26300.10075, Python fromout/pe-env.After the rebase:
docs_links_check.py:Checked 13 Markdown files and 223 links., exit 0bidi_controls_check.py:Checked 871 tracked source, script and build/CI files: no bidirectional controls., exit 0hardware_reports_check.py:OK, exit 0git diff --check origin/main: no output, exit 0The "DXIL around the
fcmp" column was recompiled for this patch with DXC 1.9.2602.17 (21d28f727),-Gis -denorm preserve -T ps_6_2 -E main(and-denorm ftzfor the last row), from the shader template of the smallest-pair script:fcmpresult feedszextonly)and i1br i1on the guard,fcmpinto aphiNo draw and no RGA run was repeated for this patch.
Evidence and follow-up
Every adapter result is quoted from a comment on #958 and linked in the text:
gfx1200ISA: my own runs, smallest pair and shape draws and ISA.thepatrickworld, comment.gfx1201ISA and the rerun on two more drivers:MasterDomino, ISA and rerun.roansystemlabs, comment.I could not rerun the measurements of the other three reporters; they are recorded as published. Where a report does not state something the evidence rule asks for (the Windows build and debug-layer status of the RX 9070 XT shape run), the text says "not reported".
Assumptions that affect the reading: the meaning of
s_denorm_mode14 and 15 is the decode given in thegfx1201comment and was not checked against AMD documentation; the full fixture shader was not disassembled, only its reduced form.I claimed this patch on the issue and asked @thepatrickworld whether it was already in progress; there was no reply, so tell me if this overlaps and I will close it. The test-suite arrangement discussed on #958 is a separate change and is not part of this PR.
Checklist
AI-assisted (Claude Code - Fable 5.2). The RX 9060 XT measurements were run locally on that adapter.
Imported from R0Y00/Xbox2Windows. Originally posted by lantiumBot on 2026-11-23T23:04:44Z.
@thepatrickworld the patch is up, with your four points and the RGA requirements folded in as a second commit (
5969579):2d8a0cc, Windows build 26200.9711, debug layer unavailable, one run against three here;gfx1200andgfx1201are attributed to separate reporters and drivers, the table's RX 9070 XT is stated to have no ISA measurement, and the RGA caveat has its own sentence (own blend, rasterizer and sample state; ISA and draws as separate evidence).One thing I could not source: the WARP version for your second capture. The note keeps 10.0.26100.9711 and says it was reported with the first table; correct me if it changed.
AI-assisted (Claude Code - Fable 5.2).
Imported from R0Y00/Xbox2Windows. Originally posted by thepatrickworld on 2026-11-23T23:20:58Z.
To answer your question directly:
10.0.26100.9711is right for both captures. The second one reportsdriver=10.0.26100.9711on its own driver line, so the WARP build is the same in both; what differs between the two captures is the shader, not the backend.I checked the PR table against the log rather than against my own prose. Every one of the eight RX 9070 XT cells matches row for row, and so does every WARP cell, including the
ftzcell at 1 on both. Four rows diverge, three agree at 0 and one agrees at 1 — that is all eight. Words 1 to 3 are zero in every row; the raw per-row lines are in the comment the text already links,#issuecomment-7116318595. The second draw in the script runs per row on the same original shader, using the four observed words as the expectation for all 64 pixels, so it is a uniformity check and not a repeat — the note says that correctly.Provenance matches what I reported: device
7550/gfx1201, renderer at2d8a0cc, Windows build26200.9711, one run against your three, WARP10.0.26100.9711, scripts unmodified. One addition for the DXIL column, since that is the load-bearing part: the DXC behind my rows is the Windows Kits10.0.26100.0binary, which reports itself asdxcompiler.dll 1.9.2602.17 (21d28f727)— the compiler version, not the SDK folder number, is what belongs beside the column. And the note is right that the table's RX 9070 XT has no ISA measurement; I never ran RGA.One sentence to fix, under "Not established". It calls the four-channel-probe observation unexplained, and the comment it cites says the opposite: "That now has an explanation: the reduction changes the DXIL shape, and the shape is what the compiler acts on." That is also why the diagnostic stays in the original shader. The mechanism was not re-measured, so keep it as attribution rather than fact:
With that sentence changed, nothing else blocks it from my side.
AI-assisted; the RX 9070 XT rows are my runs on one machine.
Imported from R0Y00/Xbox2Windows. Originally posted by lantiumBot on 2026-11-23T23:23:37Z.
Fixed in a third commit: the "Not established" sentence now uses your wording, as attribution rather than fact, and the WARP version is stated without the caveat since both captures report 10.0.26100.9711. The DXIL column already cites the compiler version 1.9.2602.17 rather than the SDK folder.
Thanks for checking the cells against the raw log.
AI-assisted (Claude Code - Fable 5.2).
Imported from R0Y00/Xbox2Windows. Originally posted by thepatrickworld on 2026-11-23T23:37:31Z.
Both points landed as asked, and I checked the new wording rather than the commit message.
The observation now reads exactly as attribution rather than as a gap — "was not re-measured … the shape rule in the linked comment attributes that to the reduction changing the DXIL shape; the pair itself was not run again" — which is what the comment supports. The WARP provenance is cleaner too: "beside WARP 10.0.26100.9711, one run per backend" drops the ambiguity about which capture carried the version, and 10.0.26100.9711 is right for both.
Nothing else blocks it from my side; the table, the four diverging rows, the ftz cell and the run-count asymmetry all still match my log at this head.
One thing I would not claim yet: the two Windows jobs on
d82d5b6cwere still in progress when I looked, and both Linux jobs had passed. Since this is docs-only that is probably a formality, but the merge state readsblocked, so whoever merges should wait for their result rather than read this note as one.AI-assisted.