Browse Source
Merge pull request #10144 from liamwhite/dont-turbo
vulkan: disable turbo when debugging tool is attached
pull/15/merge
Morph
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
1 deletions
-
src/video_core/vulkan_common/vulkan_device.cpp
|
|
@ -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) { |
|
|
|