diff options
author | Liam <byteslice@airmail.cc> | 2023-11-19 17:27:12 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-11-19 17:27:12 +0100 |
commit | 473caaff5b02dc75404943dee6b12234995136d4 (patch) | |
tree | 9ffcc37eaf92051541ae5e159461506d520f22c6 /src/video_core/vulkan_common | |
parent | Merge pull request #12081 from FernandoS27/check-out-on-your-broke-crypto-friends (diff) | |
download | yuzu-473caaff5b02dc75404943dee6b12234995136d4.tar yuzu-473caaff5b02dc75404943dee6b12234995136d4.tar.gz yuzu-473caaff5b02dc75404943dee6b12234995136d4.tar.bz2 yuzu-473caaff5b02dc75404943dee6b12234995136d4.tar.lz yuzu-473caaff5b02dc75404943dee6b12234995136d4.tar.xz yuzu-473caaff5b02dc75404943dee6b12234995136d4.tar.zst yuzu-473caaff5b02dc75404943dee6b12234995136d4.zip |
Diffstat (limited to 'src/video_core/vulkan_common')
-rw-r--r-- | src/video_core/vulkan_common/vulkan_device.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.h b/src/video_core/vulkan_common/vulkan_device.h index 355de0616..4f3846345 100644 --- a/src/video_core/vulkan_common/vulkan_device.h +++ b/src/video_core/vulkan_common/vulkan_device.h @@ -669,6 +669,10 @@ public: return supports_conditional_barriers; } + bool SupportsMultiViewport() const { + return features2.features.multiViewport; + } + [[nodiscard]] static constexpr bool CheckBrokenCompute(VkDriverId driver_id, u32 driver_version) { if (driver_id == VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS) { |