Remember write-watch stamps for placed GPU pages #342

Merged
TaynanGT merged 1 commit from upstream-pr/342 into main 2026-11-27 18:26:27 +00:00
TaynanGT commented 2026-11-27 18:11:48 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T18:11:48Z.


Record the write-watch stamp before copying a placed page. A later refresh can then preserve the GPU-written bytes until the title writes the page again. A page with no stamp keeps the full refresh path. VICTORY_PLACE_TAKEN=0 selects that path for comparison.

A standalone Windows regression ran the actual placement code and refresh decision with a simulated copy backend. It reproduced the overwrite on the old path, preserved the GPU bytes with the stamp, and verified that a newer CPU write is still copied. It also covered an unwatched page and the disabled switch.

Adapted from urielbeaupre’s page-stamp change. The ray traversal and diagnostic changes remain in #305.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:issue:5531185457 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/342). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-27T18:11:48Z. --- Record the write-watch stamp before copying a placed page. A later refresh can then preserve the GPU-written bytes until the title writes the page again. A page with no stamp keeps the full refresh path. `VICTORY_PLACE_TAKEN=0` selects that path for comparison. A standalone Windows regression ran the actual placement code and refresh decision with a simulated copy backend. It reproduced the overwrite on the old path, preserved the GPU bytes with the stamp, and verified that a newer CPU write is still copied. It also covered an unwatched page and the disabled switch. Adapted from [urielbeaupre’s page-stamp change](https://github.com/urielbeaupre/Vice-Tay/commit/14c6a0568567034c80d1d9e353f109bc2c76e1f9). The ray traversal and diagnostic changes remain in #305.
chatgpt-codex-connector[bot] commented 2026-11-27 18:12:02 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by chatgpt-codex-connector[bot] on 2026-11-27T18:12:02Z.


Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-27T18:13:06.259398Z 029a680 PR opened
🔒 Security Review ✅ Completed 2026-11-27T18:14:30.749995Z 029a680 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7225234680 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/342#issuecomment-7225234680). Originally posted by [chatgpt-codex-connector[bot]](https://github.com/apps/chatgpt-codex-connector) on 2026-11-27T18:12:02Z. --- <!-- codex-pull-request-review-summary --> <!-- codex-review-state:v1 {"code_review":{"commit_sha":"029a68099aa2fd63a2d51a33303f283f2b567401","has_any_findings":false,"has_unresolved_findings":false,"status":"completed"},"security_review":{"commit_sha":"029a68099aa2fd63a2d51a33303f283f2b567401","has_any_findings":null,"has_unresolved_findings":null,"status":"completed"}} --> <!-- codex-security-review:v1 {"blockingSeverityThreshold":"P0","headSha":"029a68099aa2fd63a2d51a33303f283f2b567401","mergeGateEnabled":false,"pullRequestNumber":342,"repository":"TaynanGT/Vice-Tay","status":"completed"} --> <details> <summary><strong>Codex Review Summary</strong>: ✅ Completed</summary> This comment shows the latest Codex review activity on this pull request. | Review | Status | Commit | Review trigger | | --- | --- | --- | --- | | 📝 **Code Review** | ✅ **Completed** <relative-time datetime="2026-11-27T18:13:06.259398Z">2026-11-27T18:13:06.259398Z</relative-time> | `029a680` | PR opened | | 🔒 **Security Review** | ✅ **Completed** <relative-time datetime="2026-11-27T18:14:30.749995Z">2026-11-27T18:14:30.749995Z</relative-time> | `029a680` | PR opened | <details> <summary>ℹ️ About Codex in GitHub</summary> <br/> [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@codex review" or "@codex security review". Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. </details> </details>
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
TaynanGT/Vice-Tay!342
No description provided.