Add an opt-in Wave32 path for the water portal compute shader #949
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/949"
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 trustno1-coder/VIctory-NVIDIA. Originally posted by nawnie on 2026-11-28T09:42:14Z.
Summary
Add
VICTORY_WATER_VOLUME_PORTALS=1for Wave32 lowering ofCS_TransmissionVolumetrics_VolumePortalsOnly. The path checks the exact compute shader digest and 64-thread group size, runs only when host-form emission needs a Wave32 fallback, and contributes the opt-in value to the shader-cache fingerprint. An explicitVICTORY_WAVE_WIDEsetting takes precedence.The broader work in #326 also enables this shader. This draft proposes the portal shader on its own so it can be reviewed and tested independently.
Verification
cargo build --offline --locked -p victory --release -j 4.cargo xtask policypassed for all 294 tracked files.a10179ab7eda0dc3compute-pipeline warning appeared in the control gameplay log and was absent with the opt-in enabled. Both runs loaded copies of the same checkpoint and logged no device loss.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by tippythetaidum on 2026-11-28T18:34:44Z.
A control observation that may be the scene this needs: underwater, during the dive in the "Bachelor Party" mission. RTX 5080 + Ryzen 7 9800X3D,
9300875plus #393, #1014, #1197, #1264 and #1271, Series X 2560x1440, DLSS Performance, frame generation 4x, without this PR.a10179ab7eda0dc3is refused at every start ("no wave32 lowering for this wave64 program"), as is6b82bc7d22016cb5.I can't tell yet which of the two refused programs it is. Next I'll try
VICTORY_WATER_VOLUME_PORTALS=1(with a preload) at the same point of the mission and report back.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by tippythetaidum on 2026-11-28T18:43:05Z.
Correction to my note above: the blocks I described look like #739 (tile-sized blocks from the water's tiled light, which go away with
VICTORY_WATER_LIGHT=0), not necessarily this program. I'll test the two separately,VICTORY_WATER_LIGHT=0alone and thenVICTORY_WATER_VOLUME_PORTALS=1alone, at the same point of the dive, and report each.