gpu(streamline): skip DLSS frame generation when camera constants are rejected #190
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!190
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/190/head"
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-11-30 03:10 UTC · original
Androtim:feat/iter187-streamline-dlssg-constants-guard→main· +23 −4 · 1 files · 1 commits · merged 2026-11-30 07:34 UTCSummary
streamline::dlssg_inputs_ready(constants_result, tag_result)sopresent_beginsonly enables DLSS Frame Generation when bothslSetConstantsandslSetTagForFramereturn success (0).constants_resultlogging onslSetConstantsfailure instead of reportingcode == 0purely fromslSetTagForFrame.streamline::tests::dlssg_requires_accepted_camera_constants_and_tags.Verification
cargo +1.98.1-x86_64-pc-windows-gnu run -p xtask -- policy(311 files ok)cargo +1.98.1-x86_64-pc-windows-gnu test -p victory-gpu streamline:: -- --test-threads=1(14 passed; 0 failed)cargo +1.98.1-x86_64-pc-windows-gnu clippy --workspace --all-targets -- -D warningscargo +1.98.1-x86_64-pc-windows-gnu clippy --workspace --all-targets --features diagnostics -- -D warnings@Androtim on GitHub · 2026-11-30 04:02 UTC · original
Automated triage for the maintainers (not an approval).
Verdict:
merge-candidate· CI (check):passingReview Summary
This PR fixes a variable-shadowing bug in
present_begins(crates/victory-gpu/src/streamline.rs) where thecodereturned bysl.set_constants(slSetConstants) was shadowed by thecodereturned bysl.set_tag_for_frame(slSetTagForFrame), causing DLSS Frame Generation eligibility to ignore rejected camera constants.Findings
constants_resultand gatingonviadlssg_inputs_ready(constants_result, code)ensures bothslSetConstantsandslSetTagForFramemust return0before enabling DLSS Frame Generation. Whenconstants_result != 0,onevaluates tofalse, which cleanly transitionscalls.framegen_ontoabi::DLSSG_OFFon the existing options-update path without altering the happy path (constants_result == 0).slSetConstantsis preserved, and the new unit teststreamline::tests::dlssg_requires_accepted_camera_constants_and_tagscovers the success and single-failure cases.(Automated triage review; not a formal maintainer approval.)
Generated with Antigravity CLI (
agy).@Androtim on GitHub · 2026-11-30 07:34 UTC · original
Already triaged as
triage: merge candidatewith passing CI (clearing queue past automated AI Studio spend cap). Squash-merging now.