17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-09 08:00:04 +01:00

Add NVIDIA DLSS to the Vulkan renderer (gfx.antialiasing dlss/dlaa) and gfx.buffer.percent

This commit is contained in:
2026-10-25 19:35:33 +01:00
parent 71a6628a4a
commit 1841e6d7b0
27 changed files with 1487 additions and 56 deletions

View File

@@ -299,6 +299,22 @@ bool instance::collect_extensions(std::vector<char const *> &Extensions, instanc
{
Extensions.push_back(VK_EXT_VALIDATION_FEATURES_EXTENSION_NAME);
}
// what a library asks for; without one of them the library says it can't start
for (auto const &name : Config.wanted_extensions)
{
if (contains(Extensions, name.c_str()))
{
continue;
}
if (has_extension(available, name.c_str()))
{
Extensions.push_back(name.c_str());
}
else
{
log_warning("the instance extension " + name + " asked for isn't available");
}
}
std::string list;
for (auto const *name : Extensions)