Boat task fixed here: VICTORY_TEXTURE_BACK was set to 1, so the kind list was empty #1037
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#1037
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@CQ187901 on GitHub · 2026-11-25 16:59 UTC · original
<html>f85101b+ #887 + #886 + #883 (VICTORY_WAVE_PAIRS) + #799 (loose LDS) + @Geckomacabre's eee5667d texture read-back.Symptom, as reported
What was actually wrong on our side
How to tell from a log
Two traps worth knowing
Numbers, same river scene, texread-back on
f85101b+ #887 + #886 + #883 (VICTORY_WAVE_PAIRS) + #799 (loose LDS) + @Geckomacabre's eee5667d texture read-back. Symptom, as reported At the end of the first chapter's boat cutscene the boat drops to the river bed, the HUD says Engine destroyed, the water around the hull is a rectangular pit, and after skipping to the checkpoint the boat floats but the pit remains and the throttle does nothing. What was actually wrong on our side VICTORY_TEXTURE_BACK takes a comma-separated list of kinds (xf), which kinds() parses with split_once('f') then split_once('x'). Our launcher passed VICTORY_TEXTURE_BACK=1, so every entry failed to parse, the list came out empty, and wanted() returned false for everything — the read-back ran with nothing to copy for the whole session. It looked exactly like "the water heights are never written by shaders", which sent us down two wrong paths (chasing placed / by-address UAV bindings, and looking at the refused compute pipelines). The default when the variable is unset is already the right list: 256x256f41,256x256f16,64x64f16,128x128f36Setting exactly that (or leaving it unset) makes the boat float and drive. No code change was needed.
How to tell from a log
The process-wide line appears once, and only when the list parsed:
textures of these kinds that shaders write are copied back into title memory (VICTORY_TEXTURE_BACK) kinds=[(256, 256, 41), (256, 256, 16), (64, 64, 16), (128, 128, 36)]
If that line is missing, the variable did not parse — check the value before anything else. With it present, the per-frame copying back N MB grows (52–61 MB/frame here, against ~30 MB without the read-back).
Two traps worth knowing
Numbers, same river scene, texread-back on
draws/frame
ms/frame
fps
copying back
before (read-back empty)
4,051–4,269
215–235
4.3–4.8
30–43 MB
after (four kinds copied)
5,068–5,404
265–286
3.5–3.8
52–61 MB
The scene is heavier after the fix (more geometry visible once the hull sits in water), and the read-back itself costs ~39–43 ms per frame here. Worth it: the mission is playable.
issue-863-reply.md
@sawetco on GitHub · 2026-11-25 17:12 UTC · original
One branch difference matters for anyone trying this from the newer #999 port. The explicit four-format string works with both parsers:
1eee5667, as used here04df435The second row comes from reading the #999 parser. Our Series S RTX 5070 playtest used a backport of the first row. From the original mission-start save, the boat made it to the camp and the player continued to Jason's house without a mission skip. A fresh load of the resulting autosave put Jason on the waterfront porch.
Original parser · #999 parser · RTX 5070 same-checkpoint A/B