Files
horizon-airdef/crates/horizon-mods
chexit b2cc11c459 DLSS becomes a player toggle: a persisted graphics setting and a live switch
The HORIZON_DLSS env gate becomes the `dlss` entry of horizon-graphics.txt
(default on), still overridable by HORIZON_DLSS=1|0. The renderer opens its
Vulkan device for DLSS at the start only while the choice is on; a failed
DLSS instance/device now keeps Vulkan and falls back to the native TAAU
instead of skipping the backend.

The evaluation itself switches live, like model-instancing: gfx::set_dlss
gates the DLSS branch of Hd::taa, and the #137 separated histories make both
directions clean (a native frame resets NGX on resume; a DLSS frame leaves
the native history unusable). The 2/3 resolution default follows the live
request AND an opened DLSS SDK, so a requested-but-unavailable DLSS never
changes the picture's scale. Off is the native TAAU, bit-identical to the
old fallback.

The `dlss on|off|status` control command and the new mod SDK imports
render.set-dlss / render.dlss-status (API level 33) drive the switch and
persist the choice; an on-switch after a start with DLSS off applies at the
next launch. The UI test guest calls the newest level's functions again
(its level assertion was stale since level 32).

Co-Authored-By: Kimi Code <noreply@moonshot.ai>
2026-11-21 15:00:15 +03:00
..