mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-30 07:52:45 +00:00
vulkan_device: Fix sType for VkPhysicalDeviceShaderAtomicInt64Features
This commit is contained in:
parent
b5e83bcc7b
commit
d15814d39f
|
@ -1038,7 +1038,7 @@ std::vector<const char*> Device::LoadExtensions(bool requires_surface) {
|
||||||
}
|
}
|
||||||
if (has_ext_shader_atomic_int64) {
|
if (has_ext_shader_atomic_int64) {
|
||||||
VkPhysicalDeviceShaderAtomicInt64Features atomic_int64;
|
VkPhysicalDeviceShaderAtomicInt64Features atomic_int64;
|
||||||
atomic_int64.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_FEATURES_EXT;
|
atomic_int64.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_INT64_FEATURES;
|
||||||
atomic_int64.pNext = nullptr;
|
atomic_int64.pNext = nullptr;
|
||||||
features.pNext = &atomic_int64;
|
features.pNext = &atomic_int64;
|
||||||
physical.GetFeatures2KHR(features);
|
physical.GetFeatures2KHR(features);
|
||||||
|
|
Loading…
Reference in a new issue