Pooled small textures at 4 KiB placements except on AMD cards #45

Manually merged
github merged 1 commit from github-bot/gh-45 into main 2026-11-26 18:19:11 +00:00 AGit
Owner

@⁠TaynanGT on GitHub · 2026-11-26 18:11 UTC · original
TaynanGT:fix/pool-small-placement → main · +11 −3 · 1 files · 1 commits · merged 2026-11-26 18:16 UTC

Pooled textures of 64 KiB and less go back to 4 KiB placements on every card but AMD ones.

c278f0d5 moved them to 64 KiB multiples after two device losses on an RX 7900 XTX. On an RTX 4090 that only costs memory. Series S, 30 minutes, with 4 KiB placement against 64 KiB:

64 KiB 4 KiB
private memory, median 32.3 GB 29.1 GB
card memory max 16.7 GB 13.3 GB
fps median / 1% low 22.7 / 17.0 22.1 / 18.0
device losses 0 0

An 8-minute run of this build with no switch set confirms the default: 27.2 GB private and 4.4 GB of host textures at the point where the 64 KiB build held 32.9 GB and 12.7 GB.

AMD cards keep 64 KiB (crate::indirect::amd). VICTORY_POOL_SMALL=1 or =0 picks either on any card.

Checks: ci-local.ps1 (clippy both ways, workspace tests).

🤖 Generated with Claude Code

**@⁠TaynanGT** on GitHub · 2026-11-26 18:11 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/45) `TaynanGT:fix/pool-small-placement` → `main` · +11 −3 · 1 files · 1 commits · merged 2026-11-26 18:16 UTC Pooled textures of 64 KiB and less go back to 4 KiB placements on every card but AMD ones. c278f0d5 moved them to 64 KiB multiples after two device losses on an RX 7900 XTX. On an RTX 4090 that only costs memory. Series S, 30 minutes, with 4 KiB placement against 64 KiB: | | 64 KiB | 4 KiB | |---|---|---| | private memory, median | 32.3 GB | 29.1 GB | | card memory max | 16.7 GB | 13.3 GB | | fps median / 1% low | 22.7 / 17.0 | 22.1 / 18.0 | | device losses | 0 | 0 | An 8-minute run of this build with no switch set confirms the default: 27.2 GB private and 4.4 GB of host textures at the point where the 64 KiB build held 32.9 GB and 12.7 GB. AMD cards keep 64 KiB (`crate::indirect::amd`). `VICTORY_POOL_SMALL=1` or `=0` picks either on any card. Checks: `ci-local.ps1` (clippy both ways, workspace tests). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
c278f0d5 placed every pooled texture at 64 KiB multiples after two device
losses on an RX 7900 XTX. On an RTX 4090 that costs memory and nothing
else: over 30 minutes on Series S, 4 KiB placement held 3.2 GB less of
the PC's memory (29.1 against 32.3 GB) and 3.4 GB less of the card's
(13.3 against 16.7 GB) at the same frame rate, with no device loss.

AMD cards keep 64 KiB; VICTORY_POOL_SMALL=1 or =0 picks either on any
card.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 18:13:57 +00:00
Author
Owner

@⁠chatgpt-codex-connector[bot] on GitHub · 2026-11-26 18:11 UTC · original · edited 2026-11-26 18:13 UTC

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-26T18:12:32.318861Z 7d62e53 PR opened
🔒 Security Review ✅ Completed 2026-11-26T18:13:45.357976Z 7d62e53 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.

**@⁠chatgpt-codex-connector[bot]** on GitHub · 2026-11-26 18:11 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/45#issuecomment-7200158890) · edited 2026-11-26 18:13 UTC <!-- codex-pull-request-review-summary --> <!-- codex-review-state:v1 {"code_review":{"commit_sha":"7d62e536e09234289a77474db3f830a44c7e01e3","has_any_findings":false,"has_unresolved_findings":false,"status":"completed"},"security_review":{"commit_sha":"7d62e536e09234289a77474db3f830a44c7e01e3","has_any_findings":null,"has_unresolved_findings":null,"status":"completed"}} --> <!-- codex-security-review:v1 {"blockingSeverityThreshold":"P0","headSha":"7d62e536e09234289a77474db3f830a44c7e01e3","mergeGateEnabled":false,"pullRequestNumber":45,"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-26T18:12:32.318861Z">2026-11-26T18:12:32.318861Z</relative-time> | `7d62e53` | PR opened | | 🔒 **Security Review** | ✅ **Completed** <relative-time datetime="2026-11-26T18:13:45.357976Z">2026-11-26T18:13:45.357976Z</relative-time> | `7d62e53` | 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>
github manually merged commit bc09041648 into main 2026-11-26 18:19:11 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.