Repository navigation
Conversation
… driver docs/testing.md said AMD's Windows driver reports 128 bytes of push constants on RDNA2 iGPUs, as a property of the chips. A Radeon 610M on AMD 26.11.2 (Windows 32.0.21045.29003) reports 256, and the GPU suite runs there without the "need 144 push constant bytes" skip. Name the driver versions the 128 figure was measured on, in docs/testing.md, the --pc-tail-ubo row of docs/design.md and the D3D-14 paragraph of docs/d3d12_vulkan.md, and add the 26.11.2 measurement. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
AI-assisted. Checked the changed Windows driver statements at 0f67141. The two cited Radeon 610M measurements support the change. Driver 24.10.16.14 reports 128 bytes. Driver 26.11.2 reports 256 bytes. The runtime sets push_constants_need_fallback when the limit is below 144 bytes. The reports are 24.10.16.14 and 26.11.2. I also measured 256 bytes on this machine with AMD Radeon Graphics and Windows driver 32.0.21043.5001. This is a separate adapter measurement. I ran the design row, contract row, table row, table ID, list item, and environment variable checks with CPython 3.14.7. All 18 tests pass. |
Kam471
left a comment
There was a problem hiding this comment.
Ran this at 0f671416c on Windows 11: test_docs_links.py 6 OK, test_docs_table_rows.py 2 OK; git diff --check clean.
The three docs now say the 128-byte push-constant limit on AMD RDNA2 iGPUs follows the driver, with the testing notes adjusted to match. I cannot re-measure the AMD driver; the tables and links validate. No blocking issue.
|
Small note while you're in this section: on |
|
@mrp1no thanks, you're right that the section is there twice. I left the second copy in on purpose: #3857 (open, mergeable) already removes exactly that copy, along with three other duplicates, and it was there first, so deleting it here too would be a second PR for the same deletion. That is why this one edits both copies identically and lists #3857 under "Depends on". Whichever of the two lands second needs a small rebase, and I'll do it for this one. If the maintainer would rather have the deletion here, or #3857 stalls, I'll drop the second copy in this PR. AI-assisted (Claude Code). |
|
Docs-only; all seven docs guard suites pass at the head, and the edited --pc-tail-ubo row matches current main so the merge is clean. The driver-version measurements (610M 128->256 on 26.11.2) can only be confirmed on that hardware. AI-assisted: yes. Tested on Linux (RTX 5080 host, CPU-only run). |
Claimed in the coordination issue as: new PROC item, #4571 (comment)
Depends on: #3857 (no code dependency: it removes the second copy of the
docs/testing.mdsection this PR edits in both copies, so whichever lands second needs a rebase; I'll rebase this one)What and why
docs/testing.mdsays "AMD's Windows driver reports 128 on RDNA2 iGPUs (Radeon 680M, 610M, the Ryzen 7000 iGPU)", as a property of the chips. It follows the driver: a Radeon 610M on AMD 26.11.2 reportsmaxPushConstantsSize = 256, and the GPU suite runs there with noneed 144 push constant bytesskip. A tester with a current AMD driver is told to expect skips and to setLEONIDA_PC_TAIL_UBO=1, and #166 asks for a Raphael iGPU as a 128-byte device, which it no longer is on this driver.Docs only, three places:
docs/testing.md, "GPUs with 128 bytes of push constants": the sentence now names the drivers the 128 figure was measured on (the same threedocs/design.mdalready lists: 680M on 22.40.84.06, 610M on 24.10.16.14, the Ryzen 5 7600's iGPU on 24.10.24) and adds the 26.11.2 measurement. The section is onmaintwice; both copies get the same text, and Remove four things the round-42 merges left in twice (testing.md, embedded_shaders.md, test_skinned_glb.py, world_build.py) #3857 removes one of them.docs/design.md, the--pc-tail-uborow: "AMD's older Windows drivers", plus "a 610M on 26.11.2 reports 256".docs/d3d12_vulkan.md, the D3D-14 "Measured" paragraph: one sentence that the AMD iGPU figure follows the driver too (610M: 128 on 24.10.16.14, 256 on 26.11.2).Not changed: the section heading, the
--pc-tail-ubodesign, any code. I did not measure 26.11.2 on a 680M or a Ryzen 7000 iGPU, so the docs only state the 610M.Tested
AMD Radeon 610M (RDNA2 iGPU, PCI 1002:13C0), AMD 26.11.2 (Windows 32.0.21045.29003, Vulkan driver 2.0.353), Windows 11 Home 26200;
mainat7b7d73f8, llvm-mc 23.1.6, SPIRV-Tools v2026.4, test programs built with llvm-mingw 23.1.6. The entry is in #166: #166 (comment)vulkaninfo:maxPushConstantsSize = 256on the 610M.scripts/run_gpu_tests.py: 195/217 passed, 22 skipped, 0 failed; no skip names push constants.LEONIDA_PC_TAIL_UBO=1 scripts/run_gpu_tests.py: 195/217 passed, 22 skipped, 0 failed, so the variable still forces the uniform-block tail on a 256-byte device.python -I tests/test_docs_links.py,test_docs_design_rows.py,test_design_contract_rows.py,test_docs_table_rows.py,test_docs_table_ids.py,test_docs_list_items.py,test_docs_env_vars.py,test_docs_repo_paths.py: OK on this branch.AI-assisted: yes (Claude Code)
Checklist
docs/design.md, with how it was confirmed. (Not applicable: no translator rule; the existing row only gains a measurement.)🤖 Generated with Claude Code