From 7157d5167ec1c3517169635011c82fe6f5b49460 Mon Sep 17 00:00:00 2001 From: MaranBr Date: Tue, 9 Dec 2025 17:57:03 +0100 Subject: [PATCH] [video_core] Fix inconsistency between EDS and VIDS settings (#3148) Fixes an issue where selecting EDS 0 for a specific game would incorrectly disable VIDS globally. Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3148 Reviewed-by: Lizzie Co-authored-by: MaranBr Co-committed-by: MaranBr --- src/video_core/vulkan_common/vulkan_device.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp index 088f9f1994..2ce19c8e18 100644 --- a/src/video_core/vulkan_common/vulkan_device.cpp +++ b/src/video_core/vulkan_common/vulkan_device.cpp @@ -663,11 +663,7 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR break; } - if (!extensions.extended_dynamic_state) { - Settings::values.vertex_input_dynamic_state.SetValue(false); - } - - if (!Settings::values.vertex_input_dynamic_state.GetValue()) { + if (!Settings::values.vertex_input_dynamic_state.GetValue() || !extensions.extended_dynamic_state) { RemoveExtensionFeature(extensions.vertex_input_dynamic_state, features.vertex_input_dynamic_state, VK_EXT_VERTEX_INPUT_DYNAMIC_STATE_EXTENSION_NAME); }