Commit f421e0e3 by Zhenyao Mo Committed by Commit Bot

Make angle_deqp_gles*_tests use discrete GPU for test expectations.

Bug: chromium:1003030 TEST=bots R=kbr@chromium.org Change-Id: I1717f39f9573f0161fe19e63ce49ef4e618dc07f Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1799323 Commit-Queue: Zhenyao Mo <zmo@chromium.org> Reviewed-by: 's avatarKenneth Russell <kbr@chromium.org>
parent 790abf03
...@@ -323,6 +323,15 @@ inline bool GetGPUTestSystemInfo(SystemInfo **sysInfo) ...@@ -323,6 +323,15 @@ inline bool GetGPUTestSystemInfo(SystemInfo **sysInfo)
} }
else else
{ {
// On dual-GPU Macs we want the active GPU to always appear to be the
// high-performance GPU for tests.
// We can call the generic GPU info collector which selects the
// non-Intel GPU as the active one on dual-GPU machines.
// See https://anglebug.com/3701.
if (IsMac())
{
GetDualGPUInfo(sSystemInfo);
}
sPopulated = true; sPopulated = true;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment