1
1
Fork 0
forked from suyu/suyu

Merge pull request #7747 from DadSchoorse/fix-anv-64bit-atomic-stype

vulkan_device: Fix sType for VkPhysicalDeviceShaderAtomicInt64Features
This commit is contained in:
Fernando S 2022-01-19 23:01:53 +01:00 committed by GitHub
commit 490df43f34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1038,7 +1038,7 @@ std::vector<const char*> Device::LoadExtensions(bool requires_surface) {
}
if (has_ext_shader_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;
features.pNext = &atomic_int64;
physical.GetFeatures2KHR(features);