fix(gpu): revert broken RT-skip and opaque stand-in defaults and fix stale ambient reflection gather #409
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: launcher
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
run report
security: hold
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs gpu test
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Androtim--MiniVI!409
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@Androtim on GitHub · 2026-12-03 20:29 UTC · original
Androtim:fix/revert-broken-rt-skip-and-standin-defaults→main· +220 −54 · 5 files · 2 commits · merged 2026-12-03 21:02 UTCSummary
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)github-bot referenced this pull request2026-12-03 20:37:01 +00:00
@Androtim on GitHub · 2026-12-03 20:32 UTC · original
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.@Androtim on GitHub · 2026-12-03 21:02 UTC · original
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).