Recover texture remaps and reduce command-list allocation overhead #14

Manually merged
github merged 2 commits from gh-pr/14/head into gh-pr/14/base 2026-11-26 05:58:18 +00:00
Owner

@⁠TaynanGT on GitHub · 2026-11-25 20:20 UTC · original
TaynanGT:temp/tracker-renderer-fixes → main · +153 −56 · 4 files · 2 commits · merged 2026-11-25 20:23 UTC

Changes

  • Requeue placed textures after the remap queue overflows, including textures that had already left the upload queue. The overflow flag and the range list are consumed together.
  • Reuse command-list scratch buffers for texture uploads at the required 512-byte alignment.
  • Retain each host pipeline and root-signature pair once per command-list recording.

Sources

Validation

Regression tests cover remap overflow after a texture leaves the queue and aligned texture uploads sharing a D3D12 buffer. The Windows CI run passed the workspace tests and both Clippy configurations. The local GPU crate suite passed 261 tests, including both regressions. A diagnostic build also resolved all imports in the executable and its four modules in a load-only Series X check.

In-game frame-rate changes have yet to be measured.

**@⁠TaynanGT** on GitHub · 2026-11-25 20:20 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/14) `TaynanGT:temp/tracker-renderer-fixes` → `main` · +153 −56 · 4 files · 2 commits · merged 2026-11-25 20:23 UTC ## Changes - Requeue placed textures after the remap queue overflows, including textures that had already left the upload queue. The overflow flag and the range list are consumed together. - Reuse command-list scratch buffers for texture uploads at the required 512-byte alignment. - Retain each host pipeline and root-signature pair once per command-list recording. ## Sources - [KLBF Lab remap recovery](https://github.com/PastiiJay/klbf-lab/commit/56bb7c30) - [Belobug's fork PR #30](https://github.com/Belobug/VIctory-Belobug-AMD/pull/30) and [PR #25](https://github.com/Belobug/VIctory-Belobug-AMD/pull/25), by romainhedouin ## Validation Regression tests cover remap overflow after a texture leaves the queue and aligned texture uploads sharing a D3D12 buffer. The [Windows CI run](https://github.com/TaynanGT/Vice-Tay/actions/runs/45693985897) passed the workspace tests and both Clippy configurations. The local GPU crate suite passed 261 tests, including both regressions. A diagnostic build also resolved all imports in the executable and its four modules in a load-only Series X check. In-game frame-rate changes have yet to be measured.
Revisit placed texture slots once after dropping remap ranges, including completed uploads. Consume the overflow flag and queued ranges under the same lock.

Based-on: 56bb7c30

Co-authored-by: PastiiJay <[email protected]>
Reuse command-list scratch chunks for aligned texture uploads and retain each host pipeline and root-signature pair once per recording.

Based-on: https://github.com/Belobug/VIctory-Belobug-AMD/pull/30

Based-on: https://github.com/Belobug/VIctory-Belobug-AMD/pull/25

Co-authored-by: romainhedouin <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:58:15 +00:00
github manually merged commit 6cd310ae78 into gh-pr/14/base 2026-11-26 05:58:18 +00:00
Author
Owner

@⁠chatgpt-codex-connector[bot] on GitHub · 2026-11-25 20:24 UTC · original · edited 2026-11-25 20:25 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-25T20:24:57.659748Z 6cd310a Draft marked ready
🔒 Security Review ✅ Completed 2026-11-25T20:25:17.044880Z 6cd310a Draft marked ready
ℹ️ 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-25 20:24 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/14#issuecomment-7173616763) · edited 2026-11-25 20:25 UTC <!-- codex-pull-request-review-summary --> <!-- codex-review-state:v1 {"code_review":{"commit_sha":"6cd310ae78ea3853dbf8e3dbd34e691a4bb00c72","has_any_findings":false,"has_unresolved_findings":false,"status":"completed"},"security_review":{"commit_sha":"6cd310ae78ea3853dbf8e3dbd34e691a4bb00c72","has_any_findings":null,"has_unresolved_findings":null,"status":"completed"}} --> <!-- codex-security-review:v1 {"blockingSeverityThreshold":"P0","headSha":"6cd310ae78ea3853dbf8e3dbd34e691a4bb00c72","mergeGateEnabled":false,"pullRequestNumber":14,"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-25T20:24:57.659748Z">2026-11-25T20:24:57.659748Z</relative-time> | `6cd310a` | Draft marked ready | | 🔒 **Security Review** | ✅ **Completed** <relative-time datetime="2026-11-25T20:25:17.044880Z">2026-11-25T20:25:17.044880Z</relative-time> | `6cd310a` | Draft marked ready | <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>
This discussion has been locked. Commenting is limited to contributors.
No description provided.