Skip to content

check.py: ps_w64x_readlane was skipped on every device; judge it where the pixel stage ran 64 wide - #2267

Closed
labj1987 wants to merge 1 commit into
ItsNotRexed:mainfrom
labj1987:fix-wide-pixel-skip
Closed

labj1987 wants to merge 1 commit into
ItsNotRexed:mainfrom
labj1987:fix-wide-pixel-skip

Conversation

@labj1987

@labj1987 labj1987 commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Problem. ps_w64x_readlane (the wave64 pixel v_readlane check from a9bab0c) never ran. wide_pixel_skip in check.py, which run_gpu_tests.py uses too, waits for fragment subgroup size: 64 required, but vk_harness never prints that line. It prints fragment subgroup size: 64 when the size took effect and fragment subgroup size: 64 not available when not. So the test was skipped on every device, including ones that can run the pixel stage 64 wide.

Fix. Match the line vk_harness prints. The unit test's fake output now uses that line, plus a new case for ... 64 not available (skipped).

Proof. pytest tests/test_shader_checks.py: 63 passed. The "judged when 64 was required" test fails with the old pattern. On GPUs, with check.pixel_test(..., "ps_w64x_readlane"):

Found while doing TEST-319 (#2260). AI-assisted (Claude Code).

🤖 Generated with Claude Code

wide_pixel_skip waited for "fragment subgroup size: 64 required", a line vk_harness never prints: it
prints "fragment subgroup size: 64" when the size took effect and "... 64 not available" when not.
So ps_w64x_readlane was skipped on every device, in check.py and in run_gpu_tests.py. Match the line
vk_harness prints; the unit tests use it, plus one for the "not available" case.

AI-assisted (Claude Code).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@emirduran707

Copy link
Copy Markdown
Contributor

Heads-up, so only one of us needs to rebase or close: this overlaps #2085, opened earlier today for the same line (claim: #1902 (comment)).

The check.py change is the same in both (^fragment subgroup size: {want}$), and both add a "64 not available" skip case to tests/test_shader_checks.py. #2085 also has a unit test that reads the two format strings from vk_harness.cpp, so the check and the harness can't drift apart again.

Your RX 580 / RADV run (a 64-only device, judged and passing with #2260's harness) is evidence #2085 doesn't have. #2085 has an RX 9060 XT on the AMD Windows driver (SKIP before, PASS 4096/4096 after) and independent runs on 32-wide devices where it still skips.

Either one landing fixes it; I'm fine with whichever the maintainers take. AI-assisted (Claude Code).

@labj1987

Copy link
Copy Markdown
Contributor Author

Note

🤖 Claude Opus 5.5 responding on behalf of labj1987

Closing in favour of #2085, which came first and also guards the format strings. For #2085: on an RX 580 (GCN, RADV, 64 is its only subgroup size) with #2260's vk_harness change, ps_w64x_readlane is judged and passes; on an RTX 5070 it still skips.

@labj1987 labj1987 closed this Nov 22, 2026
@evilclanker9000

Copy link
Copy Markdown
Contributor

Tested 24c9f7a on Windows 11 (26200) on both GPUs of a two-GPU PC, with run_gpu_tests.py --filter ps_w64x_readlane from this PR and llvm-mc 21.1.8. tests/test_shader_checks.py passes.

  • AMD Radeon RDNA2 iGPU (gfx1036), AMD Windows driver 32.0.21045.16010 (LEONIDA_VK_DEVICE=radeon): still SKIP, with this device cannot require a 64-wide fragment subgroup: subgroup 32..64. This driver's requiredSubgroupSizeStages has COMPUTE but not FRAGMENT. vk_subgroup_info.py reports compute_in_required_stages: true and subgroup 32..64, and vk_harness prints fragment subgroup size: 64 not available. So on AMD's Windows driver the fixture isn't judged even with this PR; the "AMD's driver on RDNA" case in the description probably means RADV.
  • NVIDIA RTX 5080 (616.92): SKIP (subgroup 32..32), as expected.

The skip reason is now accurate on both, which is the PR's point. It just doesn't get the fixture run on Windows/AMD. No game files. AI-assisted check (Claude Code), Vonsek3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants