Repository navigation
Add GFX12 hardware oracle support and improve GPU testing - #4152
nandorjanosi wants to merge 1 commit into
Conversation
|
Independent CPU verification of PR head:
Untouched base with the same test files:
The negative controls land exactly on the new GFX12 oracle/T# paths, so the CPU-side change is well scoped. No game data or hardware was used. |
|
Code read of b1cb9b7: the GFX12 kernel spelling is right, and two of the new paths are untested. Windows 11, CPython 3.14.6, llvm-mc 23.1.6. Live mutant, kernel text: putting the GFX11 spelling back at Live mutant, calls: skipping The GFX12 WORD4 pitch branch is not separable from the GFX11 formula inside the legal size range. The largest pitch is 16383 (width 16129, 1 byte per texel), so bit 14 is never set. AI-assisted code read (Claude) |
sds-228
left a comment
There was a problem hiding this comment.
Code review of b1cb9b7: one issue. git diff --check reports trailing whitespace in tools/hw_oracle/tsharp.py and tools/image_fuzz.py; please strip it before merge. Targeted suites: 17, 44 and 25 tests OK (some skips).
AI-assisted (OpenCode).
|
Tested AMD Radeon RX 9070 XT (RDNA4, gfx1201, driver 32.0.32029.2010):
Ryzen 7 9800X3D iGPU (RDNA2, gfx1036, driver 32.0.21045.29003), to check that the gfx10 path is unchanged: Controls on the 9070 XT:
PR tests on Windows (Python 3.13): Synthetic textures only, no game files. |
|
Verified on Linux: merges cleanly with current main and merge-trees cleanly against both #4087 and #3954. The new/changed suites pass (test_hw_oracle 44 OK / 2 skipped; test_image_fuzz_hw 29 passed / 1 skipped, so the GFX12 T# word tests ran; test_loop_ballot_barrier 17 OK) — but the DMASKS reorder in tools/image_fuzz.py breaks the pre-existing test_dmask_schedule_covers_each_format_and_keeps_full_mask_first, which asserts DMASKS[0] == 0xf; that test passes on main and fails on this head, so the reorder needs to keep the full mask first or carry the invariant's update with its rationale. Smaller items: a computed-then-unused |
What and why
Adds GFX12 (RDNA 4) hardware oracle support and improves GPU testing.
Tested
Checklist