Vulkan Extensions

Each Vulkan extension a renderer can make its device with has a setting of its own in [Graphics], its name in lowercase: vk_ext_transform_feedback for VK_EXT_transform_feedback, vk_khr_maintenance5 for VK_KHR_maintenance5 (the vk_extension_settings test fails for one without). The launcher's Graphics group shows them on its Vulkan Extensions page. A 3DS or Vita game takes them too, and the same bans, for the extensions its renderer uses (--vk-ext-shader-object=off); the Android apps' renderer takes the bans' check of each extension's commands alone. Each is auto by default:

ValueEffect
autoScarletNX decides: the extension is used where the driver has it and no driver ban holds
onUsed wherever the driver has it, over a ban: the log warns with the ban it goes over
offNever used: the extension leaves the device's list before the renderer reads it, so it does without

The driver says whether an extension is there: on can't add one it lacks. Turning off one ScarletNX can't run without on the device (VK_KHR_swapchain with a window, VK_KHR_portability_subset where the driver lists it, and on a Vulkan 1.2 device the extensions Vulkan 1.3 took in) stops the game, saying which and why; so does a value other than these three. An extension that is core in the Vulkan version the renderer runs the device at (its help says which it was promoted to) leaves only its name out when off. The settings are read when the game starts, and the log has a line for each, with its value in effect and why:

vulkan: VK_EXT_transform_feedback: off (vk_ext_transform_feedback=off)
vulkan: VK_EXT_custom_border_color: on (auto: the driver has it, and no ban holds)
vulkan: VK_KHR_cooperative_matrix: off (the driver has it not)

The settings, each with its extension and, where one took it in, the Vulkan version it was promoted to:


Made from docs/user/settings.md at 69237645142c. GPL-3.0-or-later.