diff options
| author | 2021-04-11 09:47:23 +0100 | |
|---|---|---|
| committer | 2021-04-11 09:48:38 +0100 | |
| commit | 08337a492d8f1fb7d9a6bf771216724a3a4bc6a3 (patch) | |
| tree | 4f73cea3885006a83bc59a3a987929027d2c20f1 /src | |
| parent | Merge pull request #6167 from Morph1984/time-fix (diff) | |
| download | yuzu-08337a492d8f1fb7d9a6bf771216724a3a4bc6a3.tar.gz yuzu-08337a492d8f1fb7d9a6bf771216724a3a4bc6a3.tar.xz yuzu-08337a492d8f1fb7d9a6bf771216724a3a4bc6a3.zip | |
vulkan_device: Enable EXT_robustness2 features
When this was being made mandatory, these enablement of these features was removed, but this is still needed.
Fixes: 757fd1e91716 ("vulkan_device: Require VK_EXT_robustness2")
Diffstat (limited to '')
| -rw-r--r-- | src/video_core/vulkan_common/vulkan_device.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp index 697cb16b9..230b8717b 100644 --- a/src/video_core/vulkan_common/vulkan_device.cpp +++ b/src/video_core/vulkan_common/vulkan_device.cpp | |||
| @@ -294,6 +294,15 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR | |||
| 294 | }; | 294 | }; |
| 295 | SetNext(next, bit8_storage); | 295 | SetNext(next, bit8_storage); |
| 296 | 296 | ||
| 297 | VkPhysicalDeviceRobustness2FeaturesEXT robustness2{ | ||
| 298 | .sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ROBUSTNESS_2_FEATURES_EXT, | ||
| 299 | .pNext = nullptr, | ||
| 300 | .robustBufferAccess2 = true, | ||
| 301 | .robustImageAccess2 = true, | ||
| 302 | .nullDescriptor = true, | ||
| 303 | }; | ||
| 304 | SetNext(next, robustness2); | ||
| 305 | |||
| 297 | VkPhysicalDeviceHostQueryResetFeaturesEXT host_query_reset{ | 306 | VkPhysicalDeviceHostQueryResetFeaturesEXT host_query_reset{ |
| 298 | .sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES_EXT, | 307 | .sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES_EXT, |
| 299 | .pNext = nullptr, | 308 | .pNext = nullptr, |