Browse Source
Merge pull request #6181 from Joshua-Ashton/robustness_features
vulkan_device: Enable EXT_robustness2 features
pull/15/merge
Rodrigo Locatti
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
9 additions and
0 deletions
-
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, |
|
|
|
|