fix(gpu): revert broken RT-skip and opaque stand-in defaults and fix stale ambient reflection gather #409
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/409"
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 Androtim/MiniVI. Originally posted by Androtim on 2026-12-03T20:29:22Z.
Summary
Hotfix for the
v2026.12.03.08visual regressions observed in live Series S + DLSS FG 2X runs (blinding white surfaces/puddles, horizontal smears, broken character skinning/hollow face) introduced across #401 (a86f871) and #402 (158fba1):crates/victory-gpu/src/pipeline.rs&draw.rs(from #401):VICTORY_RT_SKIP_RESOLVEandVICTORY_RT_SKIP_DEADfrom default-on to default-off (== Some("1")opt-in only).CSComputeSkinningfromDeadRt::Feedsso character skinning and mesh deformation are never classified as dead RT.VICTORY_BVH_STUB,DOM_LOADSpolling-loop pinning, andVICTORY_CUDA_PRELOADintact.crates/victory-gpu/src/descriptor/host.rs(from #402):VICTORY_STANDIN_OPAQUEfrom default-on ([0x80, 0x80, 0x80, 0xff]) to default-off ([0x80, 0x80, 0x80, 0x80], opt-in with=1) so unmapped/evicted overlay, decal, puddle, and mask textures do not evaluate with opaque1.0alpha.gray_fits()to also exclude single-channel mask formats (R8_UNORM,BC4_UNORM,BC4_TYPELESS) and HDR lighting/reflection float/BC6H formats (R16G16B16A16_FLOAT,R11G11B10_FLOAT,BC6H_*) so those stay null(0,0,0,0)while keeping neutral gray stand-ins for color/YCbCr/BC5/BC7 textures.crates/victory-gpu/src/ambient.rs(from #401):miss_needs_gather(set, GATHERED)with per-frameGATHERED_FRAMEtracking (miss_needs_gather(set, gathered_frame, current_frame)):Role::Missonly skipsplace+gatherwhencells/pointswere already populated in the current frame, preventingreflect_lightfrom reading frozen/stale buffers whenRole::Resolveis skipped or runs later.without_depth()(bound_light) gathered-points blending on recentGATHERED_FRAMEfreshness (<= 1frame), falling back tocells[CELLS].rgbotherwise.WORDS = 19cbuffer layout (filter,chroma_scrub,least) matches bothRSandRS_BOUNDcleanly.crates/victory-gpu/src/streamline.rs(from #402):camera.planes_in_order()againstplan::Camera::constants()andplan::projection():projection()requiresnear < far(far <= neartriggers the infinite-far fallback withb = near), andframegenalready usedplanes_in_order(). Left intact.Verification
cargo test -p victory-gpu --lib pipeline(45 passed)cargo test -p victory-gpu --lib ambient(23 passed, 1 ignored)cargo test -p victory-gpu --lib streamline(all passed)cargo test -p victory-gpu --lib descriptor(103 passed, 1 ignored)cargo clippy --workspace --all-targets -- -D warnings(clean)cargo xtask policy(asset policy: 357 files ok)Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-12-03T20:32:46Z.
Read-only full diff audit (
7fbc01d5, 4 files+113/-45, 100% title-neutral): VERIFIED CLEAN (0 P0/P1).v2026.12.03.08live visual regressions:VICTORY_RT_SKIP_RESOLVE/VICTORY_RT_SKIP_DEADto default-off and removesCSComputeSkinningfromDeadRt::Feeds(fixes character skinning / hollow faces).VICTORY_STANDIN_OPAQUEto default-off ([0x80, 0x80, 0x80, 0x80]) and excludes single-channel mask (R8_UNORM,BC4_*) and HDR float/BC6H_*formats fromgray_fits()(fixes blown-out white surfaces/puddles).GATHEREDwith per-frameGATHERED_FRAMEinambient.rs(prevents stalereflect_light/without_depthreads).v2026.12.03.09hotfix release once CIcheckcompletes green.Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-12-03T21:02:11Z.
Audited follow-up commit
9de107b8(pipeline/make.rs+ambient.rs, CIcheckPASS): VERIFIED CLEAN (0 P0/P1).Queue::requested_slow+slow_limitthrottling andunclaimed(..., REQUESTED)guard preventCS_RaytracingResolvefrom starving fast world/lighting/post-FX pipelines or burning the 80 ms per-frame wait budget on cold SW-RT/HW-RT caches, with exactwas_slow/slow_nowaccounting.v2026.12.03.08hotfix via squash now (v2026.12.03.09queued oncemainCI completes green).