diff options
| author | MaranBr <maranbr@outlook.com> | 2025-12-09 17:57:03 +0100 |
|---|---|---|
| committer | crueter <crueter@eden-emu.dev> | 2025-12-09 17:57:03 +0100 |
| commit | 7157d5167ec1c3517169635011c82fe6f5b49460 (patch) | |
| tree | a0661cf1a35294b37f4e18acc95081f0701aa279 /src/video_core/vulkan_common/vulkan_device.cpp | |
| parent | 77d83b008a3d0eab2c97d80cfd1f5d7d2055dec8 (diff) | |
[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 <lizzie@eden-emu.dev>
Co-authored-by: MaranBr <maranbr@outlook.com>
Co-committed-by: MaranBr <maranbr@outlook.com>
Diffstat (limited to 'src/video_core/vulkan_common/vulkan_device.cpp')
| -rw-r--r-- | src/video_core/vulkan_common/vulkan_device.cpp | 6 |
1 files changed, 1 insertions, 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); } |
