summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-01-17 07:12:42 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2021-02-13 06:17:23 +0100
commit8fd518ec4097a19621cd9102648494107b7d0ae9 (patch)
tree160e26372ea09dc5a0696d841f0df976106a7724 /src
parentvideo_core: Reimplement the buffer cache (diff)
downloadyuzu-8fd518ec4097a19621cd9102648494107b7d0ae9.tar
yuzu-8fd518ec4097a19621cd9102648494107b7d0ae9.tar.gz
yuzu-8fd518ec4097a19621cd9102648494107b7d0ae9.tar.bz2
yuzu-8fd518ec4097a19621cd9102648494107b7d0ae9.tar.lz
yuzu-8fd518ec4097a19621cd9102648494107b7d0ae9.tar.xz
yuzu-8fd518ec4097a19621cd9102648494107b7d0ae9.tar.zst
yuzu-8fd518ec4097a19621cd9102648494107b7d0ae9.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/vulkan_common/vulkan_device.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp
index 403257375..f9bc73f84 100644
--- a/src/video_core/vulkan_common/vulkan_device.cpp
+++ b/src/video_core/vulkan_common/vulkan_device.cpp
@@ -207,7 +207,7 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2,
.pNext = nullptr,
.features{
- .robustBufferAccess = false,
+ .robustBufferAccess = true,
.fullDrawIndexUint32 = false,
.imageCubeArray = true,
.independentBlend = true,
@@ -581,6 +581,7 @@ void Device::CheckSuitability(bool requires_swapchain) const {
}
const VkPhysicalDeviceFeatures features{physical.GetFeatures()};
const std::array feature_report{
+ std::make_pair(features.robustBufferAccess, "robustBufferAccess"),
std::make_pair(features.vertexPipelineStoresAndAtomics, "vertexPipelineStoresAndAtomics"),
std::make_pair(features.robustBufferAccess, "robustBufferAccess"),
std::make_pair(features.imageCubeArray, "imageCubeArray"),