diff options
| author | 2023-11-19 11:27:12 -0500 | |
|---|---|---|
| committer | 2023-11-19 11:27:12 -0500 | |
| commit | 473caaff5b02dc75404943dee6b12234995136d4 (patch) | |
| tree | 9ffcc37eaf92051541ae5e159461506d520f22c6 /src/video_core/vulkan_common | |
| parent | Merge pull request #12081 from FernandoS27/check-out-on-your-broke-crypto-fri... (diff) | |
| download | yuzu-473caaff5b02dc75404943dee6b12234995136d4.tar.gz yuzu-473caaff5b02dc75404943dee6b12234995136d4.tar.xz yuzu-473caaff5b02dc75404943dee6b12234995136d4.zip | |
renderer_vulkan: ignore viewport stores on non-supporting drivers
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: | |||
| 669 | return supports_conditional_barriers; | 669 | return supports_conditional_barriers; |
| 670 | } | 670 | } |
| 671 | 671 | ||
| 672 | bool SupportsMultiViewport() const { | ||
| 673 | return features2.features.multiViewport; | ||
| 674 | } | ||
| 675 | |||
| 672 | [[nodiscard]] static constexpr bool CheckBrokenCompute(VkDriverId driver_id, | 676 | [[nodiscard]] static constexpr bool CheckBrokenCompute(VkDriverId driver_id, |
| 673 | u32 driver_version) { | 677 | u32 driver_version) { |
| 674 | if (driver_id == VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS) { | 678 | if (driver_id == VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS) { |