mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-29 06:46:22 -05:00
vulkan: disable turbo when debugging tool is attached
This commit is contained in:
parent
47938541c2
commit
4df49631de
1 changed files with 3 additions and 1 deletions
|
@ -617,7 +617,9 @@ bool Device::ShouldBoostClocks() const {
|
||||||
|
|
||||||
const bool is_steam_deck = vendor_id == 0x1002 && device_id == 0x163F;
|
const bool is_steam_deck = vendor_id == 0x1002 && device_id == 0x163F;
|
||||||
|
|
||||||
return validated_driver && !is_steam_deck;
|
const bool is_debugging = this->HasDebuggingToolAttached();
|
||||||
|
|
||||||
|
return validated_driver && !is_steam_deck && !is_debugging;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Device::GetSuitability(bool requires_swapchain) {
|
bool Device::GetSuitability(bool requires_swapchain) {
|
||||||
|
|
Loading…
Reference in a new issue