test(agc): isolate the depth clear cases per recorder and cover plane fills against a UAV clear #7391
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/7391"
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 AlxcBTW on 2026-10-18T04:27:45Z.
What
Follow-up to #7178. The maintainer resolved the merge conflict with #7131 (plane fills) when merging it, so the driver code is already right and this PR changes only
tests/execution/DepthClearHle.cpp.PlaneFillCase: a plane fill followed by a UAV clear of the depth plane leaves the clear value, and a plane fill after a UAV clear leaves the fill value. It covers the interaction of #7131 and #7178, which no test covered. It passes with the merged driver code; it is regression coverage, not a fix.I checked whether the merged
RecordClear(resets both fills) andRecordClearValue(resets none) can drop a pending fill of the other aspect or keep a pending fill alive after a UAV clear. EveryRecordClearcaller passes the whole pending set, and every storage access applies pending clears before the UAV is handed out, so neither happens. No driver change.Tested
bb86b5f35) plus the CI scaffolding commit: 561 of 561 passed, among themagc_driver_depth_clear_hle(2.17 s) andagc_driver_depth_plane_fill(0.14 s). Not run on Windows or on a hardware GPU.PlaneFillCasefailed when it ran after the DCB submit case. With it, the case groups and the off/on modes in reversed orders passed 60 of 60 runs on the fork CI (an earlier branch of this change, with extra order arguments that are not part of this PR).agc_driver_depth_clear_hleoccasionally die with SIGSEGV insidelibvulkan_lvp.sowhile the driver's second device is alive. The test binary from before this change does the same in 0 to 3 of 20 runs.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)Imported from boykopovar/AnyPS5. Originally posted by LeandroLP23 on 2026-10-18T16:33:25Z.
AMD on Windows: the tests this PR names pass on an RDNA 3.5 GPU.
Radeon 860M (RDNA 3.5, driver 32.0.13058.8001), Windows 11 26300, WinLibs GCC 15.2.0 r7, Release.
main6efb7261bwith this PR (bb86b5f35) merged, together with #7296, #7446, #7377, #7445, #6708, #6748, #6785, #6706, #6613, #7449, #7489, #7484, #7514. They were built once, so the result is for the combination; each merge was clean.agc_driver_depth_clear_hle,agc_driver_depth_plane_fill: pass, 3 runs of 3.agc_*test on the combined build: 713 of 716 pass. The 3 that fail,agc_driver_host_import_lifetime,agc_driver_quad_pixel_maskandagc_driver_layered_volume_vertex_no_gpl, fail the same way on unchangedmainhere, so none comes from these PRs.AI-assisted