aboutsummaryrefslogtreecommitdiff
path: root/src/qt_common
diff options
context:
space:
mode:
authorDuck912 <350528965+Duck912@users.noreply.github.com>2026-11-02 16:12:17 -0500
committerDuck912 <350528965+Duck912@users.noreply.github.com>2026-11-02 16:28:01 -0500
commit11cebf56014a5015db28179a8acc81cad0caf641 (patch)
tree16b9dcba1fb67c1309dac7c12fe7ee5cc6e54791 /src/qt_common
parent08dbcc7e3b3df9b594abe1f0cbaf7d30717b21ce (diff)
video_core: replace Fortune's Weave's DLSS with AMD FSR 3.1
Fire Emblem: Fortune's Weave's DLSS network can't run here, and the temporal stand-in is only an approximation of it. FSR 3.1 takes the same inputs DLSS does: the jittered colour, motion vectors, the jitter and the depth, which the game's first DLSS pass reads through cbuf0+0x298 (Z32, reversed, the colour's size). Kepler compute keeps it next to the motion vectors. Fsr3Upscaler ports the host side of the SDK's ffx_fsr3upscaler.cpp: the eight passes (prepare inputs, luma and shading-change pyramids, shading change, reactivity, luma instability, accumulate, RCAS), the internal images and the constants, recorded through the scheduler with the shaders from externals/FidelityFX-SDK. It takes HDR colour, render-size motion vectors and reversed depth, computes its own exposure, and uses the no-wave SPD variants on devices without compute quad operations. The SDK's GLSL uses separate textures and samplers, so DescriptorBankInfo gains sampled image and sampler counts (default 0). FSR's RCAS follows the RCAS Sharpness slider. The result goes to FSR's own RGBA16F image and is drawn into the game's output, which keeps its format. TextureCacheRuntime::TemporalUpscale runs FSR 3.1 first. Without the depth, at mismatched scales, on a device lacking FSR's formats or features, or if its pipelines fail to build, the stand-in runs instead, and the bilinear blit stays last. EDEN_NX2_DLSS_REPLACEMENT=standin forces the stand-in. A gap of more than 250 ms between evaluations restarts the history. The BlitColor overload that takes a raw image view transitions its source to SHADER_READ_ONLY_OPTIMAL but described it as GENERAL in the descriptor (a validation error); it now describes the layout it uses. Assisted-by: Claude Opus 5.5 (debugging, implementation and drafting) Signed-off-by: Duck912 <350528965+Duck912@users.noreply.github.com>
Diffstat (limited to 'src/qt_common')
-rw-r--r--src/qt_common/config/shared_translation.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qt_common/config/shared_translation.cpp b/src/qt_common/config/shared_translation.cpp
index fda319cc6d..c5907e1b65 100644
--- a/src/qt_common/config/shared_translation.cpp
+++ b/src/qt_common/config/shared_translation.cpp
@@ -146,9 +146,9 @@ std::unique_ptr<TranslationMap> InitializeTranslations(QObject* parent) {
"Options lower than 1X can cause artifacts."));
INSERT(Settings, scaling_filter, tr("Window Adapting Filter:"), QString());
INSERT(Settings, fsr_sharpening_slider, tr("RCAS Sharpness:"),
- tr("Strength of RCAS (AMD's contrast-adaptive sharpening) on the temporal upscaler used "
- "in place of a game's DLSS; 0% turns it off.\nAlso sets the sharpening of the AMD FSR 1 "
- "and SGSR window adapting filters."));
+ tr("Strength of RCAS (AMD's contrast-adaptive sharpening) on the upscaler used in place "
+ "of a game's DLSS (AMD FSR 3.1); 0% turns it off.\nAlso sets the sharpening "
+ "of the AMD FSR 1 and SGSR window adapting filters."));
INSERT(Settings, anti_aliasing, tr("Anti-Aliasing Method:"),
tr("The anti-aliasing method to use.\nSMAA offers the best quality.\nFXAA "
"can produce a more stable picture in lower resolutions."));