diff options
author | Matías Locatti <42481638+goldenx86@users.noreply.github.com> | 2023-06-12 21:50:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-12 21:50:59 +0200 |
commit | 42b2bc204f13966fd08af07dd08448bbefe14afa (patch) | |
tree | 5676f2516f33f855a02df13e89d401c8067fae21 /src/video_core/vulkan_common/vulkan_device.cpp | |
parent | Merge pull request #10693 from liamwhite/f64-to-f32 (diff) | |
parent | shader_recompiler: remove barriers in conditional control flow when device lacks support (diff) | |
download | yuzu-42b2bc204f13966fd08af07dd08448bbefe14afa.tar yuzu-42b2bc204f13966fd08af07dd08448bbefe14afa.tar.gz yuzu-42b2bc204f13966fd08af07dd08448bbefe14afa.tar.bz2 yuzu-42b2bc204f13966fd08af07dd08448bbefe14afa.tar.lz yuzu-42b2bc204f13966fd08af07dd08448bbefe14afa.tar.xz yuzu-42b2bc204f13966fd08af07dd08448bbefe14afa.tar.zst yuzu-42b2bc204f13966fd08af07dd08448bbefe14afa.zip |
Diffstat (limited to 'src/video_core/vulkan_common/vulkan_device.cpp')
-rw-r--r-- | src/video_core/vulkan_common/vulkan_device.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp index 0158b6b0d..a46f9beed 100644 --- a/src/video_core/vulkan_common/vulkan_device.cpp +++ b/src/video_core/vulkan_common/vulkan_device.cpp @@ -386,6 +386,8 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR IsFormatSupported(VK_FORMAT_D24_UNORM_S8_UINT, VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT, FormatType::Optimal); + supports_conditional_barriers = !(is_intel_anv || is_intel_windows); + CollectPhysicalMemoryInfo(); CollectToolingInfo(); |