Improve texture format handling and GPU resource-state management #1092

Closed
Abh-shar wants to merge 10 commits from upstream-pr/1092 into main
Abh-shar commented 2026-11-24 15:40:38 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Abh-shar on 2026-11-24T15:40:38Z.


Summary

This PR improves GPU resource handling and indirect draw execution in VIctory.

Changes

  • Refactor texture format handling.
  • Expand support for packed texture formats on the host.
  • Improve buffer state management and resource transitions.
  • Ensure indirect argument budgets remain exhausted once a command list reaches its limit.
  • Improve consistency in GPU resource handling.

Motivation

Address rendering compatibility issues and improve resource-state correctness in the host GPU backend.

Testing

  • Build and runtime validation still required.
  • GTA VI rendering behaviour should be tested, particularly during the transition into the opening world scene.

Scope

4 commits · 10 files changed · 538 additions · 46 deletions

<!-- greyfinch-sync:Marvisak/VIctory:issue:6585575694 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1092). Originally posted by [Abh-shar](https://github.com/Abh-shar) on 2026-11-24T15:40:38Z. --- ## Summary This PR improves GPU resource handling and indirect draw execution in VIctory. ### Changes - Refactor texture format handling. - Expand support for packed texture formats on the host. - Improve buffer state management and resource transitions. - Ensure indirect argument budgets remain exhausted once a command list reaches its limit. - Improve consistency in GPU resource handling. ### Motivation Address rendering compatibility issues and improve resource-state correctness in the host GPU backend. ### Testing - Build and runtime validation still required. - GTA VI rendering behaviour should be tested, particularly during the transition into the opening world scene. ### Scope 4 commits · 10 files changed · 538 additions · 46 deletions
Zipettte commented 2026-11-24 17:04:29 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Zipettte on 2026-11-24T16:29:41Z.


Tested on AMD Radeon RX 7700 XT (RDNA3, gfx1101), driver 32.0.32029.2010, Windows 11, Rust 1.98.1 MSVC at 29fe2b0: cargo test -p victory-gpu passes, 54 passed / 0 failed. Workspace baseline on main (ffe310e) is green on the same machine (342 passed).

Tested with AI assistance (Claude).

<!-- greyfinch-sync:Marvisak/VIctory:comment:7137752629 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1092#issuecomment-7137752629). Originally posted by [Zipettte](https://github.com/Zipettte) on 2026-11-24T16:29:41Z. --- Tested on AMD Radeon RX 7700 XT (RDNA3, gfx1101), driver 32.0.32029.2010, Windows 11, Rust 1.98.1 MSVC at 29fe2b0: `cargo test -p victory-gpu` passes, 54 passed / 0 failed. Workspace baseline on main (ffe310e) is green on the same machine (342 passed). _Tested with AI assistance (Claude)._
upstream-sync closed this pull request 2026-11-25 01:05:32 +00:00
Marvisak commented 2026-11-25 01:07:59 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T00:31:54Z.


Automated triage for the maintainers. Closing because it does not change behaviour the project needs (formatting, guards for cases that cannot occur, or notes and translations that cannot be kept current).

If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7148603247 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1092#issuecomment-7148603247). Originally posted by [Marvisak](https://github.com/Marvisak) on 2026-11-25T00:31:54Z. --- Automated triage for the maintainers. Closing because it does not change behaviour the project needs (formatting, guards for cases that cannot occur, or notes and translations that cannot be kept current). If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.

Pull request closed

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
Marvisak/VIctory!1092
No description provided.