1
0
Fork 0
forked from suyu/suyu

Merge pull request #10144 from liamwhite/dont-turbo

vulkan: disable turbo when debugging tool is attached
This commit is contained in:
Morph 2023-05-03 10:53:03 -04:00 committed by GitHub
commit 8dd3baa562
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -617,7 +617,9 @@ bool Device::ShouldBoostClocks() const {
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) {