mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-14 08:12:16 +00:00
vk_instance: Enable robustImageAccess2 (#2922)
This commit is contained in:
parent
3a3a6d8e45
commit
6bbb424c28
1 changed files with 3 additions and 0 deletions
|
@ -261,6 +261,8 @@ bool Instance::CreateDevice() {
|
|||
robustness2_features = feature_chain.get<vk::PhysicalDeviceRobustness2FeaturesEXT>();
|
||||
LOG_INFO(Render_Vulkan, "- robustBufferAccess2: {}",
|
||||
robustness2_features.robustBufferAccess2);
|
||||
LOG_INFO(Render_Vulkan, "- robustImageAccess2: {}",
|
||||
robustness2_features.robustImageAccess2);
|
||||
LOG_INFO(Render_Vulkan, "- nullDescriptor: {}", robustness2_features.nullDescriptor);
|
||||
}
|
||||
custom_border_color = add_extension(VK_EXT_CUSTOM_BORDER_COLOR_EXTENSION_NAME);
|
||||
|
@ -395,6 +397,7 @@ bool Instance::CreateDevice() {
|
|||
},
|
||||
vk::PhysicalDeviceRobustness2FeaturesEXT{
|
||||
.robustBufferAccess2 = robustness2_features.robustBufferAccess2,
|
||||
.robustImageAccess2 = robustness2_features.robustImageAccess2,
|
||||
.nullDescriptor = robustness2_features.nullDescriptor,
|
||||
},
|
||||
vk::PhysicalDeviceVertexInputDynamicStateFeaturesEXT{
|
||||
|
|
Loading…
Add table
Reference in a new issue