Add additional checks when creating vulkan context
authorGreg Daniel <egdaniel@google.com>
Thu, 27 Apr 2017 16:57:59 +0000 (12:57 -0400)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Thu, 27 Apr 2017 17:40:40 +0000 (17:40 +0000)
commita41d48b739c144ee7b36290a9642064bc6cdcd05
treee1908e91729410df91ad1dcc1ce85ee0f5e1e7f7
parent13b7dc03dde5ed83f081861d94e88f3ec920e016
Add additional checks when creating vulkan context

Makes sure we get the phsyical devices and queues we expect

Bug: skia:
Change-Id: I13031caa8aa85d680a8e921bee3237d6b53cebf0
Reviewed-on: https://skia-review.googlesource.com/14523
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
src/gpu/vk/GrVkBackendContext.cpp