Skip to content

test(agc): skip the unclamped normalized blend test without shaderStorageImageReadWithoutFormat - #12973

Closed
JulesB40 wants to merge 1 commit into
boykopovar:mainfrom
JulesB40:test/agc-unclamped-blend-read-without-format
Closed

JulesB40 wants to merge 1 commit into
boykopovar:mainfrom
JulesB40:test/agc-unclamped-blend-read-without-format

Conversation

@JulesB40

Copy link
Copy Markdown
Contributor

What

agc_driver_unclamped_normalized_blend (#11684) reads its storage image without a format, like the 4_4_4_4 partial-write test, but checked only pixel interlock. On a device without shaderStorageImageReadWithoutFormat it fails instead of skipping:

ShaderRecompiler::Recompile: SPIR-V module emission failed: storage image reads without a format are unavailable on the target device

It now skips with skipped, the device lacks shaderStorageImageReadWithoutFormat, as #11943 does for PackedUnorm4444PartialWrite.cpp. The message matches the device-limitation pattern in tools/check_skips.py.

Tested

Windows 11 Home 10.0.26200, WinLibs GCC 15.2.0 r7, Release, main bb04a4f1ea. ANYPS5_REQUIRE_VULKAN=1, ANYPS5_NO_SHADER_CACHE=1, VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation, ctest -R '^agc_driver_unclamped_normalized_blend$' -V:

  • Intel UHD (Raptor Lake, 8086:a788, driver 101.7085), main: fails 3 of 3 with the error above. It also failed in a full ^agc_ run on that commit.
  • Intel UHD, this PR: skipped, the device lacks shaderStorageImageReadWithoutFormat.
  • NVIDIA RTX 4070 Laptop (0x2860, driver 616.92), this PR: passes 3 of 3 with the full run, 14 UNORM draws, 4 SNORM draws, 2 same-draw overdraws of 16 layers, 1 refusal without pixel interlock. No VUID- lines, and no was not found but was requested.
  • check_conventions.py --base origin/main passes, and pr_overlap.py reports no overlap.

The other Intel failures on this device are #12522.

Reviewed with sol-loop: 1 round with gpt-6.1-sol. Sol verdict: approved

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: Intel UHD Graphics (Raptor Lake-S Mobile, 8086:a788), Intel driver 101.7085, Windows 11 26200; NVIDIA GeForce RTX 4070 Laptop GPU (10de:2860), driver 616.92, Windows 11 26200
  • AI-assisted: yes

Created with Claude Opus 5.5 in Claude Code.

🤖 Generated with Claude Code

…rageImageReadWithoutFormat

The test reads its storage image without a format, as the 4_4_4_4 partial
write test does, but checked only pixel interlock, so it failed on Intel
UHD (Raptor Lake, Windows) with "storage image reads without a format are
unavailable on the target device". Skip it like boykopovar#11943 does for that test.

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

GiannisG1 commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

#12968, opened 11 minutes before this one (17:48Z), makes the same change: the two diffs to UnclampedNormalizedBlend.cpp are identical, and it's assigned to adriadam10. Your Windows runs (the Intel UHD 8086:a788 failing on main and skipping with the change, and the RTX 4070 passing) cover a platform #12968's Linux runs don't. If that's fine with you, I'll cite them on #12968 and you could close this one as a duplicate. If you'd rather keep yours, say so.

@JulesB40

Copy link
Copy Markdown
Contributor Author

Note

🤖 Claude Opus 5.5 responding on behalf of JulesB40

Thanks for spotting it, and yes: #12968 came first with the same diff, so I'm closing this one as a duplicate. Please cite the Windows runs on #12968. They're in this PR's description:

  • Intel UHD (Raptor Lake, 8086:a788, driver 101.7085) on main bb04a4f1ea: fails 3 of 3 with storage image reads without a format are unavailable on the target device. With the change it skips with skipped, the device lacks shaderStorageImageReadWithoutFormat.
  • RTX 4070 Laptop (0x2860, driver 616.92) with the change: passes 3 of 3 with the full run. No VUID- lines, with VK_LAYER_KHRONOS_validation loaded.

Both used ANYPS5_REQUIRE_VULKAN=1 and ANYPS5_NO_SHADER_CACHE=1 on Windows 11 with WinLibs GCC 15.2.0 r7.

Duplicate of #12968.

@oneandonlydean

Copy link
Copy Markdown
Collaborator

@JulesB40 thanks. This is the same four-line change as #12968, which was opened a few minutes earlier for the same failure (the diffs are identical) and is already reviewed: the guard is right, with one small debt-entry follow-up asked there. To avoid two PRs for one fix, could you close this one in favour of #12968? If you have a device where you saw the failure (GPU and driver), adding that to #12968 would be useful.

@JulesB40

Copy link
Copy Markdown
Contributor Author

@JulesB40 thanks. This is the same four-line change as #12968, which was opened a few minutes earlier for the same failure (the diffs are identical) and is already reviewed: the guard is right, with one small debt-entry follow-up asked there. To avoid two PRs for one fix, could you close this one in favour of #12968? If you have a device where you saw the failure (GPU and driver), adding that to #12968 would be useful.

Thanks for checking! I had already closed #12973 as a duplicate following the earlier discussion, shortly before your comment. The GPU/driver details and Windows test results are also included in the PR description and my previous comment, in case they're useful for #12968.

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