Repository navigation
fix(gpu): copy the ocean maps back by default so boats float (LEONIDA_TEXTURE_BACK) - #61
Merged
ShinniUwU merged 1 commit intoNov 26, 2026
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
LEONIDA_TEXTURE_BACK(texback.rs) copies the ocean's height and displacement maps, which compute passes write, back into title memory, where the title's boat physics reads them. It was off unless set; now it is on unless set to0(a list of kinds still picks others). Without it the boat at the start of the first fishing mission falls through the water and the mission fails. Belobug/VIctory-Belobug-AMD has it on by default for the same reason ("sank in every one" without it, itsdocs/findings.md). No TODO row; a fix with no ID.How it was tested
LEONIDA_TEXTURE_BACK=1and played the start of the first fishing mission (fill in Playtest below).Checks run on this branch:
cargo test --workspace --locked: no failurecargo clippy --workspace --all-targets --locked -- -D warningscargo clippy --workspace --all-targets --all-features --locked -- -D warningscargo xtask policyPlaytest
main)Cost, from the code: about a megabyte copied back per list that writes one of the four kinds (the
shortcut:intexback.rs). Tested with the switch set to1on a build before this change, which is the path this branch now takes by default.AI
🤖 Generated with Claude Code