fix(agc): zero the pending key store block, reapply #5791 with an llvmpipe skip #6560

Merged
adriadam10 merged 2 commits from upstream-pr/6560 into main 2026-10-15 20:43:36 +00:00
adriadam10 commented 2026-10-15 20:43:27 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-15T20:43:27Z.


What

Turns main's linux job green and brings back #5791.

  • agc_pending_key_stores (red on main since #5784, intermittently): the test cleared only the first 256 bytes of its 64 KiB block and then asked for the keys of 512 bytes. The other 256 were whatever the heap held; when they were not all equal the range reads as mixed (correct) and the "range wider than the pending fill" check failed. It now zeroes the whole block. Checked by putting one different byte at offset 300 with the old memset: same failure message as main's run 38800490571.
  • #5791 reapplied (reverted by #6552). agc_driver_mesh_index_cache aborted on llvmpipe (LLVM ERROR: Cannot emit physreg copy) and now skips there with the same reason agc_driver_mesh already uses, which check_skips.py accepts.

Tested

  • RADV: agc_pending_key_stores, agc_driver_mesh, agc_driver_mesh_index_cache pass.
  • CI's lavapipe (Mesa 25.2.8, LLVM 20.1.2, AVX caps, no /dev/udmabuf): agc_pending_key_stores passes, both mesh tests skip with the llvmpipe reason.

Main fix: merged without the full Build, main's push build is the proof.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4879583977 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6560). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-15T20:43:27Z. --- ## What Turns main's linux job green and brings back #5791. - `agc_pending_key_stores` (red on main since #5784, intermittently): the test cleared only the first 256 bytes of its 64 KiB block and then asked for the keys of 512 bytes. The other 256 were whatever the heap held; when they were not all equal the range reads as mixed (correct) and the "range wider than the pending fill" check failed. It now zeroes the whole block. Checked by putting one different byte at offset 300 with the old memset: same failure message as main's run 38800490571. - #5791 reapplied (reverted by #6552). `agc_driver_mesh_index_cache` aborted on llvmpipe (`LLVM ERROR: Cannot emit physreg copy`) and now skips there with the same reason `agc_driver_mesh` already uses, which `check_skips.py` accepts. ## Tested - RADV: `agc_pending_key_stores`, `agc_driver_mesh`, `agc_driver_mesh_index_cache` pass. - CI's lavapipe (Mesa 25.2.8, LLVM 20.1.2, AVX caps, no /dev/udmabuf): `agc_pending_key_stores` passes, both mesh tests skip with the llvmpipe reason. Main fix: merged without the full Build, main's push build is the proof.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!6560
No description provided.