[pr-fix][rendering] fix(list,resource): legalise cross-family CopyTextureRegion, planar footprints, primary host_target/want_level, and bounds guards #220

Open
hingeowl wants to merge 1 commit from hingeowl/Darner:pr/copy-texture-region-fixes into main
Contributor

Re-submitted from the previous CodeFloe repository (original commit 864ec810abfbd53982c9e4075f22c451e5b8a577, preserving original authorship by Andreww2009) so it is not lost after the forge move.

What it changes

  • Legalises cross-family CopyTextureRegion operations, planar footprints, primary host_target/want_level handling, and bounds guards in darner-gpu's list.rs and resource.rs.

Notes

  • Rebased cleanly onto main (f3840d7).
  • Submitted primarily to preserve the patch on GTA Hub for review/testing; standalone verification on current main has not been run yet.
Re-submitted from the previous CodeFloe repository (original commit `864ec810abfbd53982c9e4075f22c451e5b8a577`, preserving original authorship by Andreww2009) so it is not lost after the forge move. ### What it changes - Legalises cross-family `CopyTextureRegion` operations, planar footprints, primary `host_target`/`want_level` handling, and bounds guards in `darner-gpu`'s `list.rs` and `resource.rs`. ### Notes - Rebased cleanly onto `main` (`f3840d7`). - Submitted primarily to preserve the patch on GTA Hub for review/testing; standalone verification on current `main` has not been run yet.
First-time contributor

PASS

Review of 79ae56c2a.

Audited texture-copy family compatibility, planar footprints, held-mip selection, and bounds handling. No blocking correctness issue found. The reported UAV-pool test failure did not reproduce in isolation on this PR or on main.

Windows validation: G1 PASS; G2 PASS; cargo xtask policy PASS (555 files ok); resource tests — 137 passed, 0 failed, 1 ignored; list:: tests — 34 passed, 0 failed; the isolated UAV-pool lifecycle test passed on both this PR and main.

Not run in-game.

AI-assisted: yes (GitHub Copilot, Auto mode).

**PASS** Review of `79ae56c2a`. Audited texture-copy family compatibility, planar footprints, held-mip selection, and bounds handling. No blocking correctness issue found. The reported UAV-pool test failure did not reproduce in isolation on this PR or on `main`. Windows validation: G1 PASS; G2 PASS; `cargo xtask policy` PASS (`555 files ok`); resource tests — 137 passed, 0 failed, 1 ignored; `list::` tests — 34 passed, 0 failed; the isolated UAV-pool lifecycle test passed on both this PR and `main`. Not run in-game. AI-assisted: yes (GitHub Copilot, Auto mode).
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u 'pr/copy-texture-region-fixes:hingeowl-pr/copy-texture-region-fixes'
git switch 'hingeowl-pr/copy-texture-region-fixes'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'hingeowl-pr/copy-texture-region-fixes'
git switch 'hingeowl-pr/copy-texture-region-fixes'
git rebase 'main'
git switch 'main'
git merge --ff-only 'hingeowl-pr/copy-texture-region-fixes'
git switch 'hingeowl-pr/copy-texture-region-fixes'
git rebase 'main'
git switch 'main'
git merge --no-ff 'hingeowl-pr/copy-texture-region-fixes'
git switch 'main'
git merge --squash 'hingeowl-pr/copy-texture-region-fixes'
git switch 'main'
git merge --ff-only 'hingeowl-pr/copy-texture-region-fixes'
git switch 'main'
git merge 'hingeowl-pr/copy-texture-region-fixes'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
TrustNo1/Darner!220
No description provided.