diff options
| author | 2023-11-25 10:17:18 -0500 | |
|---|---|---|
| committer | 2023-11-25 10:17:18 -0500 | |
| commit | 090ea0281c34bd8d4932c9dc7ef24da5e9e35759 (patch) | |
| tree | 913e5fb55fe6d540f0bd774db92efb22e83d66bf /src | |
| parent | Merge pull request #12151 from german77/no-crash (diff) | |
| parent | renderer_vulkan: exclude steam deck oled from force max clock setting (diff) | |
| download | yuzu-090ea0281c34bd8d4932c9dc7ef24da5e9e35759.tar.gz yuzu-090ea0281c34bd8d4932c9dc7ef24da5e9e35759.tar.xz yuzu-090ea0281c34bd8d4932c9dc7ef24da5e9e35759.zip | |
Merge pull request #12153 from liamwhite/deck2
renderer_vulkan: exclude steam deck oled from force max clock setting
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/vulkan_common/vulkan_device.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp index 6900b8ffa..fde36a49c 100644 --- a/src/video_core/vulkan_common/vulkan_device.cpp +++ b/src/video_core/vulkan_common/vulkan_device.cpp | |||
| @@ -869,7 +869,8 @@ bool Device::ShouldBoostClocks() const { | |||
| 869 | driver_id == VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA || | 869 | driver_id == VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA || |
| 870 | driver_id == VK_DRIVER_ID_QUALCOMM_PROPRIETARY || driver_id == VK_DRIVER_ID_MESA_TURNIP; | 870 | driver_id == VK_DRIVER_ID_QUALCOMM_PROPRIETARY || driver_id == VK_DRIVER_ID_MESA_TURNIP; |
| 871 | 871 | ||
| 872 | const bool is_steam_deck = vendor_id == 0x1002 && device_id == 0x163F; | 872 | const bool is_steam_deck = (vendor_id == 0x1002 && device_id == 0x163F) || |
| 873 | (vendor_id == 0x1002 && device_id == 0x1435); | ||
| 873 | 874 | ||
| 874 | const bool is_debugging = this->HasDebuggingToolAttached(); | 875 | const bool is_debugging = this->HasDebuggingToolAttached(); |
| 875 | 876 | ||