test(shader): check that s_subvector_loop_begin tests an empty exec mask with one compare #8274
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/8274"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by thuanquang on 2026-10-20T08:15:37Z.
What
Follow-up to #7623, which made
s_subvector_loop_begintest an empty exec mask as(exec_lo | exec_hi) == 0instead ofexec_lo == 0 && exec_hi == 0but added no test that fails on the old form.agc_driver_subvector_loopcan't catch a return to two compares:main's run 39387000981 skipped it in both the linux and the windows job, and, as #7623 measured, the two-compare form fails only withrobustBufferAccess2on, whichmainkeeps off on AMD's Windows driver (#7351). #8267 turns it back on there, so with #8267 a return to two compares would break AMD again while CI still skips that test.agc_spirv_subvector_loop_beginrecompiles the exec-kept program ofagc_driver_subvector_loopat wave64, withrobustBufferAccess2off and on, and requires exactly oneOpBranchConditionalon(exec_lo | exec_hi) == 0and none onexec_lo == 0 && exec_hi == 0. It needs no GPU. The program moves toSubvectorLoopFixture.hppso both tests use one copy, asNarrowConstantStoreFixture.hppdoes for the constant store tests.Tested
Windows 11 26200, AMD Radeon RX 6700 XT (gfx1031), driver 32.0.21045.5002, WinLibs GCC 15.2.0 r7, Release,
BUILD_TESTING=ON, this branch onmain1edbe4b5e.agc_spirv_subvector_loop_beginpasses in the default build and in a second build with-DANYPS5_ENABLE_SPIRV_TOOLS=ON, as the linux job configures it, so thatRecompilealso validates and optimizes the module:ControlFlowInstructions.cppreverted locally (not committed), it fails in both builds:ctest -VwithVK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation,ANYPS5_NO_SHADER_CACHE=1andANYPS5_REQUIRE_VULKAN=1.agc_driver_subvector_looppasses withmain'sSubvectorLoop.cppand with this branch's. Neither log has aVUID-line orwas not found but was requested by env var VK_INSTANCE_LAYERS.agc_spirv_subvector_loop_begincreates no Vulkan device.RobustBufferAccess2Usablechanged locally to returntruefor every driver (not part of this PR), run from renamed copies of the test executable in the same validation-layer environment:agc_driver_subvector_looppasses on this branch. With #7623's change also reverted it fails withsubvector loop exec kept by the body, initial exec high half: lane 0 exec hi after the loop is 0, expected 4294967295, the failure #7623 fixed. Neither log has aVUID-line.python tools/check_conventions.py --base origin/mainwith this title and body passes.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
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-20T08:24:47Z.
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.
core/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txt