ci: run the shader execution tests on lavapipe #251
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/251"
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 adriadam10 on 2026-10-01T19:38:09Z.
What
Runs the two shader execution tests in CI.
agc_driver_mix_precisionandagc_driver_sdwa_destinationdispatch hand-assembled RDNA through the recompiler and compare every lane with a CPU model (that is how the fma_mix OP_SEL and SDWA high-half bugs were found, #205 #214), but they were not registered in ctest.tests/execution/, which is globbed: one test target per.cpp, same names as before (MixPrecision.cpp→agc_driver_mix_precision_tests). They join the existing AGC ctest loop withSKIP_RETURN_CODE 77. A new execution test is then just a new file, with no lines in the sharedCMakeLists.txt(the usual conflict point between shader PRs).tests/VulkanTestDevice.hpp: when no Vulkan device can be created the test exits 77 (skipped), so Windows, release builds and machines without a GPU are unaffected. WithANYPS5_REQUIRE_VULKANset it fails instead.libvulkan1 mesa-vulkan-drivers) and setsANYPS5_REQUIRE_VULKAN=1for ctest, so the tests cannot silently skip there.This makes it possible to add more recompiler tests that check results, not just that an
IrOpcodeis emitted.Not included:
agc_driver_mesh_testsandagc_driver_bda_device_testspass on RADV but crash on lavapipe;agc_driver_recorder_testsandagc_driver_recompiler_testsfail on RADV too (the latter still expects "Recompile not implemented"). Left for separate PRs.Tested
Linux (CachyOS), ctest on the two tests:
VK_DRIVER_FILES) withANYPS5_REQUIRE_VULKAN=1: passANYPS5_REQUIRE_VULKAN=1: both fail (vkCreateInstance: Vulkan result -9)Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-02T00:48:09Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)core/libs/prx/libSceAgcDriver/CMakeLists.txtL395-417core/libs/prx/libSceAgcDriver/CMakeLists.txtL395-417