agc: a guest store of the same value can be lost while a native multisample depth publication commits #15600
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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-11-03T21:09:53Z.
Follow-up from #13021 (merged), which we accepted with this as documented debt.
When a written native multisample
D32S8surface is published to its guest planes,WriteChangedIfHeldCASes each 8-byte word only while the snapshot value is still there, and refuses parts with a CPU stamp or refusal since the generation. The CAS only proves the word's current value. A CPU store of that same value, landing after the generation check and while the part commits, can still be overwritten if the host changes a byte in that word. The author acknowledged this gap in the PR.What would close it: stronger synchronisation, or a proof that no same-value store can land in that window (for example, a per-part store generation checked under the tracker lock at commit time), plus a test that issues a same-value guest store during a publication.