test(agc): accept a bindless table entry captured across a page boundary #123
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/123"
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 oneandonlydean on 2026-09-29T00:31:03Z.
What
agc_shader_memoryfails about once in 75 runs onmainwith "bindless: a table entry was not captured". This is probably what was seen on #55, and it has just failed CI on #122 too.verifyBindlessTablekeeps its T# table (heap, four 32-byte entries) on the stack.ShaderMemorycaptures guest memory per page, so an entry that straddles a page boundary is held by two adjacent regions. Instrumented failures always had the entry at page offset 4080, with regions ending at…ff0 +16and starting at…000 +16. The test'scoveredhelper required a single region to hold the whole entry. The capture is correct, so the check is the part that's wrong.coverednow walks the range across adjacent regions and fails only on an actual gap.Tested
agc_shader_memory_testsonmainfailed 4 times in 300 runs. With this change it failed 0 times in 1500.ctest: 57/57 pass.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