diff options
| author | 2023-05-06 00:40:10 -0700 | |
|---|---|---|
| committer | 2023-06-03 00:06:00 -0700 | |
| commit | 8dc7fe0c968ef110d987dea75bad30817035372c (patch) | |
| tree | d4ddb7bd8f4b29bb92169512ed1a2e072edf8dbf /src/video_core/vulkan_common | |
| parent | android: Update progard to fix settings crash (diff) | |
| download | yuzu-8dc7fe0c968ef110d987dea75bad30817035372c.tar.gz yuzu-8dc7fe0c968ef110d987dea75bad30817035372c.tar.xz yuzu-8dc7fe0c968ef110d987dea75bad30817035372c.zip | |
android: video_core: Disable problematic compute shaders.
- Fixes #104.
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 3c9d11617..b692b4be4 100644 --- a/src/video_core/vulkan_common/vulkan_device.h +++ b/src/video_core/vulkan_common/vulkan_device.h | |||
| @@ -500,6 +500,10 @@ public: | |||
| 500 | } | 500 | } |
| 501 | 501 | ||
| 502 | bool HasTimelineSemaphore() const { | 502 | bool HasTimelineSemaphore() const { |
| 503 | if (GetDriverID() == VK_DRIVER_ID_QUALCOMM_PROPRIETARY) { | ||
| 504 | // Timeline semaphores do not work properly on all Qualcomm drivers. | ||
| 505 | return false; | ||
| 506 | } | ||
| 503 | return features.timeline_semaphore.timelineSemaphore; | 507 | return features.timeline_semaphore.timelineSemaphore; |
| 504 | } | 508 | } |
| 505 | 509 | ||