Support aligned render-XOR water texture readback #1331
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!1331
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1331"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@cxy0072019-sketch on GitHub · 2026-11-26 15:46 UTC · original
cxy0072019-sketch:fix/aligned-render-xor-readback→main· +147 −11 · 2 files · 1 commits · openFollow-up to #999. The CPU reads a tiled water height texture for buoyancy. A 256 × 256 R32_FLOAT plane in the render-XOR layout needs the console's pipe configuration to put the GPU's bytes back where the CPU expects them.
SW_64KB_R_Xplane on Series S and X. Keep the existing path for other addressable layouts and skip the GPU copy when the layout cannot be addressed.On Windows, the clean branch passed 27 format tests and 218 GPU-layer tests. The staged asset-policy check passed for both files. With the same layout code in a separate native Series S integration build on an RTX 5070 Ti at 1920 × 1080, the first nonzero 262,144-byte plane copied back to guest memory byte for byte. The boat stayed afloat under player control. Small artifacts in water reflections remain.
@rafaconvaitis on GitHub · 2026-11-26 16:57 UTC · original
I reproduced a successful helm transfer with this layout code on an RTX 4070 12 GB, Windows and Series S, starting from a copied post-robbery checkpoint. The Cool Fox integration included the layout and destination changes from this PR, with the existing tiled-layout bounds preserved.
In Gone Fishing, Jason took the helm with Y. RT accelerated the boat and left a visible wake with Cal aboard. The HUD reached Collect the package. The log reported repeated successful 256 KiB texture readbacks and zero unsupported-tiling warnings in the observed boat segment. The two focused layout and destination tests pass on the Cool Fox backport branch. I opened the focused backport there. https://github.com/DoubleGhosty/cool_fox/pull/21
The first 60 s at the helm had a 13.5 FPS median (73.9 ms). This measures the integrated build. Some reflections and missing draws are still visible.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.