17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-03 01:30:16 +01:00

Add DLSS Frame Generation (gfx.framegeneration x2/x3/x4) and Reflex (gfx.reflex) to the Vulkan renderer

This commit is contained in:
2026-10-25 20:52:12 +01:00
parent 1841e6d7b0
commit a6bdeeaa2b
23 changed files with 1474 additions and 85 deletions

View File

@@ -632,7 +632,7 @@ bool vulkan14_renderer::init_scene(std::string &Reason)
}
if (Global.gfx_dlss())
{
for (auto const *name : {"postfx_dlss_motion.frag", "postfx_dlss_exposure.frag"})
for (auto const *name : {"postfx_dlss_motion.frag", "postfx_dlss_exposure.frag", "postfx_fg_flip.frag"})
{
scene.post_fragments.emplace(name, ctx.shaders.get(name));
}
@@ -831,6 +831,7 @@ void vulkan14_renderer::destroy_scene()
// the pipelines belong to the pipeline library
scene.materials.clear();
scene.targets.clear();
scene.generation = vk14::generation_targets{};
scene.white.reset();
scene.shadow_empty.reset();
scene.shadow_map.reset();