From 7f52c40d99e0a74a570f2cbb7891fc19edc615d6 Mon Sep 17 00:00:00 2001 From: chexit Date: Sat, 21 Nov 2026 09:34:04 +0300 Subject: [PATCH] Bump horizon to the DLSS command-order and history fix (#137) Engine 1cadd6338: the DLSS frame now submits world+linearize -> NGX -> delinearize -> film/tonemap/UI/capture/present in one queue.submit with no CPU sync, so the final frame, screenshot and export read the current resolved frame instead of the previous one. Native TAA history readiness is tracked separately from NGX, so the first fallback frame after DLSS does not blend a stale or empty native history; a cut/resize clears both. HD-RENDERER.md records the corrected order and the history separation. Real-RTX acceptance (docs/DLSS-TESTING.md) is still pending: no RTX is available here, so this is verified by the ordering/history unit tests and the native horizon-client + horizon-mods suites, not a DLSS GPU capture. Co-Authored-By: Kimi Code --- docs/HD-RENDERER.md | 5 ++++- horizon | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/HD-RENDERER.md b/docs/HD-RENDERER.md index 2b317f7..cb40200 100644 --- a/docs/HD-RENDERER.md +++ b/docs/HD-RENDERER.md @@ -254,7 +254,10 @@ HORIZON_HD_TAA=0 --out run-home-bench/out/taa-off` — A/B; `--baseline run-home масштаба (`HORIZON_HD_SCALE` или поле в `HdSettings`). Цель: при 0.67 картинка близка к нативной, FPS заметно выше. #124 развивает этот путь в общий temporal backend: `ed751714e` добавляет optional `dlss` feature и `HORIZON_DLSS=1`, previous-frame motion, NGX+HDR bootstrap и display↔linear conversion. Submit: - world+linearize → NGX → delinearize; native TAAU остаётся fallback. По умолчанию DLSS рендерит world 2/3, + world+linearize → NGX → delinearize; native TAAU остаётся fallback. #137 довёл порядок до контракта: + film/tonemap/UI/capture/present записываются в encoder после delinearize и отправляются одним submit + без CPU sync (раньше они читали `taa.target` до записи NGX), а готовность нативной истории отделена от + истории NGX — первый fallback-кадр после DLSS не читает пустую/устаревшую native history. По умолчанию DLSS рендерит world 2/3, `HORIZON_HD_SCALE` переопределяет это. Сборка требует `DLSS_SDK` (v310.9.1), `VULKAN_SDK`, clang и `--features dlss`; runtime DLL/SO и NVIDIA notices нужны рядом с приложением, не в Git. Полный `cargo xwin build` на MSVC и prerelease `v0.4.0-dlss-rc1` опубликованы; реальный RTX/Vulkan runtime ещё не проверен. diff --git a/horizon b/horizon index 2bcce64..1cadd63 160000 --- a/horizon +++ b/horizon @@ -1 +1 @@ -Subproject commit 2bcce642362ab5d3f04de193e390d8293cd1bf30 +Subproject commit 1cadd633872c072d2aae490476447958eb72f69e