GPU: look at textures picked by index again after their upload #48
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/48"
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?
Imported from Zettrox/ztrx. Originally posted by Altorru on 2026-11-25T05:58:36Z.
Ports fxceless/victory-fork@a803c87 onto this tree (applied cleanly; a supervised audit confirmed the changed code is line-for-line identical). A texture a shader picks by index was uploaded once, when the title wrote its view; the title often fills its memory only afterwards, so the host copy kept zeros and the main character's face came out black / hair pale in ~3 launches of 4. Now a whole upload is looked at again after 4, 12, 40, 120 and 400 frames; a changed one is uploaded again. VICTORY_HEAP_RECHECK=0 turns it off. Verification: applied with no conflicts; symbols all exist and blake3 is already a victory-gpu dependency. Could not cross-compile for Windows here (only aarch64-apple-darwin std installed, Rust download unreachable), so Windows CI is the first real build; otherwise the upstream code verbatim.
Imported from Zettrox/ztrx. Originally posted by futurepro62 on 2026-11-25T15:14:56Z.
Full-suite run on Windows, since this PR has no test report yet. Tested exact head
1c5e103(on its base90b529f).Tested
rust-toolchain.toml), DXC + dxil.dll 1.9.2602.17, debug.cargo test --workspace --locked: 496 passed, 0 failed, 7 ignored (main90b529fon this machine: 492 passed, 0 failed, 7 ignored).cargo clippy --workspace --all-targets --locked -- -D warnings(the CI lint step): passed.cargo clippy --workspace --all-targets --all-features --locked -- -D warnings(the CI lint step): passed.#[test]functions in the diff.Not tested
AI use
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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.