Request AMD GPU on Enduro Devices
It seems AMD provides an equivalent to `NvOptimusEnablement` called `AmdPowerXpressRequestHighPerformance` See https://gpuopen.com/learn/amdpowerxpressrequesthighperformance/
This commit is contained in:
parent
ccf6ff2686
commit
0a99c667ef
@ -693,9 +693,10 @@ bool checkGLError()
|
||||
}
|
||||
|
||||
#ifdef WIN32
|
||||
// Tell system that it should use nvidia on optimus devices
|
||||
// Tell system that it should use nvidia on optimus devices and amd on enduro devices
|
||||
extern "C" {
|
||||
__declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
|
||||
__declspec(dllexport) DWORD AmdPowerXpressRequestHighPerformance = 0x00000001;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user