Trees: the instance culling given the wave-wide form (trees and bushes missing at a distance) #1571
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1571"
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 Amar-D3V on 2026-11-28T21:51:24Z.
Fixes #1516
Related: #1504 and #1450 fix the same programs in broader ways. This is the smallest of the three, 12 lines in one place. If one of the others lands, this one can be closed.
What it changes
On 32-lane hosts the four programs of the trees' instance culling are refused with "no wave32 lowering for this wave64 program", so their dispatches are dropped:
InstanceCulling:CS_Tree_BatchCull55679a0547649d0b…_ImposterOnly89d08e561897d4e5…_ValidateInst7c9a6a83826cdfac…_ValidateInstInv21f7ad7863620328What it looks like is #1516: trees and bushes along the road show only when you come near, stay while you drive off a little, and go again farther off.
All four are of the shape the wave-wide form is already kept for in
emit/mod.rs: groups of 64, with an LDS read and write in one lane-branch region (VICTORY_WAVE_WHY: "LDS in a group over 32, an LDS read and write in one lane-branch region, lane-constant mask, mask as data, v_mbcnt, v_readlane"). This adds their container digests to that list, next toCS_CollisionRaytracedand the volumetric programs. Nothing else changes, andVICTORY_WAVE_WIDE=0still turns it off.How it was tested
victory translate --list --validate --pipelineswithVICTORY_HOST_WAVE=32over the title's folder, limited to the four hashes (VICTORY_TRANSLATE_ONLY). Before: all four "no wave32 lowering". After, with no switch set: all four emitted, validated by dxil.dll and made RTX compute pipelines (7 and 8 loop branches taken by each host wave together).cargo test -p victory-shaderpassed (348 passed, 8 ignored). Clippy reports nothing in the changed lines.Checked for overlap
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by nikitronick-crypto on 2026-11-29T00:45:18Z.
Confirmed on an RTX 3080 Ti 12 GB (driver 621.40, Windows 11 26300, Ryzen 5 7500F, 32 GB),
923e38cplus this change. Series X 2560x1440, DLSS Balanced, FSR 3 frame generation 2x.victory shaderswent from 240 to 236 programs that do not translate (the "no wave32 lowering" group from 37 to 33), and none of the four is refused in the play log. Trees and bushes are back at a distance.Tested by a user; analysis AI-assisted (Claude).