mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-10 22:49:00 +01:00
Adding AmdPowerXpressRequestHighPerformance
Adding AmdPowerXpressRequestHighPerformance This will allow AMD drivers to detect the request to use the dGPU instead of the iGPU on compatible hybrid graphics systems. Reference: https://community.amd.com/thread/169965
This commit is contained in:
parent
7cab8b733f
commit
4e443ed857
@ -68,8 +68,11 @@ static VideoBackendBase* s_default_backend = nullptr;
|
|||||||
// Nvidia drivers >= v302 will check if the application exports a global
|
// Nvidia drivers >= v302 will check if the application exports a global
|
||||||
// variable named NvOptimusEnablement to know if it should run the app in high
|
// variable named NvOptimusEnablement to know if it should run the app in high
|
||||||
// performance graphics mode or using the IGP.
|
// performance graphics mode or using the IGP.
|
||||||
|
// AMD drivers >= 13.35 do the same, but for the variable
|
||||||
|
// named AmdPowerXpressRequestHighPerformance instead.
|
||||||
extern "C" {
|
extern "C" {
|
||||||
__declspec(dllexport) DWORD NvOptimusEnablement = 1;
|
__declspec(dllexport) DWORD NvOptimusEnablement = 1;
|
||||||
|
__declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user