Repository navigation
Add an opt-in Wave32 path for the water portal compute shader - #949
Conversation
|
A control observation that may be the scene this needs: underwater, during the dive in the "Bachelor Party" mission. RTX 5080 + Ryzen 7 9800X3D,
I can't tell yet which of the two refused programs it is. Next I'll try |
|
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 |
(cherry picked from commit e09f44a)
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.