Repository navigation
test(agc): skip the unclamped normalized blend test without shaderStorageImageReadWithoutFormat - #12968
Conversation
|
@GiannisG1 thanks, the new guard matches the emitter requirement and its skip wording is accepted by check_skips.py. Please also add shaderStorageImageReadWithoutFormat to the existing “Unclamped normalized color targets” requirements in docs/dev/debt/libSceAgcDriver.md, noting that the shader is refused when it is absent. That entry currently lists pixel interlock but omits this second capability, so the limitation should be recorded there as well as in the test skip. No production behavior change is needed for this request. |
|
@oneandonlydean added in #12916 also edits that line: it replaces "a second merged target in one draw", while this PR changes the requirements before it. Whichever lands second resolves one line. JulesB40's Windows runs (Intel UHD |
|
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
|
|
From #12916: I merged both heads ( This wording keeps both and is exactly 1000. Whichever of us lands second can use it:
The rest of your line stays as it is. The test file merges cleanly. With your skip, the two-target cases #12916 adds are skipped on such devices too. AI-assisted: yes (Claude Code) |
|
Thanks, that works. I merged both heads onto |
✅ NVIDIA GPU test: passedPR head
Failing on main too (2, not counted against this PR)Validation IDs already present on main (3 IDs in 105 tests)Skipped (8)ReproduceAutomated build and test on a contributor's NVIDIA machine; it does not replace upstream CI. A new comment is posted for each new push. Full logs. |
…rageImageReadWithoutFormat The pixel shader merge behind the unclamped blend reads the color target through a storage image without a format, so on a device with fragmentShaderPixelInterlock but without shaderStorageImageReadWithoutFormat (Intel HD Graphics 630, Mesa ANV) every draw fails with "storage image reads without a format are unavailable on the target device". Skip the test there with the device reason, as the 4_4_4_4 partial write test does for the same merge path. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rageImageReadWithoutFormat The pixel shader reads the color target through a storage image without a format, so the recompiler refuses the shader on a device without shaderStorageImageReadWithoutFormat. The sentence on unblended targets goes, to keep the entry within the 1000-character limit. Asked for by oneandonlydean in review. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
61319fb to
a98d441
Compare
|
Rebased on main. The only conflict was the "Unclamped normalized color targets" debt line, which #12916 changed: kept main's text, added shaderStorageImageReadWithoutFormat, and dropped the unblended sentence to stay within 1000 characters. Checked the skip against the 4_4_4_4 partial write test (#11943) and the debt entry against the guard; merged. |
What
agc_driver_unclamped_normalized_blend(#11684) fails on a device that hasfragmentShaderPixelInterlockbut notshaderStorageImageReadWithoutFormat, such as an Intel HD Graphics 630 on Mesa's ANV:The pixel shader merge behind the unclamped blend reads the color target through a storage image without a format (
EmitStorageImageRead,SpirvDescriptors.cpp:241), so every draw of the test needs that feature, and the recompiler refuses the shader on such a device. The test only checks for pixel interlock.This PR adds the same check the 4_4_4_4 partial write test uses for the same merge path (#11943): without
shaderStorageImageReadWithoutFormatthe test printsskipped, the device lacks shaderStorageImageReadWithoutFormatand returns 77, right after the interlock check. Nothing else changes; on such a device the refusal case without pixel interlock is skipped with the rest.At @oneandonlydean's request, the "Unclamped normalized color targets" entry in
docs/dev/debt/libSceAgcDriver.mdnow lists shaderStorageImageReadWithoutFormat next to fragmentShaderPixelInterlock and says the shader is refused without either. Its sentence on unblended targets ("Without blending Vulkan's conversion clamps the stored value.") is dropped so the entry stays withincheck_conventions.py's 1000-character limit (debt-length); it is exactly 1000 now.Tested
Linux Mint 22.3, kernel 7.0.0-38, GCC 13.3.0, Release,
BUILD_TESTING=ON, onmainbb04a4f1ea. The PR changes only this test's source, so every other test binary is the same asmain's.agc_driver_unclamped_normalized_blend:mainbb04a4f1eashaderStorageImageReadWithoutFormatfalse)check_skips.pyexit 0 on each run's JUnit fileshaderStorageImageReadWithoutFormatmasked (Khronos profiles layer, SDK 1.3.275)check_skips.pyexit 0With
VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation(layers 1.3.275),ANYPS5_NO_SHADER_CACHE=1,ANYPS5_REQUIRE_VULKAN=1,ctest -V: nowas not found but was requested by env var VK_INSTANCE_LAYERS; VUIDs the same onmainand this PR (none on the HD 630,VUID-VkDeviceCreateInfo-pNext-pNexton the other two).Also tested by @JulesB40 on Windows 11 with WinLibs GCC 15.2.0 r7, on
mainbb04a4f1ea, withANYPS5_REQUIRE_VULKAN=1andANYPS5_NO_SHADER_CACHE=1(from #12973, closed as a duplicate of this one). The Intel UHD (Raptor Lake,8086:a788, driver 101.7085) fails 3 of 3 onmainwithstorage image reads without a format are unavailable on the target deviceand skips with this change. The RTX 4070 Laptop (0x2860, driver 616.92) passes 3 of 3 with the full run, with noVUID-lines underVK_LAYER_KHRONOS_validation.The 206 source-scanning tests (
conventions_*,public_headers*,check_compile*,check_main_sync,check_skips) pass, andcheck_conventions.py,check_test_registration.pyandcheck_main_sync.pyare clean.tools/pr_overlap.py --branch: #12916 also changes the test file and merges with it, and since the debt commit it also edits the same entry line (L280): it replaces "a second merged target in one draw", this PR the requirements before it and the unblended sentence, so whichever lands second resolves one line.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code