Commit 05bd1896 by Le Quyen Committed by Commit Bot

Report Metal as unavailable

Metal backend is not ready yet, so report as unavailable to avoid DisplayMtl being created by frontend. Bug: angleproject:2634 Change-Id: Ia45977cede01f62347967eefe661b63bef3575e5 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1865736 Commit-Queue: Jamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
parent f483d4ee
...@@ -22,11 +22,7 @@ namespace rx ...@@ -22,11 +22,7 @@ namespace rx
bool DisplayMtl::IsMetalAvailable() bool DisplayMtl::IsMetalAvailable()
{ {
// We only support macos 10.13+ and iOS 11 for now. Since they are requirements for Metal 2.0. UNIMPLEMENTED();
if (@available(macOS 10.13, iOS 11, *))
{
return true;
}
return false; return false;
} }
......
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