summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Georg Lehmann2022-01-19 19:48:39 +0100
committerGravatar Georg Lehmann2022-01-19 19:48:46 +0100
commitd15814d39f13a4aea2627d90c25edd2ccc361505 (patch)
tree40432dddfaae3b3547afee256a5ba1dcc7714697
parentMerge pull request #7701 from bunnei/clear-mem-pages (diff)
downloadyuzu-d15814d39f13a4aea2627d90c25edd2ccc361505.tar.gz
yuzu-d15814d39f13a4aea2627d90c25edd2ccc361505.tar.xz
yuzu-d15814d39f13a4aea2627d90c25edd2ccc361505.zip
vulkan_device: Fix sType for VkPhysicalDeviceShaderAtomicInt64Features
-rw-r--r--src/video_core/vulkan_common/vulkan_device.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp
index 3d78efddc..153702c0b 100644
--- a/src/video_core/vulkan_common/vulkan_device.cpp
+++ b/src/video_core/vulkan_common/vulkan_device.cpp
@@ -1038,7 +1038,7 @@ std::vector<const char*> Device::LoadExtensions(bool requires_surface) {
1038 } 1038 }
1039 if (has_ext_shader_atomic_int64) { 1039 if (has_ext_shader_atomic_int64) {
1040 VkPhysicalDeviceShaderAtomicInt64Features atomic_int64; 1040 VkPhysicalDeviceShaderAtomicInt64Features atomic_int64;
1041 atomic_int64.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_FEATURES_EXT; 1041 atomic_int64.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_INT64_FEATURES;
1042 atomic_int64.pNext = nullptr; 1042 atomic_int64.pNext = nullptr;
1043 features.pNext = &atomic_int64; 1043 features.pNext = &atomic_int64;
1044 physical.GetFeatures2KHR(features); 1044 physical.GetFeatures2KHR(features);