Vulkan: fix crash with remote desktop environment
For remote desktop environment, vkEnumeratePhysicalDevices() will fail to get any available GPU. In this case, we should fallback to GL instead of continuing using Vulkan. Bug: 1062696 Change-Id: I610a62364cb7ca9120451edfec1ef3f97f0a8d53 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2110080 Commit-Queue: Peng Huang <penghuang@chromium.org> Reviewed-by:Vasiliy Telezhnikov <vasilyt@chromium.org> Cr-Commit-Position: refs/heads/master@{#751771}
Showing
Please register or sign in to comment