summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorRodrigo Locatti <reinuseslisp@airmail.cc>2021-04-12 01:42:14 +0200
committerGitHub <noreply@github.com>2021-04-12 01:42:14 +0200
commitddbd1387aa883ed5bfc135e613a783396ce17f14 (patch)
treef088cf7ea2e956415fcd600b65f28ae705f25644 /src/video_core
parentMerge pull request #6182 from Joshua-Ashton/null-offset (diff)
parentvulkan_device: Enable EXT_robustness2 features (diff)
downloadyuzu-ddbd1387aa883ed5bfc135e613a783396ce17f14.tar
yuzu-ddbd1387aa883ed5bfc135e613a783396ce17f14.tar.gz
yuzu-ddbd1387aa883ed5bfc135e613a783396ce17f14.tar.bz2
yuzu-ddbd1387aa883ed5bfc135e613a783396ce17f14.tar.lz
yuzu-ddbd1387aa883ed5bfc135e613a783396ce17f14.tar.xz
yuzu-ddbd1387aa883ed5bfc135e613a783396ce17f14.tar.zst
yuzu-ddbd1387aa883ed5bfc135e613a783396ce17f14.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/vulkan_common/vulkan_device.cpp9
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
};
SetNext(next, bit8_storage);
+ VkPhysicalDeviceRobustness2FeaturesEXT robustness2{
+ .sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ROBUSTNESS_2_FEATURES_EXT,
+ .pNext = nullptr,
+ .robustBufferAccess2 = true,
+ .robustImageAccess2 = true,
+ .nullDescriptor = true,
+ };
+ SetNext(next, robustness2);
+
VkPhysicalDeviceHostQueryResetFeaturesEXT host_query_reset{
.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES_EXT,
.pNext = nullptr,