diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2023-06-20 09:55:14 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-20 09:55:14 -0400 |
| commit | 93061d1ea1889d79455820ff55ad7d4e402ff01e (patch) | |
| tree | 136149ad79e7d0970b7cbc46158b6d772db3726b /src/video_core/vulkan_common/vulkan_device.cpp | |
| parent | 6d12e7320b14c8fa50fc584a3ed6d363a5d2a2fd (diff) | |
| parent | 78ff2862f6a0785247d3aa64bdc210b545e4d82d (diff) | |
Merge pull request #10835 from lat9nq/intel-restrict-compute-disable
vulkan_device: Restrict compute disable only to affected Intel drivers
Diffstat (limited to 'src/video_core/vulkan_common/vulkan_device.cpp')
| -rw-r--r-- | src/video_core/vulkan_common/vulkan_device.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp index dcedf4425..fa9cde75b 100644 --- a/src/video_core/vulkan_common/vulkan_device.cpp +++ b/src/video_core/vulkan_common/vulkan_device.cpp @@ -562,6 +562,9 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR LOG_WARNING(Render_Vulkan, "Intel proprietary drivers do not support MSAA image blits"); cant_blit_msaa = true; } + has_broken_compute = + CheckBrokenCompute(properties.driver.driverID, properties.properties.driverVersion) && + !Settings::values.enable_compute_pipelines.GetValue(); if (is_intel_anv || (is_qualcomm && !is_s8gen2)) { LOG_WARNING(Render_Vulkan, "Driver does not support native BGR format"); must_emulate_bgr565 = true; |
