Merge pull request #12153 from liamwhite/deck2
renderer_vulkan: exclude steam deck oled from force max clock setting
This commit is contained in:
commit
090ea0281c
|
@ -869,7 +869,8 @@ bool Device::ShouldBoostClocks() const {
|
||||||
driver_id == VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA ||
|
driver_id == VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA ||
|
||||||
driver_id == VK_DRIVER_ID_QUALCOMM_PROPRIETARY || driver_id == VK_DRIVER_ID_MESA_TURNIP;
|
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();
|
const bool is_debugging = this->HasDebuggingToolAttached();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue