Merge pull request #12153 from liamwhite/deck2

renderer_vulkan: exclude steam deck oled from force max clock setting
This commit is contained in:
liamwhite 2023-11-25 10:17:18 -05:00 committed by GitHub
commit 090ea0281c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -869,7 +869,8 @@ bool Device::ShouldBoostClocks() const {
driver_id == VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA ||
driver_id == VK_DRIVER_ID_QUALCOMM_PROPRIETARY || driver_id == VK_DRIVER_ID_MESA_TURNIP;
const bool is_steam_deck = vendor_id == 0x1002 && device_id == 0x163F;
const bool is_steam_deck = (vendor_id == 0x1002 && device_id == 0x163F) ||
(vendor_id == 0x1002 && device_id == 0x1435);
const bool is_debugging = this->HasDebuggingToolAttached();